/linux-4.19.296/block/ |
D | blk-settings.c | 34 void blk_queue_prep_rq(struct request_queue *q, prep_rq_fn *pfn) in blk_queue_prep_rq() 51 void blk_queue_unprep_rq(struct request_queue *q, unprep_rq_fn *ufn) in blk_queue_unprep_rq() 57 void blk_queue_softirq_done(struct request_queue *q, softirq_done_fn *fn) in blk_queue_softirq_done() 63 void blk_queue_rq_timeout(struct request_queue *q, unsigned int timeout) in blk_queue_rq_timeout() 69 void blk_queue_rq_timed_out(struct request_queue *q, rq_timed_out_fn *fn) in blk_queue_rq_timed_out() 76 void blk_queue_lld_busy(struct request_queue *q, lld_busy_fn *fn) in blk_queue_lld_busy() 163 void blk_queue_make_request(struct request_queue *q, make_request_fn *mfn) in blk_queue_make_request() 190 void blk_queue_bounce_limit(struct request_queue *q, u64 max_addr) in blk_queue_bounce_limit() 237 void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_hw_sectors) in blk_queue_max_hw_sectors() 269 void blk_queue_chunk_sectors(struct request_queue *q, unsigned int chunk_sectors) in blk_queue_chunk_sectors() [all …]
|
D | blk-sysfs.c | 60 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show() 66 queue_requests_store(struct request_queue *q, const char *page, size_t count) in queue_requests_store() 92 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show() 101 queue_ra_store(struct request_queue *q, const char *page, size_t count) in queue_ra_store() 114 static ssize_t queue_max_sectors_show(struct request_queue *q, char *page) in queue_max_sectors_show() 121 static ssize_t queue_max_segments_show(struct request_queue *q, char *page) in queue_max_segments_show() 126 static ssize_t queue_max_discard_segments_show(struct request_queue *q, in queue_max_discard_segments_show() 132 static ssize_t queue_max_integrity_segments_show(struct request_queue *q, char *page) in queue_max_integrity_segments_show() 137 static ssize_t queue_max_segment_size_show(struct request_queue *q, char *page) in queue_max_segment_size_show() 145 static ssize_t queue_logical_block_size_show(struct request_queue *q, char *page) in queue_logical_block_size_show() [all …]
|
D | blk.h | 52 static inline void queue_lockdep_assert_held(struct request_queue *q) in queue_lockdep_assert_held() 59 struct request_queue *q) in queue_flag_set_unlocked() 68 struct request_queue *q) in queue_flag_clear_unlocked() 77 struct request_queue *q) in queue_flag_test_and_clear() 90 struct request_queue *q) in queue_flag_test_and_set() 102 static inline void queue_flag_set(unsigned int flag, struct request_queue *q) in queue_flag_set() 108 static inline void queue_flag_clear(unsigned int flag, struct request_queue *q) in queue_flag_clear() 115 struct request_queue *q, struct blk_mq_ctx *ctx) in blk_get_flush_queue() 122 static inline void __blk_get_queue(struct request_queue *q) in __blk_get_queue() 148 static inline void blk_queue_enter_live(struct request_queue *q) in blk_queue_enter_live() [all …]
|
D | elevator.c | 60 struct request_queue *q = rq->q; in elv_iosched_allow_bio_merge() local 116 static struct elevator_type *elevator_get(struct request_queue *q, in elevator_get() 174 struct elevator_queue *elevator_alloc(struct request_queue *q, in elevator_alloc() 207 int elevator_init(struct request_queue *q) in elevator_init() 243 void elevator_exit(struct request_queue *q, struct elevator_queue *e) in elevator_exit() 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() 284 struct request *elv_rqhash_find(struct request_queue *q, sector_t offset) in elv_rqhash_find() 363 void elv_dispatch_sort(struct request_queue *q, struct request *rq) in elv_dispatch_sort() [all …]
|
D | blk-core.c | 79 void blk_queue_flag_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_set() 94 void blk_queue_flag_clear(unsigned int flag, struct request_queue *q) in blk_queue_flag_clear() 112 bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_test_and_set() 133 bool blk_queue_flag_test_and_clear(unsigned int flag, struct request_queue *q) in blk_queue_flag_test_and_clear() 171 void blk_queue_congestion_threshold(struct request_queue *q) in blk_queue_congestion_threshold() 186 void blk_rq_init(struct request_queue *q, struct request *rq) in blk_rq_init() 297 struct request_queue *q; in blk_delay_work() local 315 void blk_delay_queue(struct request_queue *q, unsigned long msecs) in blk_delay_queue() 335 void blk_start_queue_async(struct request_queue *q) in blk_start_queue_async() 354 void blk_start_queue(struct request_queue *q) in blk_start_queue() [all …]
|
D | blk-mq-sched.c | 19 void blk_mq_sched_free_hctx_data(struct request_queue *q, in blk_mq_sched_free_hctx_data() 36 struct request_queue *q = rq->q; in blk_mq_sched_assign_ioc() local 90 struct request_queue *q = hctx->queue; in blk_mq_do_dispatch_sched() local 137 struct request_queue *q = hctx->queue; in blk_mq_do_dispatch_ctx() local 173 struct request_queue *q = hctx->queue; in blk_mq_sched_dispatch_requests() local 227 bool blk_mq_sched_try_merge(struct request_queue *q, struct bio *bio, in blk_mq_sched_try_merge() 263 bool blk_mq_bio_list_merge(struct request_queue *q, struct list_head *list, in blk_mq_bio_list_merge() 306 static bool blk_mq_attempt_merge(struct request_queue *q, in blk_mq_attempt_merge() 319 bool __blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio) in __blk_mq_sched_bio_merge() 343 bool blk_mq_sched_try_insert_merge(struct request_queue *q, struct request *rq) in blk_mq_sched_try_insert_merge() [all …]
|
D | blk-merge.c | 17 static struct bio *blk_bio_discard_split(struct request_queue *q, in blk_bio_discard_split() 61 static struct bio *blk_bio_write_zeroes_split(struct request_queue *q, in blk_bio_write_zeroes_split() 75 static struct bio *blk_bio_write_same_split(struct request_queue *q, in blk_bio_write_same_split() 91 static inline unsigned get_max_io_size(struct request_queue *q, in get_max_io_size() 103 static struct bio *blk_bio_segment_split(struct request_queue *q, in blk_bio_segment_split() 186 void blk_queue_split(struct request_queue *q, struct bio **bio) in blk_queue_split() 234 static unsigned int __blk_recalc_rq_segments(struct request_queue *q, in __blk_recalc_rq_segments() 312 void blk_recount_segments(struct request_queue *q, struct bio *bio) in blk_recount_segments() 331 static int blk_phys_contig_segment(struct request_queue *q, struct bio *bio, in blk_phys_contig_segment() 363 __blk_segment_map_sg(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg() [all …]
|
D | blk-mq-debugfs.h | 35 static inline int blk_mq_debugfs_register(struct request_queue *q) in blk_mq_debugfs_register() 40 static inline void blk_mq_debugfs_unregister(struct request_queue *q) in blk_mq_debugfs_unregister() 44 static inline int blk_mq_debugfs_register_hctx(struct request_queue *q, in blk_mq_debugfs_register_hctx() 54 static inline int blk_mq_debugfs_register_hctxs(struct request_queue *q) in blk_mq_debugfs_register_hctxs() 59 static inline void blk_mq_debugfs_unregister_hctxs(struct request_queue *q) in blk_mq_debugfs_unregister_hctxs() 63 static inline int blk_mq_debugfs_register_sched(struct request_queue *q) in blk_mq_debugfs_register_sched() 68 static inline void blk_mq_debugfs_unregister_sched(struct request_queue *q) in blk_mq_debugfs_unregister_sched() 72 static inline int blk_mq_debugfs_register_sched_hctx(struct request_queue *q, in blk_mq_debugfs_register_sched_hctx()
|
D | blk-tag.c | 24 struct request *blk_queue_find_tag(struct request_queue *q, int tag) in blk_queue_find_tag() 62 void __blk_queue_free_tags(struct request_queue *q) in __blk_queue_free_tags() 83 void blk_queue_free_tags(struct request_queue *q) in blk_queue_free_tags() 90 init_tag_map(struct request_queue *q, struct blk_queue_tag *tags, int depth) in init_tag_map() 122 static struct blk_queue_tag *__blk_queue_init_tags(struct request_queue *q, in __blk_queue_init_tags() 164 int blk_queue_init_tags(struct request_queue *q, int depth, in blk_queue_init_tags() 203 int blk_queue_resize_tags(struct request_queue *q, int new_depth) in blk_queue_resize_tags() 262 void blk_queue_end_tag(struct request_queue *q, struct request *rq) in blk_queue_end_tag() 309 int blk_queue_start_tag(struct request_queue *q, struct request *rq) in blk_queue_start_tag()
|
D | blk-mq.c | 109 void blk_mq_in_flight(struct request_queue *q, struct hd_struct *part, in blk_mq_in_flight() 128 void blk_mq_in_flight_rw(struct request_queue *q, struct hd_struct *part, in blk_mq_in_flight_rw() 137 void blk_freeze_queue_start(struct request_queue *q) in blk_freeze_queue_start() 150 void blk_mq_freeze_queue_wait(struct request_queue *q) in blk_mq_freeze_queue_wait() 156 int blk_mq_freeze_queue_wait_timeout(struct request_queue *q, in blk_mq_freeze_queue_wait_timeout() 169 void blk_freeze_queue(struct request_queue *q) in blk_freeze_queue() 184 void blk_mq_freeze_queue(struct request_queue *q) in blk_mq_freeze_queue() 194 void blk_mq_unfreeze_queue(struct request_queue *q) in blk_mq_unfreeze_queue() 211 void blk_mq_quiesce_queue_nowait(struct request_queue *q) in blk_mq_quiesce_queue_nowait() 226 void blk_mq_quiesce_queue(struct request_queue *q) in blk_mq_quiesce_queue() [all …]
|
D | blk-rq-qos.c | 30 void rq_qos_cleanup(struct request_queue *q, struct bio *bio) in rq_qos_cleanup() 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() 70 void rq_qos_throttle(struct request_queue *q, struct bio *bio, in rq_qos_throttle() 81 void rq_qos_track(struct request_queue *q, struct request *rq, struct bio *bio) in rq_qos_track() 91 void rq_qos_done_bio(struct request_queue *q, struct bio *bio) in rq_qos_done_bio() 191 void rq_qos_exit(struct request_queue *q) in rq_qos_exit()
|
D | scsi_ioctl.c | 60 static int scsi_get_idlun(struct request_queue *q, int __user *p) in scsi_get_idlun() 65 static int scsi_get_bus(struct request_queue *q, int __user *p) in scsi_get_bus() 70 static int sg_get_timeout(struct request_queue *q) in sg_get_timeout() 75 static int sg_set_timeout(struct request_queue *q, int __user *p) in sg_set_timeout() 85 static int max_sectors_bytes(struct request_queue *q) in max_sectors_bytes() 94 static int sg_get_reserved_size(struct request_queue *q, int __user *p) in sg_get_reserved_size() 101 static int sg_set_reserved_size(struct request_queue *q, int __user *p) in sg_set_reserved_size() 119 static int sg_emulated_host(struct request_queue *q, int __user *p) in sg_emulated_host() 230 static int blk_fill_sghdr_rq(struct request_queue *q, struct request *rq, in blk_fill_sghdr_rq() 292 static int sg_io(struct request_queue *q, struct gendisk *bd_disk, in sg_io() [all …]
|
D | noop-iosched.c | 15 static void noop_merged_requests(struct request_queue *q, struct request *rq, in noop_merged_requests() 21 static int noop_dispatch(struct request_queue *q, int force) in noop_dispatch() 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() 62 static int noop_init_queue(struct request_queue *q, struct elevator_type *e) in noop_init_queue()
|
D | blk-wbt.h | 109 static inline int wbt_init(struct request_queue *q) in wbt_init() 113 static inline void wbt_update_limits(struct request_queue *q) in wbt_update_limits() 116 static inline void wbt_disable_default(struct request_queue *q) in wbt_disable_default() 119 static inline void wbt_enable_default(struct request_queue *q) in wbt_enable_default() 122 static inline void wbt_set_queue_depth(struct request_queue *q, unsigned int depth) in wbt_set_queue_depth() 125 static inline void wbt_set_write_cache(struct request_queue *q, bool wc) in wbt_set_write_cache() 128 static inline u64 wbt_get_min_lat(struct request_queue *q) in wbt_get_min_lat() 132 static inline void wbt_set_min_lat(struct request_queue *q, u64 val) in wbt_set_min_lat() 135 static inline u64 wbt_default_latency_nsec(struct request_queue *q) in wbt_default_latency_nsec()
|
D | blk-mq-sysfs.c | 52 struct request_queue *q; in blk_mq_sysfs_show() local 75 struct request_queue *q; in blk_mq_sysfs_store() local 98 struct request_queue *q; in blk_mq_hw_sysfs_show() local 122 struct request_queue *q; in blk_mq_hw_sysfs_store() local 242 struct request_queue *q = hctx->queue; in blk_mq_register_hctx() local 269 void blk_mq_unregister_dev(struct device *dev, struct request_queue *q) in blk_mq_unregister_dev() 291 void blk_mq_sysfs_deinit(struct request_queue *q) in blk_mq_sysfs_deinit() 303 void blk_mq_sysfs_init(struct request_queue *q) in blk_mq_sysfs_init() 316 int __blk_mq_register_dev(struct device *dev, struct request_queue *q) in __blk_mq_register_dev() 351 int blk_mq_register_dev(struct device *dev, struct request_queue *q) in blk_mq_register_dev() [all …]
|
D | blk-flush.c | 169 struct request_queue *q = rq->q; in blk_flush_complete_seq() local 223 struct request_queue *q = flush_rq->q; in flush_end_io() local 309 static bool blk_kick_flush(struct request_queue *q, struct blk_flush_queue *fq, in blk_kick_flush() 375 struct request_queue *q = rq->q; in flush_data_end_io() local 418 struct request_queue *q = rq->q; in mq_flush_data_end_io() local 453 struct request_queue *q = rq->q; in blk_insert_flush() local 541 struct request_queue *q; in blkdev_issue_flush() local 580 struct blk_flush_queue *blk_alloc_flush_queue(struct request_queue *q, in blk_alloc_flush_queue()
|
D | blk-mq-sched.h | 33 blk_mq_sched_bio_merge(struct request_queue *q, struct bio *bio) in blk_mq_sched_bio_merge() 42 blk_mq_sched_allow_merge(struct request_queue *q, struct request *rq, in blk_mq_sched_allow_merge() 63 struct request_queue *q = rq->q; in blk_mq_sched_started_request() local 72 struct request_queue *q = rq->q; in blk_mq_sched_requeue_request() local
|
D | mq-deadline.c | 108 static void deadline_remove_request(struct request_queue *q, struct request *rq) in deadline_remove_request() 125 static void dd_request_merged(struct request_queue *q, struct request *req, in dd_request_merged() 139 static void dd_merged_requests(struct request_queue *q, struct request *req, in dd_merged_requests() 405 static int dd_init_queue(struct request_queue *q, struct elevator_type *e) in dd_init_queue() 438 static int dd_request_merge(struct request_queue *q, struct request **rq, in dd_request_merge() 463 struct request_queue *q = hctx->queue; in dd_bio_merge() local 484 struct request_queue *q = hctx->queue; in dd_insert_request() local 524 struct request_queue *q = hctx->queue; in dd_insert_requests() local 562 struct request_queue *q = rq->q; in dd_finish_request() local 712 struct request_queue *q = data; in DEADLINE_DEBUGFS_DDIR_ATTRS() local [all …]
|
/linux-4.19.296/drivers/media/v4l2-core/ |
D | videobuf-core.c | 52 #define CALL(q, f, arg...) \ argument 54 #define CALLPTR(q, f, arg...) \ argument 57 struct videobuf_buffer *videobuf_alloc_vb(struct videobuf_queue *q) in videobuf_alloc_vb() 78 static int state_neither_active_nor_queued(struct videobuf_queue *q, in state_neither_active_nor_queued() 90 int videobuf_waiton(struct videobuf_queue *q, struct videobuf_buffer *vb, in videobuf_waiton() 123 int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb, in videobuf_iolock() 133 void *videobuf_queue_to_vaddr(struct videobuf_queue *q, in videobuf_queue_to_vaddr() 145 void videobuf_queue_core_init(struct videobuf_queue *q, in videobuf_queue_core_init() 187 int videobuf_queue_is_busy(struct videobuf_queue *q) in videobuf_queue_is_busy() 232 static int __videobuf_free(struct videobuf_queue *q) in __videobuf_free() [all …]
|
/linux-4.19.296/drivers/isdn/hardware/eicon/ |
D | dqueue.c | 17 diva_data_q_init(diva_um_idi_data_queue_t *q, in diva_data_q_init() 41 int diva_data_q_finit(diva_um_idi_data_queue_t *q) in diva_data_q_finit() 57 int diva_data_q_get_max_length(const diva_um_idi_data_queue_t *q) in diva_data_q_get_max_length() 62 void *diva_data_q_get_segment4write(diva_um_idi_data_queue_t *q) in diva_data_q_get_segment4write() 73 diva_data_q_ack_segment4write(diva_um_idi_data_queue_t *q, int length) in diva_data_q_ack_segment4write() 86 const void *diva_data_q_get_segment4read(const diva_um_idi_data_queue_t * in diva_data_q_get_segment4read() 95 int diva_data_q_get_segment_length(const diva_um_idi_data_queue_t *q) in diva_data_q_get_segment_length() 100 void diva_data_q_ack_segment4read(diva_um_idi_data_queue_t *q) in diva_data_q_ack_segment4read()
|
/linux-4.19.296/drivers/s390/cio/ |
D | qdio_main.c | 116 static int qdio_do_eqbs(struct qdio_q *q, unsigned char *state, in qdio_do_eqbs() 166 static int qdio_do_sqbs(struct qdio_q *q, unsigned char state, int start, in qdio_do_sqbs() 207 static inline int get_buf_states(struct qdio_q *q, unsigned int bufnr, in get_buf_states() 239 static inline int get_buf_state(struct qdio_q *q, unsigned int bufnr, in get_buf_state() 246 static inline int set_buf_states(struct qdio_q *q, int bufnr, in set_buf_states() 261 static inline int set_buf_state(struct qdio_q *q, int bufnr, in set_buf_state() 270 struct qdio_q *q; in qdio_init_buf_states() local 281 static inline int qdio_siga_sync(struct qdio_q *q, unsigned int output, in qdio_siga_sync() 302 static inline int qdio_siga_sync_q(struct qdio_q *q) in qdio_siga_sync_q() 310 static int qdio_siga_output(struct qdio_q *q, unsigned int *busy_bit, in qdio_siga_output() [all …]
|
/linux-4.19.296/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 92 #define log_qop(q, op) \ argument 96 #define call_qop(q, op, args...) \ argument 107 #define call_void_qop(q, op, args...) \ argument 156 #define call_qop(q, op, args...) \ argument 159 #define call_void_qop(q, op, args...) \ argument 176 #define call_bufop(q, op, args...) \ argument 184 #define call_void_bufop(q, op, args...) \ argument 198 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local 304 struct vb2_queue *q = vb->vb2_queue; in __setup_offsets() local 333 static int __vb2_queue_alloc(struct vb2_queue *q, enum vb2_memory memory, in __vb2_queue_alloc() [all …]
|
D | videobuf2-v4l2.c | 125 struct vb2_queue *q = vb->vb2_queue; in __copy_timestamp() local 156 static int vb2_queue_or_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b, in vb2_queue_or_prepare_buf() 191 struct vb2_queue *q = vb->vb2_queue; in __fill_v4l2_buffer() local 296 struct vb2_queue *q = vb->vb2_queue; in __fill_vb2_buffer() local 463 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_querybuf() 485 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req) in vb2_reqbufs() 493 int vb2_prepare_buf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_prepare_buf() 508 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create) in vb2_create_bufs() 562 int vb2_qbuf(struct vb2_queue *q, struct v4l2_buffer *b) in vb2_qbuf() 576 int vb2_dqbuf(struct vb2_queue *q, struct v4l2_buffer *b, bool nonblocking) in vb2_dqbuf() [all …]
|
/linux-4.19.296/include/linux/ |
D | blktrace_api.h | 52 #define blk_add_cgroup_trace_msg(q, cg, fmt, ...) \ argument 62 #define blk_add_trace_msg(q, fmt, ...) \ argument 66 static inline bool blk_trace_note_message_enabled(struct request_queue *q) in blk_trace_note_message_enabled() 92 # define blk_trace_shutdown(q) do { } while (0) argument 93 # define blk_add_driver_data(q, rq, data, len) do {} while (0) argument 94 # define blk_trace_setup(q, name, dev, bdev, arg) (-ENOTTY) argument 95 # define blk_trace_startstop(q, start) (-ENOTTY) argument 96 # define blk_trace_remove(q) (-ENOTTY) argument 97 # define blk_add_trace_msg(q, fmt, ...) do { } while (0) argument 98 # define blk_add_cgroup_trace_msg(q, cg, fmt, ...) do { } while (0) argument [all …]
|
D | blkdev.h | 73 struct request_queue *q; /* the queue this rl belongs to */ member 159 struct request_queue *q; member 730 #define blk_queue_tagged(q) test_bit(QUEUE_FLAG_QUEUED, &(q)->queue_flags) argument 731 #define blk_queue_stopped(q) test_bit(QUEUE_FLAG_STOPPED, &(q)->queue_flags) argument 732 #define blk_queue_dying(q) test_bit(QUEUE_FLAG_DYING, &(q)->queue_flags) argument 733 #define blk_queue_dead(q) test_bit(QUEUE_FLAG_DEAD, &(q)->queue_flags) argument 734 #define blk_queue_bypass(q) test_bit(QUEUE_FLAG_BYPASS, &(q)->queue_flags) argument 735 #define blk_queue_init_done(q) test_bit(QUEUE_FLAG_INIT_DONE, &(q)->queue_flags) argument 736 #define blk_queue_nomerges(q) test_bit(QUEUE_FLAG_NOMERGES, &(q)->queue_flags) argument 737 #define blk_queue_noxmerges(q) \ argument [all …]
|