/linux-4.19.296/block/ |
D | elevator.c | 52 #define rq_hash_key(rq) (blk_rq_pos(rq) + blk_rq_sectors(rq)) argument 58 static int elv_iosched_allow_bio_merge(struct request *rq, struct bio *bio) in elv_iosched_allow_bio_merge() 74 bool elv_bio_merge_ok(struct request *rq, struct bio *bio) in elv_bio_merge_ok() 255 static inline void __elv_rqhash_del(struct request *rq) in __elv_rqhash_del() 261 void elv_rqhash_del(struct request_queue *q, struct request *rq) in elv_rqhash_del() 268 void elv_rqhash_add(struct request_queue *q, struct request *rq) in elv_rqhash_add() 278 void elv_rqhash_reposition(struct request_queue *q, struct request *rq) in elv_rqhash_reposition() 288 struct request *rq; in elv_rqhash_find() local 309 void elv_rb_add(struct rb_root *root, struct request *rq) in elv_rb_add() 330 void elv_rb_del(struct rb_root *root, struct request *rq) in elv_rb_del() [all …]
|
D | deadline-iosched.c | 54 deadline_rb_root(struct deadline_data *dd, struct request *rq) in deadline_rb_root() 63 deadline_latter_request(struct request *rq) in deadline_latter_request() 74 deadline_add_rq_rb(struct deadline_data *dd, struct request *rq) in deadline_add_rq_rb() 82 deadline_del_rq_rb(struct deadline_data *dd, struct request *rq) in deadline_del_rq_rb() 96 deadline_add_request(struct request_queue *q, struct request *rq) in deadline_add_request() 119 static void deadline_remove_request(struct request_queue *q, struct request *rq) in deadline_remove_request() 193 deadline_move_to_dispatch(struct deadline_data *dd, struct request *rq) in deadline_move_to_dispatch() 211 deadline_move_request(struct deadline_data *dd, struct request *rq) in deadline_move_request() 232 struct request *rq = rq_entry_fifo(dd->fifo_list[ddir].next); in deadline_check_fifo() local 250 struct request *rq; in deadline_fifo_request() local [all …]
|
D | blk-flush.c | 99 static unsigned int blk_flush_policy(unsigned long fflags, struct request *rq) in blk_flush_policy() 116 static unsigned int blk_flush_cur_seq(struct request *rq) in blk_flush_cur_seq() 121 static void blk_flush_restore_request(struct request *rq) in blk_flush_restore_request() 135 static bool blk_flush_queue_rq(struct request *rq, bool add_front) in blk_flush_queue_rq() 165 static bool blk_flush_complete_seq(struct request *rq, in blk_flush_complete_seq() 226 struct request *rq, *n; in flush_end_io() local 373 static void flush_data_end_io(struct request *rq, blk_status_t error) in flush_data_end_io() 416 static void mq_flush_data_end_io(struct request *rq, blk_status_t error) in mq_flush_data_end_io() 451 void blk_insert_flush(struct request *rq) in blk_insert_flush()
|
D | blk-mq.c | 44 static int blk_mq_poll_stats_bkt(const struct request *rq) in blk_mq_poll_stats_bkt() 93 struct request *rq, void *priv, in blk_mq_check_inflight() 119 struct request *rq, void *priv, in blk_mq_check_inflight_rw() 281 struct request *rq = tags->static_rqs[tag]; in blk_mq_rq_ctx_init() local 344 struct request *rq; in blk_mq_get_request() local 403 struct request *rq; in blk_mq_alloc_request() local 429 struct request *rq; in blk_mq_alloc_request_hctx() local 471 static void __blk_mq_free_request(struct request *rq) in __blk_mq_free_request() 486 void blk_mq_free_request(struct request *rq) in blk_mq_free_request() 520 inline void __blk_mq_end_request(struct request *rq, blk_status_t error) in __blk_mq_end_request() [all …]
|
D | mq-deadline.c | 67 deadline_rb_root(struct deadline_data *dd, struct request *rq) in deadline_rb_root() 76 deadline_latter_request(struct request *rq) in deadline_latter_request() 87 deadline_add_rq_rb(struct deadline_data *dd, struct request *rq) in deadline_add_rq_rb() 95 deadline_del_rq_rb(struct deadline_data *dd, struct request *rq) in deadline_del_rq_rb() 108 static void deadline_remove_request(struct request_queue *q, struct request *rq) in deadline_remove_request() 164 deadline_move_request(struct deadline_data *dd, struct request *rq) in deadline_move_request() 184 struct request *rq = rq_entry_fifo(dd->fifo_list[ddir].next); in deadline_check_fifo() local 202 struct request *rq; in deadline_fifo_request() local 238 struct request *rq; in deadline_next_request() local 272 struct request *rq, *next_rq; in __dd_dispatch_request() local [all …]
|
D | noop-iosched.c | 15 static void noop_merged_requests(struct request_queue *q, struct request *rq, in noop_merged_requests() 24 struct request *rq; in noop_dispatch() local 35 static void noop_add_request(struct request_queue *q, struct request *rq) in noop_add_request() 43 noop_former_request(struct request_queue *q, struct request *rq) in noop_former_request() 53 noop_latter_request(struct request_queue *q, struct request *rq) in noop_latter_request()
|
D | blk-core.c | 186 void blk_rq_init(struct request_queue *q, struct request *rq) in blk_rq_init() 265 static void req_bio_endio(struct request *rq, struct bio *bio, in req_bio_endio() 281 void blk_dump_rq_flags(struct request *rq, char *msg) in blk_dump_rq_flags() 852 struct request *rq; in alloc_request_size() local 1219 static inline void blk_free_request(struct request_list *rl, struct request *rq) in blk_free_request() 1361 struct request *rq; in __get_request() local 1545 struct request *rq; in get_request() local 1592 struct request *rq; in blk_old_get_request() local 1657 void blk_requeue_request(struct request_queue *q, struct request *rq) in blk_requeue_request() 1676 static void add_acct_request(struct request_queue *q, struct request *rq, in add_acct_request() [all …]
|
D | blk-mq-sched.h | 42 blk_mq_sched_allow_merge(struct request_queue *q, struct request *rq, in blk_mq_sched_allow_merge() 53 static inline void blk_mq_sched_completed_request(struct request *rq) in blk_mq_sched_completed_request() 61 static inline void blk_mq_sched_started_request(struct request *rq) in blk_mq_sched_started_request() 70 static inline void blk_mq_sched_requeue_request(struct request *rq) in blk_mq_sched_requeue_request()
|
D | blk-mq-sched.c | 34 void blk_mq_sched_assign_ioc(struct request *rq, struct bio *bio) in blk_mq_sched_assign_ioc() 95 struct request *rq; in blk_mq_do_dispatch_sched() local 142 struct request *rq; in blk_mq_do_dispatch_ctx() local 230 struct request *rq; in blk_mq_sched_try_merge() local 266 struct request *rq; in blk_mq_bio_list_merge() local 343 bool blk_mq_sched_try_insert_merge(struct request_queue *q, struct request *rq) in blk_mq_sched_try_insert_merge() 349 void blk_mq_sched_request_inserted(struct request *rq) in blk_mq_sched_request_inserted() 357 struct request *rq) in blk_mq_sched_bypass_insert() 373 void blk_mq_sched_insert_request(struct request *rq, bool at_head, in blk_mq_sched_insert_request()
|
D | blk.h | 204 static inline int blk_mark_rq_complete(struct request *rq) in blk_mark_rq_complete() 209 static inline void blk_clear_rq_complete(struct request *rq) in blk_clear_rq_complete() 214 static inline bool blk_rq_is_complete(struct request *rq) in blk_rq_is_complete() 222 #define ELV_ON_HASH(rq) ((rq)->rq_flags & RQF_HASHED) argument 226 static inline void elv_activate_rq(struct request_queue *q, struct request *rq) in elv_activate_rq() 234 static inline void elv_deactivate_rq(struct request_queue *q, struct request *rq) in elv_deactivate_rq() 309 static inline bool blk_do_io_stat(struct request *rq) in blk_do_io_stat() 328 static inline void blk_rq_set_deadline(struct request *rq, unsigned long time) in blk_rq_set_deadline() 333 static inline unsigned long blk_rq_deadline(struct request *rq) in blk_rq_deadline() 417 static inline void blk_throtl_stat_add(struct request *rq, u64 time) { } in blk_throtl_stat_add()
|
D | blk-softirq.c | 33 struct request *rq; in blk_done_softirq() local 44 struct request *rq = data; in trigger_softirq() local 61 static int raise_blk_irq(int cpu, struct request *rq) in raise_blk_irq() 77 static int raise_blk_irq(int cpu, struct request *rq) in raise_blk_irq()
|
D | blk-exec.c | 19 static void blk_end_sync_rq(struct request *rq, blk_status_t error) in blk_end_sync_rq() 48 struct request *rq, int at_head, in blk_execute_rq_nowait() 95 struct request *rq, int at_head) in blk_execute_rq()
|
D | blk-map.c | 18 int blk_rq_append_bio(struct request *rq, struct bio **bio) in blk_rq_append_bio() 58 static int __blk_rq_map_user_iov(struct request *rq, in __blk_rq_map_user_iov() 114 int blk_rq_map_user_iov(struct request_queue *q, struct request *rq, in blk_rq_map_user_iov() 155 int blk_rq_map_user(struct request_queue *q, struct request *rq, in blk_rq_map_user() 215 int blk_rq_map_kern(struct request_queue *q, struct request *rq, void *kbuf, in blk_rq_map_kern()
|
D | bsg-lib.c | 44 static int bsg_transport_fill_hdr(struct request *rq, struct sg_io_v4 *hdr, in bsg_transport_fill_hdr() 55 static int bsg_transport_complete_rq(struct request *rq, struct sg_io_v4 *hdr) in bsg_transport_complete_rq() 104 static void bsg_transport_free_rq(struct request *rq) in bsg_transport_free_rq() 125 struct request *rq = blk_mq_rq_from_pdu(job); in bsg_teardown_job() local 168 static void bsg_softirq_done(struct request *rq) in bsg_softirq_done()
|
D | blk-rq-qos.c | 40 void rq_qos_done(struct request_queue *q, struct request *rq) in rq_qos_done() 50 void rq_qos_issue(struct request_queue *q, struct request *rq) in rq_qos_issue() 60 void rq_qos_requeue(struct request_queue *q, struct request *rq) in rq_qos_requeue() 81 void rq_qos_track(struct request_queue *q, struct request *rq, struct bio *bio) in rq_qos_track()
|
D | bsg.c | 72 static int bsg_scsi_fill_hdr(struct request *rq, struct sg_io_v4 *hdr, in bsg_scsi_fill_hdr() 91 static int bsg_scsi_complete_rq(struct request *rq, struct sg_io_v4 *hdr) in bsg_scsi_complete_rq() 129 static void bsg_scsi_free_rq(struct request *rq) in bsg_scsi_free_rq() 144 struct request *rq, *next_rq = NULL; in bsg_map_hdr() local 217 static int blk_complete_sgv4_hdr_rq(struct request *rq, struct sg_io_v4 *hdr, in blk_complete_sgv4_hdr_rq() 274 struct request_queue *rq, in bsg_add_device() 408 struct request *rq; in bsg_ioctl() local
|
D | blk-wbt.c | 33 static inline void wbt_clear_state(struct request *rq) in wbt_clear_state() 38 static inline enum wbt_flags wbt_flags(struct request *rq) in wbt_flags() 43 static inline bool wbt_is_tracked(struct request *rq) in wbt_is_tracked() 48 static inline bool wbt_is_read(struct request *rq) in wbt_is_read() 185 static void wbt_done(struct rq_qos *rqos, struct request *rq) in wbt_done() 648 static void wbt_track(struct rq_qos *rqos, struct request *rq, struct bio *bio) in wbt_track() 654 void wbt_issue(struct rq_qos *rqos, struct request *rq) in wbt_issue() 674 void wbt_requeue(struct rq_qos *rqos, struct request *rq) in wbt_requeue() 737 static int wbt_data_dir(const struct request *rq) in wbt_data_dir()
|
D | blk-merge.c | 303 void blk_recalc_rq_segments(struct request *rq) in blk_recalc_rq_segments() 433 int blk_rq_map_sg(struct request_queue *q, struct request *rq, in blk_rq_map_sg() 637 void blk_rq_set_mixed_merge(struct request *rq) in blk_rq_set_mixed_merge() 799 struct request *attempt_back_merge(struct request_queue *q, struct request *rq) in attempt_back_merge() 809 struct request *attempt_front_merge(struct request_queue *q, struct request *rq) in attempt_front_merge() 819 int blk_attempt_req_merge(struct request_queue *q, struct request *rq, in blk_attempt_req_merge() 838 bool blk_rq_merge_ok(struct request *rq, struct bio *bio) in blk_rq_merge_ok() 877 enum elv_merge blk_try_merge(struct request *rq, struct bio *bio) in blk_try_merge()
|
D | bfq-iosched.c | 361 #define RQ_BIC(rq) icq_to_bic((rq)->elv.priv[0]) argument 362 #define RQ_BFQQ(rq) ((rq)->elv.priv[1]) argument 840 struct request *rq; in bfq_check_fifo() local 884 static unsigned long bfq_serv_to_charge(struct request *rq, in bfq_serv_to_charge() 1559 struct request *rq, in bfq_bfqq_handle_idle_busy_switch() 1680 static void bfq_add_request(struct request *rq) in bfq_add_request() 1769 static sector_t get_sdist(sector_t last_pos, struct request *rq) in get_sdist() 1794 struct request *rq) in bfq_remove_request() 1953 static void bfq_requests_merged(struct request_queue *q, struct request *rq, in bfq_requests_merged() 2385 static bool bfq_allow_bio_merge(struct request_queue *q, struct request *rq, in bfq_allow_bio_merge() [all …]
|
D | blk-mq.h | 97 static inline enum mq_rq_state blk_mq_rq_state(struct request *rq) in blk_mq_rq_state() 176 struct request *rq) in __blk_mq_put_driver_tag() 188 struct request *rq) in blk_mq_put_driver_tag_hctx() 196 static inline void blk_mq_put_driver_tag(struct request *rq) in blk_mq_put_driver_tag()
|
D | kyber-iosched.c | 300 static int kyber_bucket_fn(const struct request *rq) in kyber_bucket_fn() 472 static int rq_get_domain_token(struct request *rq) in rq_get_domain_token() 477 static void rq_set_domain_token(struct request *rq, int token) in rq_set_domain_token() 483 struct request *rq) in rq_clear_domain_token() 526 static void kyber_prepare_request(struct request *rq, struct bio *bio) in kyber_prepare_request() 535 struct request *rq, *next; in kyber_insert_requests() local 554 static void kyber_finish_request(struct request *rq) in kyber_finish_request() 561 static void kyber_completed_request(struct request *rq) in kyber_completed_request() 695 struct request *rq; in kyber_dispatch_cur_domain() local 737 struct request *rq; in kyber_dispatch_request() local
|
/linux-4.19.296/drivers/s390/char/ |
D | fs3270.c | 48 fs3270_wake_up(struct raw3270_request *rq, void *data) in fs3270_wake_up() 64 fs3270_do_io(struct raw3270_view *view, struct raw3270_request *rq) in fs3270_do_io() 94 fs3270_reset_callback(struct raw3270_request *rq, void *data) in fs3270_reset_callback() 104 fs3270_restore_callback(struct raw3270_request *rq, void *data) in fs3270_restore_callback() 164 fs3270_save_callback(struct raw3270_request *rq, void *data) in fs3270_save_callback() 222 fs3270_irq(struct fs3270 *fp, struct raw3270_request *rq, struct irb *irb) in fs3270_irq() 246 struct raw3270_request *rq; in fs3270_read() local 291 struct raw3270_request *rq; in fs3270_write() local
|
D | raw3270.c | 139 struct raw3270_request *rq; in raw3270_request_alloc() local 170 raw3270_request_free (struct raw3270_request *rq) in raw3270_request_free() 180 raw3270_request_reset(struct raw3270_request *rq) in raw3270_request_reset() 195 raw3270_request_set_cmd(struct raw3270_request *rq, u8 cmd) in raw3270_request_set_cmd() 204 raw3270_request_add_data(struct raw3270_request *rq, void *data, size_t size) in raw3270_request_add_data() 217 raw3270_request_set_data(struct raw3270_request *rq, void *data, size_t size) in raw3270_request_set_data() 227 raw3270_request_set_idal(struct raw3270_request *rq, struct idal_buffer *ib) in raw3270_request_set_idal() 240 struct raw3270_request *rq) in __raw3270_start() 268 raw3270_start(struct raw3270_view *view, struct raw3270_request *rq) in raw3270_start() 288 raw3270_start_locked(struct raw3270_view *view, struct raw3270_request *rq) in raw3270_start_locked() [all …]
|
/linux-4.19.296/include/linux/ |
D | t10-pi.h | 40 static inline u32 t10_pi_ref_tag(struct request *rq) in t10_pi_ref_tag() 61 static inline void t10_pi_complete(struct request *rq, u8 protection_type, in t10_pi_complete() 65 static inline void t10_pi_prepare(struct request *rq, u8 protection_type) in t10_pi_prepare()
|
D | blkdev.h | 291 static inline bool blk_rq_is_scsi(struct request *rq) in blk_rq_is_scsi() 296 static inline bool blk_rq_is_private(struct request *rq) in blk_rq_is_private() 301 static inline bool blk_rq_is_passthrough(struct request *rq) in blk_rq_is_passthrough() 749 #define blk_noretry_request(rq) \ argument 765 static inline bool blk_account_rq(struct request *rq) in blk_account_rq() 770 #define blk_rq_cpu_valid(rq) ((rq)->cpu != -1) argument 771 #define blk_bidi_rq(rq) ((rq)->next_rq != NULL) argument 773 #define blk_queued_rq(rq) (!list_empty(&(rq)->queuelist)) argument 777 #define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ) argument 833 static inline bool rq_is_sync(struct request *rq) in rq_is_sync() [all …]
|