/linux/block/ |
A D | blk-sysfs.c | 62 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show() 90 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show() 186 static ssize_t queue_discard_max_store(struct request_queue *q, in queue_discard_max_store() 515 static ssize_t queue_wc_show(struct request_queue *q, char *page) in queue_wc_show() 676 struct request_queue *q = in queue_attr_visible() local 703 struct request_queue *q = in queue_attr_show() local 720 struct request_queue *q; in queue_attr_store() local 741 static void blk_exit_queue(struct request_queue *q) in blk_exit_queue() 783 struct request_queue *q = in blk_release_queue() local 833 struct request_queue *q = disk->queue; in blk_register_queue() local [all …]
|
A D | blk-settings.c | 21 void blk_queue_rq_timeout(struct request_queue *q, unsigned int timeout) in blk_queue_rq_timeout() 173 void blk_queue_max_discard_sectors(struct request_queue *q, in blk_queue_max_discard_sectors() 186 void blk_queue_max_write_same_sectors(struct request_queue *q, in blk_queue_max_write_same_sectors() 199 void blk_queue_max_write_zeroes_sectors(struct request_queue *q, in blk_queue_max_write_zeroes_sectors() 211 void blk_queue_max_zone_append_sectors(struct request_queue *q, in blk_queue_max_zone_append_sectors() 263 void blk_queue_max_discard_segments(struct request_queue *q, in blk_queue_max_discard_segments() 354 void blk_queue_zone_write_granularity(struct request_queue *q, in blk_queue_zone_write_granularity() 388 struct request_queue *q = disk->queue; in disk_update_readahead() local 437 void blk_queue_io_min(struct request_queue *q, unsigned int min) in blk_queue_io_min() 742 void blk_queue_dma_alignment(struct request_queue *q, int mask) in blk_queue_dma_alignment() [all …]
|
A D | elevator.c | 62 struct request_queue *q = rq->q; in elv_iosched_allow_bio_merge() local 164 struct elevator_queue *elevator_alloc(struct request_queue *q, in elevator_alloc() 206 void elv_rqhash_del(struct request_queue *q, struct request *rq) in elv_rqhash_del() 213 void elv_rqhash_add(struct request_queue *q, struct request *rq) in elv_rqhash_add() 490 int elv_register_queue(struct request_queue *q, bool uevent) in elv_register_queue() 515 void elv_unregister_queue(struct request_queue *q) in elv_unregister_queue() 586 int elevator_switch_mq(struct request_queue *q, in elevator_switch_mq() 677 void elevator_init_mq(struct request_queue *q) in elevator_init_mq() 791 ssize_t elv_iosched_show(struct request_queue *q, char *name) in elv_iosched_show() 826 struct request *elv_rb_former_request(struct request_queue *q, in elv_rb_former_request() [all …]
|
A D | blk-rq-qos.h | 30 struct request_queue *q; member 62 static inline struct rq_qos *rq_qos_id(struct request_queue *q, in rq_qos_id() 73 static inline struct rq_qos *wbt_rq_qos(struct request_queue *q) in wbt_rq_qos() 78 static inline struct rq_qos *blkcg_rq_qos(struct request_queue *q) in blkcg_rq_qos() 89 static inline void rq_qos_add(struct request_queue *q, struct rq_qos *rqos) in rq_qos_add() 111 static inline void rq_qos_del(struct request_queue *q, struct rq_qos *rqos) in rq_qos_del() 156 static inline void rq_qos_cleanup(struct request_queue *q, struct bio *bio) in rq_qos_cleanup() 162 static inline void rq_qos_done(struct request_queue *q, struct request *rq) in rq_qos_done() 168 static inline void rq_qos_issue(struct request_queue *q, struct request *rq) in rq_qos_issue() 180 static inline void rq_qos_done_bio(struct request_queue *q, struct bio *bio) in rq_qos_done_bio() [all …]
|
A D | blk-mq-debugfs.h | 39 static inline void blk_mq_debugfs_register(struct request_queue *q) in blk_mq_debugfs_register() 43 static inline void blk_mq_debugfs_unregister(struct request_queue *q) in blk_mq_debugfs_unregister() 47 static inline void blk_mq_debugfs_register_hctx(struct request_queue *q, in blk_mq_debugfs_register_hctx() 56 static inline void blk_mq_debugfs_register_hctxs(struct request_queue *q) in blk_mq_debugfs_register_hctxs() 60 static inline void blk_mq_debugfs_unregister_hctxs(struct request_queue *q) in blk_mq_debugfs_unregister_hctxs() 64 static inline void 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 void blk_mq_debugfs_register_sched_hctx(struct request_queue *q, in blk_mq_debugfs_register_sched_hctx() 89 static inline void blk_mq_debugfs_unregister_queue_rqos(struct request_queue *q) in blk_mq_debugfs_unregister_queue_rqos()
|
A D | blk.h | 39 blk_get_flush_queue(struct request_queue *q, struct blk_mq_ctx *ctx) in blk_get_flush_queue() 44 static inline void __blk_get_queue(struct request_queue *q) in __blk_get_queue() 61 static inline bool blk_try_enter_queue(struct request_queue *q, bool pm) in blk_try_enter_queue() 87 struct request_queue *q = bdev_get_queue(bio->bi_bdev); in bio_queue_enter() local 99 static inline bool biovec_phys_mergeable(struct request_queue *q, in biovec_phys_mergeable() 115 static inline bool __bvec_gap_to_prev(struct request_queue *q, in __bvec_gap_to_prev() 126 static inline bool bvec_gap_to_prev(struct request_queue *q, in bvec_gap_to_prev() 282 static inline void elevator_exit(struct request_queue *q, in elevator_exit() 305 static inline bool blk_may_split(struct request_queue *q, struct bio *bio) in blk_may_split() 396 struct request_queue *q) in bio_aligned_discard_max_sectors() [all …]
|
A D | blk-merge.c | 49 static inline bool bio_will_gap(struct request_queue *q, in bio_will_gap() 95 static struct bio *blk_bio_discard_split(struct request_queue *q, in blk_bio_discard_split() 177 static inline unsigned get_max_io_size(struct request_queue *q, in get_max_io_size() 230 static bool bvec_split_segs(const struct request_queue *q, in bvec_split_segs() 278 static struct bio *blk_bio_segment_split(struct request_queue *q, in blk_bio_segment_split() 338 void __blk_queue_split(struct request_queue *q, struct bio **bio, in __blk_queue_split() 386 struct request_queue *q = bdev_get_queue((*bio)->bi_bdev); in blk_queue_split() local 444 static unsigned blk_bvec_map_sg(struct request_queue *q, in blk_bvec_map_sg() 549 int __blk_rq_map_sg(struct request_queue *q, struct request *rq, in __blk_rq_map_sg() 584 struct request_queue *q = rq->q; in blk_rq_get_max_sectors() local [all …]
|
A D | blk-pm.c | 31 void blk_pm_runtime_init(struct request_queue *q, struct device *dev) in blk_pm_runtime_init() 61 int blk_pre_runtime_suspend(struct request_queue *q) in blk_pre_runtime_suspend() 122 void blk_post_runtime_suspend(struct request_queue *q, int err) in blk_post_runtime_suspend() 152 void blk_pre_runtime_resume(struct request_queue *q) in blk_pre_runtime_resume() 176 void blk_post_runtime_resume(struct request_queue *q, int err) in blk_post_runtime_resume() 207 void blk_set_runtime_active(struct request_queue *q) in blk_set_runtime_active()
|
/linux/net/xdp/ |
A D | xsk_queue.h | 190 static inline bool xskq_cons_read_desc(struct xsk_queue *q, in xskq_cons_read_desc() 234 static inline void __xskq_cons_release(struct xsk_queue *q) in __xskq_cons_release() 239 static inline void __xskq_cons_peek(struct xsk_queue *q) in __xskq_cons_peek() 276 static inline bool xskq_cons_peek_desc(struct xsk_queue *q, in xskq_cons_peek_desc() 297 static inline void xskq_cons_release(struct xsk_queue *q) in xskq_cons_release() 307 static inline bool xskq_cons_is_full(struct xsk_queue *q) in xskq_cons_is_full() 336 static inline bool xskq_prod_is_full(struct xsk_queue *q) in xskq_prod_is_full() 341 static inline void xskq_prod_cancel(struct xsk_queue *q) in xskq_prod_cancel() 346 static inline int xskq_prod_reserve(struct xsk_queue *q) in xskq_prod_reserve() 407 static inline void xskq_prod_submit(struct xsk_queue *q) in xskq_prod_submit() [all …]
|
/linux/drivers/media/v4l2-core/ |
A D | videobuf-core.c | 50 #define CALL(q, f, arg...) \ argument 52 #define CALLPTR(q, f, arg...) \ argument 185 int videobuf_queue_is_busy(struct videobuf_queue *q) in videobuf_queue_is_busy() 373 int videobuf_mmap_free(struct videobuf_queue *q) in videobuf_mmap_free() 428 int videobuf_mmap_setup(struct videobuf_queue *q, in videobuf_mmap_setup() 440 int videobuf_reqbufs(struct videobuf_queue *q, in videobuf_reqbufs() 695 int videobuf_dqbuf(struct videobuf_queue *q, in videobuf_dqbuf() 735 int videobuf_streamon(struct videobuf_queue *q) in videobuf_streamon() 773 int videobuf_streamoff(struct videobuf_queue *q) in videobuf_streamoff() 1032 void videobuf_stop(struct videobuf_queue *q) in videobuf_stop() [all …]
|
/linux/sound/core/seq/ |
A D | seq_queue.c | 71 struct snd_seq_queue *q; in queue_list_remove() local 98 struct snd_seq_queue *q; in queue_new() local 170 struct snd_seq_queue *q; in snd_seq_queue_alloc() local 189 struct snd_seq_queue *q; in snd_seq_queue_delete() local 205 struct snd_seq_queue *q; in queueptr() local 222 struct snd_seq_queue *q; in snd_seq_queue_find_name() local 293 struct snd_seq_queue *q; in snd_seq_enqueue_event() local 528 struct snd_seq_queue *q; in snd_seq_queue_is_used() local 549 struct snd_seq_queue *q; in snd_seq_queue_client_leave() local 582 struct snd_seq_queue *q; in snd_seq_queue_client_leave_cells() local [all …]
|
/linux/drivers/media/common/videobuf2/ |
A D | videobuf2-core.c | 37 #define dprintk(q, level, fmt, arg...) \ argument 93 #define log_qop(q, op) \ argument 97 #define call_qop(q, op, args...) \ argument 157 #define call_qop(q, op, args...) \ argument 177 #define call_bufop(q, op, args...) \ argument 216 struct vb2_queue *q = vb->vb2_queue; in __vb2_buf_mem_alloc() local 357 struct vb2_queue *q = vb->vb2_queue; in __setup_offsets() local 1025 struct vb2_queue *q = vb->vb2_queue; in vb2_buffer_done() local 1109 struct vb2_queue *q = vb->vb2_queue; in __prepare_userptr() local 1225 struct vb2_queue *q = vb->vb2_queue; in __prepare_dmabuf() local [all …]
|
/linux/kernel/sched/ |
A D | swait.c | 7 void __init_swait_queue_head(struct swait_queue_head *q, const char *name, in __init_swait_queue_head() 22 void swake_up_locked(struct swait_queue_head *q) in swake_up_locked() 42 void swake_up_all_locked(struct swait_queue_head *q) in swake_up_all_locked() 48 void swake_up_one(struct swait_queue_head *q) in swake_up_one() 62 void swake_up_all(struct swait_queue_head *q) in swake_up_all() 85 void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait) in __prepare_to_swait() 92 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive() 103 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event() 126 void __finish_swait(struct swait_queue_head *q, struct swait_queue *wait) in __finish_swait() 133 void finish_swait(struct swait_queue_head *q, struct swait_queue *wait) in finish_swait()
|
/linux/sound/core/seq/oss/ |
A D | seq_oss_readq.c | 35 struct seq_oss_readq *q; in snd_seq_oss_readq_new() local 62 snd_seq_oss_readq_delete(struct seq_oss_readq *q) in snd_seq_oss_readq_delete() 74 snd_seq_oss_readq_clear(struct seq_oss_readq *q) in snd_seq_oss_readq_clear() 89 snd_seq_oss_readq_puts(struct seq_oss_readq *q, int dev, unsigned char *data, int len) in snd_seq_oss_readq_puts() 123 int snd_seq_oss_readq_sysex(struct seq_oss_readq *q, int dev, in snd_seq_oss_readq_sysex() 141 snd_seq_oss_readq_put_event(struct seq_oss_readq *q, union evrec *ev) in snd_seq_oss_readq_put_event() 169 snd_seq_oss_readq_pick(struct seq_oss_readq *q, union evrec *rec) in snd_seq_oss_readq_pick() 181 snd_seq_oss_readq_wait(struct seq_oss_readq *q) in snd_seq_oss_readq_wait() 193 snd_seq_oss_readq_free(struct seq_oss_readq *q) in snd_seq_oss_readq_free() 206 snd_seq_oss_readq_poll(struct seq_oss_readq *q, struct file *file, poll_table *wait) in snd_seq_oss_readq_poll() [all …]
|
A D | seq_oss_writeq.c | 27 struct seq_oss_writeq *q; in snd_seq_oss_writeq_new() local 54 snd_seq_oss_writeq_delete(struct seq_oss_writeq *q) in snd_seq_oss_writeq_delete() 67 snd_seq_oss_writeq_clear(struct seq_oss_writeq *q) in snd_seq_oss_writeq_clear() 83 snd_seq_oss_writeq_sync(struct seq_oss_writeq *q) in snd_seq_oss_writeq_sync() 123 snd_seq_oss_writeq_wakeup(struct seq_oss_writeq *q, abstime_t time) in snd_seq_oss_writeq_wakeup() 139 snd_seq_oss_writeq_get_free_size(struct seq_oss_writeq *q) in snd_seq_oss_writeq_get_free_size() 152 snd_seq_oss_writeq_set_output(struct seq_oss_writeq *q, int val) in snd_seq_oss_writeq_set_output()
|
/linux/include/linux/ |
A D | blkdev.h | 422 #define blk_queue_noxmerges(q) \ argument 425 #define blk_queue_stable_writes(q) \ argument 430 #define blk_queue_zone_resetall(q) \ argument 432 #define blk_queue_secure_erase(q) \ argument 435 #define blk_queue_pci_p2pdma(q) \ argument 438 #define blk_queue_rq_alloc_time(q) \ argument 441 #define blk_queue_rq_alloc_time(q) false argument 480 blk_queue_zoned_model(struct request_queue *q) in blk_queue_zoned_model() 1015 struct request_queue *q = bdev_get_queue(bdev); in bdev_alignment_offset() local 1058 struct request_queue *q = bdev_get_queue(bdev); in bdev_discard_alignment() local [all …]
|
/linux/drivers/net/ |
A D | tap.c | 145 struct tap_queue *q) in tap_enable_queue() 166 struct tap_queue *q) in tap_set_queue() 300 struct tap_queue *q, *tmp; in tap_del_queues() local 323 struct tap_queue *q; in tap_handle_frame() local 503 struct tap_queue *q; in tap_open() local 565 struct tap_queue *q = file->private_data; in tap_release() local 572 struct tap_queue *q = file->private_data; in tap_poll() local 756 struct tap_queue *q = file->private_data; in tap_write_iter() local 1251 struct tap_queue *q; in tap_get_socket() local 1263 struct tap_queue *q; in tap_get_ptr_ring() local [all …]
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_queue.h | 89 static inline u32 queue_next_index(struct rxe_queue *q, int index) in queue_next_index() 94 static inline u32 queue_get_producer(const struct rxe_queue *q, in queue_get_producer() 119 static inline u32 queue_get_consumer(const struct rxe_queue *q, in queue_get_consumer() 144 static inline int queue_empty(struct rxe_queue *q, enum queue_type type) in queue_empty() 152 static inline int queue_full(struct rxe_queue *q, enum queue_type type) in queue_full() 160 static inline u32 queue_count(const struct rxe_queue *q, in queue_count() 169 static inline void queue_advance_producer(struct rxe_queue *q, in queue_advance_producer() 198 static inline void queue_advance_consumer(struct rxe_queue *q, in queue_advance_consumer() 227 static inline void *queue_producer_addr(struct rxe_queue *q, in queue_producer_addr() 235 static inline void *queue_consumer_addr(struct rxe_queue *q, in queue_consumer_addr() [all …]
|
/linux/drivers/net/wireless/broadcom/b43/ |
A D | pio.c | 24 static u16 generate_cookie(struct b43_pio_txqueue *q, in generate_cookie() 49 struct b43_pio_txqueue *q = NULL; in parse_cookie() local 126 struct b43_pio_txqueue *q; in b43_setup_pioqueue_tx() local 162 struct b43_pio_rxqueue *q; in b43_setup_pioqueue_rx() local 290 struct b43_pio_txqueue *q; in select_queue_by_priority() local 352 struct b43_pio_txqueue *q = pack->queue; in pio_tx_frame_2byte_queue() local 422 struct b43_pio_txqueue *q = pack->queue; in pio_tx_frame_4byte_queue() local 440 static int pio_tx_frame(struct b43_pio_txqueue *q, in pio_tx_frame() 491 struct b43_pio_txqueue *q; in b43_pio_tx() local 566 struct b43_pio_txqueue *q; in b43_pio_handle_txstatus() local [all …]
|
/linux/net/sched/ |
A D | sch_multiq.c | 32 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_classify() local 89 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_dequeue() local 120 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_peek() local 151 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_reset() local 163 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_destroy() local 175 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_tune() local 239 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_init() local 264 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_dump() local 284 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_graft() local 297 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_leaf() local [all …]
|
A D | sch_red.c | 73 struct red_sched_data *q = qdisc_priv(sch); in red_enqueue() local 151 struct red_sched_data *q = qdisc_priv(sch); in red_dequeue() local 168 struct red_sched_data *q = qdisc_priv(sch); in red_peek() local 176 struct red_sched_data *q = qdisc_priv(sch); in red_reset() local 186 struct red_sched_data *q = qdisc_priv(sch); in red_offload() local 215 struct red_sched_data *q = qdisc_priv(sch); in red_destroy() local 238 struct red_sched_data *q = qdisc_priv(sch); in __red_change() local 335 struct red_sched_data *q = qdisc_priv(sch); in red_init() local 369 struct red_sched_data *q = qdisc_priv(sch); in red_change() local 411 struct red_sched_data *q = qdisc_priv(sch); in red_dump() local [all …]
|
/linux/drivers/misc/habanalabs/common/ |
A D | hw_queue.c | 44 struct hl_hw_queue *q; in hl_hw_queue_update_ci() local 117 struct hl_hw_queue *q, int num_of_entries, in ext_queue_sanity_checks() 166 struct hl_hw_queue *q, in int_queue_sanity_checks() 231 struct hl_hw_queue *q = &hdev->kernel_queues[hw_queue_id]; in hl_hw_queue_send_cb_no_cmpl() local 271 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in ext_queue_schedule_job() local 335 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in int_queue_schedule_job() local 628 struct hl_hw_queue *q; in hl_hw_queue_schedule_cs() local 794 struct hl_hw_queue *q = &hdev->kernel_queues[hw_queue_id]; in hl_hw_queue_inc_ci_kernel() local 1073 struct hl_hw_queue *q; in hl_hw_queues_create() local 1113 struct hl_hw_queue *q; in hl_hw_queues_destroy() local [all …]
|
/linux/drivers/s390/cio/ |
A D | qdio_main.c | 243 static inline int set_buf_states(struct qdio_q *q, int bufnr, in set_buf_states() 265 static inline int set_buf_state(struct qdio_q *q, int bufnr, in set_buf_state() 274 struct qdio_q *q; in qdio_init_buf_states() local 306 static inline int qdio_sync_input_queue(struct qdio_q *q) in qdio_sync_input_queue() 311 static inline int qdio_sync_output_queue(struct qdio_q *q) in qdio_sync_output_queue() 316 static inline int qdio_siga_sync_q(struct qdio_q *q) in qdio_siga_sync_q() 365 static inline int qdio_siga_input(struct qdio_q *q) in qdio_siga_input() 393 static inline void qdio_stop_polling(struct qdio_q *q) in qdio_stop_polling() 656 struct qdio_q *q; in qdio_handle_activate_check() local 1231 struct qdio_q *q; in qdio_start_irq() local [all …]
|
/linux/drivers/scsi/arm/ |
A D | queue.c | 39 #define SET_MAGIC(q,m) ((q)->magic = (m)) argument 40 #define BAD_MAGIC(q,m) ((q)->magic != (m)) argument 42 #define SET_MAGIC(q,m) do { } while (0) argument 43 #define BAD_MAGIC(q,m) (0) argument 58 QE_t *q; in queue_initialise() local 107 QE_t *q; in __queue_add() local 136 QE_t *q; in __queue_remove() local 166 QE_t *q = list_entry(l, QE_t, list); in queue_remove_exclude() local 215 QE_t *q = list_entry(l, QE_t, list); in queue_remove_tgtluntag() local 241 QE_t *q = list_entry(l, QE_t, list); in queue_remove_all_target() local [all …]
|
/linux/drivers/spi/ |
A D | spi-fsl-qspi.c | 278 static inline int needs_swap_endian(struct fsl_qspi *q) in needs_swap_endian() 283 static inline int needs_4x_clock(struct fsl_qspi *q) in needs_4x_clock() 342 struct fsl_qspi *q = dev_id; in fsl_qspi_irq_handler() local 416 static void fsl_qspi_prepare_lut(struct fsl_qspi *q, in fsl_qspi_prepare_lut() 508 static void fsl_qspi_invalidate(struct fsl_qspi *q) in fsl_qspi_invalidate() 559 static void fsl_qspi_fill_txfifo(struct fsl_qspi *q, in fsl_qspi_fill_txfifo() 584 static void fsl_qspi_read_rxfifo(struct fsl_qspi *q, in fsl_qspi_read_rxfifo() 721 static int fsl_qspi_default_setup(struct fsl_qspi *q) in fsl_qspi_default_setup() 849 struct fsl_qspi *q; in fsl_qspi_probe() local 950 struct fsl_qspi *q = platform_get_drvdata(pdev); in fsl_qspi_remove() local [all …]
|