/openbmc/linux/block/ |
H A D | blk-sysfs.c | 50 static ssize_t queue_requests_show(struct request_queue *q, char *page) in queue_requests_show() 78 static ssize_t queue_ra_show(struct request_queue *q, char *page) in queue_ra_show() 174 static ssize_t queue_discard_max_store(struct request_queue *q, in queue_discard_max_store() 441 static ssize_t queue_wc_show(struct request_queue *q, char *page) in queue_wc_show() 677 struct request_queue *q = disk->queue; in queue_attr_visible() local 691 struct request_queue *q = disk->queue; in blk_mq_queue_attr_visible() local 719 struct request_queue *q = disk->queue; in queue_attr_show() local 736 struct request_queue *q = disk->queue; in queue_attr_store() local 772 struct request_queue *q = disk->queue; in blk_debugfs_remove() local 789 struct request_queue *q = disk->queue; in blk_register_queue() local [all …]
|
H A D | blk-settings.c | 22 void blk_queue_rq_timeout(struct request_queue *q, unsigned int timeout) in blk_queue_rq_timeout() 178 void blk_queue_max_discard_sectors(struct request_queue *q, in blk_queue_max_discard_sectors() 191 void blk_queue_max_secure_erase_sectors(struct request_queue *q, in blk_queue_max_secure_erase_sectors() 204 void blk_queue_max_write_zeroes_sectors(struct request_queue *q, in blk_queue_max_write_zeroes_sectors() 216 void blk_queue_max_zone_append_sectors(struct request_queue *q, in blk_queue_max_zone_append_sectors() 268 void blk_queue_max_discard_segments(struct request_queue *q, in blk_queue_max_discard_segments() 359 void blk_queue_zone_write_granularity(struct request_queue *q, in blk_queue_zone_write_granularity() 393 struct request_queue *q = disk->queue; in disk_update_readahead() local 924 struct request_queue *q = disk->queue; in disk_set_zoned() local 971 struct request_queue *q = bdev_get_queue(bdev); in bdev_alignment_offset() local [all …]
|
H A D | elevator.c | 62 struct request_queue *q = rq->q; in elv_iosched_allow_bio_merge() local 86 static inline bool elv_support_features(struct request_queue *q, in elv_support_features() 131 struct elevator_queue *elevator_alloc(struct request_queue *q, in elevator_alloc() 159 void elevator_exit(struct request_queue *q) in elevator_exit() 179 void elv_rqhash_del(struct request_queue *q, struct request *rq) in elv_rqhash_del() 186 void elv_rqhash_add(struct request_queue *q, struct request *rq) in elv_rqhash_add() 463 int elv_register_queue(struct request_queue *q, bool uevent) in elv_register_queue() 488 void elv_unregister_queue(struct request_queue *q) in elv_unregister_queue() 612 void elevator_init_mq(struct request_queue *q) in elevator_init_mq() 697 void elevator_disable(struct request_queue *q) in elevator_disable() [all …]
|
H A D | blk-pm.c | 29 void blk_pm_runtime_init(struct request_queue *q, struct device *dev) in blk_pm_runtime_init() 59 int blk_pre_runtime_suspend(struct request_queue *q) in blk_pre_runtime_suspend() 120 void blk_post_runtime_suspend(struct request_queue *q, int err) in blk_post_runtime_suspend() 150 void blk_pre_runtime_resume(struct request_queue *q) in blk_pre_runtime_resume() 174 void blk_post_runtime_resume(struct request_queue *q) in blk_post_runtime_resume() 197 void blk_set_runtime_active(struct request_queue *q) in blk_set_runtime_active()
|
H A D | blk-core.c | 232 void blk_sync_queue(struct request_queue *q) in blk_sync_queue() 243 void blk_set_pm_only(struct request_queue *q) in blk_set_pm_only() 249 void blk_clear_pm_only(struct request_queue *q) in blk_clear_pm_only() 262 struct request_queue *q = container_of(rcu_head, in blk_free_queue_rcu() local 286 void blk_put_queue(struct request_queue *q) in blk_put_queue() 373 void blk_queue_exit(struct request_queue *q) in blk_queue_exit() 380 struct request_queue *q = in blk_queue_usage_counter_release() local 399 struct request_queue *q; in blk_alloc_queue() local 467 bool blk_get_queue(struct request_queue *q) in blk_get_queue() 874 struct request_queue *q; in bio_poll() local [all …]
|
H A D | blk-mq.c | 279 struct request_queue *q; in blk_mq_quiesce_tagset() local 293 struct request_queue *q; in blk_mq_unquiesce_tagset() local 1466 struct request_queue *q = in blk_mq_requeue_work() local 1635 struct request_queue *q = in blk_mq_timeout_work() local 2818 struct request_queue *q; in blk_mq_flush_plug_list() local 3986 struct request_queue *q; in blk_mq_update_tag_set_shared() local 4094 struct request_queue *q; in blk_mq_init_queue_data() local 4145 struct request_queue *q; in __blk_mq_alloc_disk() local 4266 struct request_queue *q) in blk_mq_init_allocated_queue() 4670 struct request_queue *q; member [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H 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 …]
|
/openbmc/linux/net/xdp/ |
H A D | xsk_queue.h | 189 static inline bool xskq_has_descs(struct xsk_queue *q) in xskq_has_descs() 205 static inline bool xskq_cons_read_desc(struct xsk_queue *q, in xskq_cons_read_desc() 276 static inline void __xskq_cons_release(struct xsk_queue *q) in __xskq_cons_release() 281 static inline void __xskq_cons_peek(struct xsk_queue *q) in __xskq_cons_peek() 318 static inline bool xskq_cons_peek_desc(struct xsk_queue *q, in xskq_cons_peek_desc() 331 static inline void xskq_cons_release(struct xsk_queue *q) in xskq_cons_release() 363 static inline bool xskq_prod_is_full(struct xsk_queue *q) in xskq_prod_is_full() 373 static inline int xskq_prod_reserve(struct xsk_queue *q) in xskq_prod_reserve() 431 static inline void xskq_prod_submit(struct xsk_queue *q) in xskq_prod_submit() 441 static inline bool xskq_prod_is_empty(struct xsk_queue *q) in xskq_prod_is_empty() [all …]
|
/openbmc/linux/sound/core/seq/ |
H 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 303 struct snd_seq_queue *q; in snd_seq_enqueue_event() local 538 struct snd_seq_queue *q; in snd_seq_queue_is_used() local 559 struct snd_seq_queue *q; in snd_seq_queue_client_leave() local 592 struct snd_seq_queue *q; in snd_seq_queue_client_leave_cells() local [all …]
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_tx.c | 56 static void *txq_end(const struct funeth_txq *q) in txq_end() 317 static void fun_tx_check_stop(struct funeth_txq *q) in fun_tx_check_stop() 347 struct funeth_txq *q = fp->txqs[qid]; in fun_start_xmit() local 385 static u16 txq_hw_head(const struct funeth_txq *q) in txq_hw_head() 471 struct funeth_txq *q = irq->txq; in fun_txq_napi_poll() local 575 struct funeth_txq *q, **xdpqs; in fun_xdp_xmit_frames() local 601 static void fun_txq_purge(struct funeth_txq *q) in fun_txq_purge() 612 static void fun_xdpq_purge(struct funeth_txq *q) in fun_xdpq_purge() 629 struct funeth_txq *q; in fun_txq_create_sw() local 665 static void fun_txq_free_sw(struct funeth_txq *q) in fun_txq_free_sw() [all …]
|
H A D | funeth_rx.c | 67 static bool cache_get(struct funeth_rxq *q, struct funeth_rxbuf *rb) in cache_get() 348 static void advance_cq(struct funeth_rxq *q) in advance_cq() 479 static int fun_process_cqes(struct funeth_rxq *q, int budget) in fun_process_cqes() 513 struct funeth_rxq *q = irq->rxq; in fun_rxq_napi_poll() local 536 static void fun_rxq_free_bufs(struct funeth_rxq *q) in fun_rxq_free_bufs() 549 static int fun_rxq_alloc_bufs(struct funeth_rxq *q, int node) in fun_rxq_alloc_bufs() 575 static void fun_rxq_free_cache(struct funeth_rxq *q) in fun_rxq_free_cache() 620 struct funeth_rxq *q; in fun_rxq_create_sw() local 677 static void fun_rxq_free_sw(struct funeth_rxq *q) in fun_rxq_free_sw() 765 static void fun_rxq_free_dev(struct funeth_rxq *q) in fun_rxq_free_dev() [all …]
|
/openbmc/linux/kernel/sched/ |
H A D | swait.c | 6 void __init_swait_queue_head(struct swait_queue_head *q, const char *name, in __init_swait_queue_head() 21 void swake_up_locked(struct swait_queue_head *q, int wake_flags) in swake_up_locked() 41 void swake_up_all_locked(struct swait_queue_head *q) in swake_up_all_locked() 47 void swake_up_one(struct swait_queue_head *q) in swake_up_one() 61 void swake_up_all(struct swait_queue_head *q) in swake_up_all() 84 void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait) in __prepare_to_swait() 91 void prepare_to_swait_exclusive(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_exclusive() 102 long prepare_to_swait_event(struct swait_queue_head *q, struct swait_queue *wait, int state) in prepare_to_swait_event() 125 void __finish_swait(struct swait_queue_head *q, struct swait_queue *wait) in __finish_swait() 132 void finish_swait(struct swait_queue_head *q, struct swait_queue *wait) in finish_swait()
|
/openbmc/linux/sound/core/seq/oss/ |
H 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 …]
|
H 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()
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H 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 361 struct vb2_queue *q = vb->vb2_queue; in __setup_offsets() local 1050 struct vb2_queue *q = vb->vb2_queue; in vb2_buffer_done() local 1134 struct vb2_queue *q = vb->vb2_queue; in __prepare_userptr() local 1250 struct vb2_queue *q = vb->vb2_queue; in __prepare_dmabuf() local [all …]
|
/openbmc/linux/drivers/net/ |
H A D | tap.c | 147 struct tap_queue *q) in tap_enable_queue() 168 struct tap_queue *q) in tap_set_queue() 302 struct tap_queue *q, *tmp; in tap_del_queues() local 325 struct tap_queue *q; in tap_handle_frame() local 515 struct tap_queue *q; in tap_open() local 580 struct tap_queue *q = file->private_data; in tap_release() local 587 struct tap_queue *q = file->private_data; in tap_poll() local 780 struct tap_queue *q = file->private_data; in tap_write_iter() local 1295 struct tap_queue *q; in tap_get_socket() local 1307 struct tap_queue *q; in tap_get_ptr_ring() local [all …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_queue.h | 95 static inline u32 queue_next_index(struct rxe_queue *q, int index) in queue_next_index() 100 static inline u32 queue_get_producer(const struct rxe_queue *q, in queue_get_producer() 127 static inline u32 queue_get_consumer(const struct rxe_queue *q, in queue_get_consumer() 154 static inline int queue_empty(struct rxe_queue *q, enum queue_type type) in queue_empty() 162 static inline int queue_full(struct rxe_queue *q, enum queue_type type) in queue_full() 170 static inline u32 queue_count(const struct rxe_queue *q, in queue_count() 179 static inline void queue_advance_producer(struct rxe_queue *q, in queue_advance_producer() 215 static inline void queue_advance_consumer(struct rxe_queue *q, in queue_advance_consumer() 250 static inline void *queue_producer_addr(struct rxe_queue *q, in queue_producer_addr() 258 static inline void *queue_consumer_addr(struct rxe_queue *q, in queue_consumer_addr() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H 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 …]
|
/openbmc/linux/net/sched/ |
H 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 162 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_destroy() local 174 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_tune() local 238 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_init() local 263 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_dump() local 283 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_graft() local 296 struct multiq_sched_data *q = qdisc_priv(sch); in multiq_leaf() local [all …]
|
H A D | sch_red.c | 73 struct red_sched_data *q = qdisc_priv(sch); in red_enqueue() local 153 struct red_sched_data *q = qdisc_priv(sch); in red_dequeue() local 170 struct red_sched_data *q = qdisc_priv(sch); in red_peek() local 178 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 338 struct red_sched_data *q = qdisc_priv(sch); in red_init() local 372 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 …]
|
H A D | sch_prio.c | 33 struct prio_sched_data *q = qdisc_priv(sch); in prio_classify() local 99 struct prio_sched_data *q = qdisc_priv(sch); in prio_peek() local 113 struct prio_sched_data *q = qdisc_priv(sch); in prio_dequeue() local 134 struct prio_sched_data *q = qdisc_priv(sch); in prio_reset() local 168 struct prio_sched_data *q = qdisc_priv(sch); in prio_destroy() local 179 struct prio_sched_data *q = qdisc_priv(sch); in prio_tune() local 232 struct prio_sched_data *q = qdisc_priv(sch); in prio_init() local 264 struct prio_sched_data *q = qdisc_priv(sch); in prio_dump() local 289 struct prio_sched_data *q = qdisc_priv(sch); in prio_graft() local 319 struct prio_sched_data *q = qdisc_priv(sch); in prio_leaf() local [all …]
|
H A D | sch_choke.c | 81 static int use_ecn(const struct choke_sched_data *q) in use_ecn() 87 static int use_harddrop(const struct choke_sched_data *q) in use_harddrop() 116 struct choke_sched_data *q = qdisc_priv(sch); in choke_drop_by_idx() local 215 struct choke_sched_data *q = qdisc_priv(sch); in choke_enqueue() local 285 struct choke_sched_data *q = qdisc_priv(sch); in choke_dequeue() local 306 struct choke_sched_data *q = qdisc_priv(sch); in choke_reset() local 338 struct choke_sched_data *q = qdisc_priv(sch); in choke_change() local 433 struct choke_sched_data *q = qdisc_priv(sch); in choke_dump() local 461 struct choke_sched_data *q = qdisc_priv(sch); in choke_dump_stats() local 474 struct choke_sched_data *q = qdisc_priv(sch); in choke_destroy() local [all …]
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H 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 336 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in int_queue_schedule_job() local 632 struct hl_hw_queue *q; in hl_hw_queue_schedule_cs() local 808 struct hl_hw_queue *q = &hdev->kernel_queues[hw_queue_id]; in hl_hw_queue_inc_ci_kernel() local 1071 struct hl_hw_queue *q; in hl_hw_queues_create() local 1111 struct hl_hw_queue *q; in hl_hw_queues_destroy() local [all …]
|
/openbmc/linux/drivers/scsi/arm/ |
H A D | queue.c | 43 #define SET_MAGIC(q,m) ((q)->magic = (m)) argument 44 #define BAD_MAGIC(q,m) ((q)->magic != (m)) argument 46 #define SET_MAGIC(q,m) do { } while (0) argument 47 #define BAD_MAGIC(q,m) (0) argument 62 QE_t *q; in queue_initialise() local 111 QE_t *q; in __queue_add() local 140 QE_t *q; in __queue_remove() local 170 QE_t *q = list_entry(l, QE_t, list); in queue_remove_exclude() local 219 QE_t *q = list_entry(l, QE_t, list); in queue_remove_tgtluntag() local 245 QE_t *q = list_entry(l, QE_t, list); in queue_remove_all_target() local [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-fsl-qspi.c | 277 static inline int needs_swap_endian(struct fsl_qspi *q) in needs_swap_endian() 282 static inline int needs_4x_clock(struct fsl_qspi *q) in needs_4x_clock() 341 struct fsl_qspi *q = dev_id; in fsl_qspi_irq_handler() local 415 static void fsl_qspi_prepare_lut(struct fsl_qspi *q, in fsl_qspi_prepare_lut() 507 static void fsl_qspi_invalidate(struct fsl_qspi *q) in fsl_qspi_invalidate() 558 static void fsl_qspi_fill_txfifo(struct fsl_qspi *q, in fsl_qspi_fill_txfifo() 583 static void fsl_qspi_read_rxfifo(struct fsl_qspi *q, in fsl_qspi_read_rxfifo() 720 static int fsl_qspi_default_setup(struct fsl_qspi *q) in fsl_qspi_default_setup() 848 struct fsl_qspi *q; in fsl_qspi_probe() local 952 struct fsl_qspi *q = platform_get_drvdata(pdev); in fsl_qspi_remove() local [all …]
|