Home
last modified time | relevance | path

Searched defs:wq (Results 1 – 25 of 370) sorted by relevance

12345678910>>...15

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.h100 static inline u32 mlx5_wq_cyc_get_size(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_get_size()
105 static inline int mlx5_wq_cyc_is_full(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_is_full()
110 static inline int mlx5_wq_cyc_missing(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_missing()
115 static inline int mlx5_wq_cyc_is_empty(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_is_empty()
120 static inline void mlx5_wq_cyc_push(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_push()
126 static inline void mlx5_wq_cyc_push_n(struct mlx5_wq_cyc *wq, u16 n) in mlx5_wq_cyc_push_n()
132 static inline void mlx5_wq_cyc_pop(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_pop()
137 static inline void mlx5_wq_cyc_update_db_record(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_update_db_record()
142 static inline u16 mlx5_wq_cyc_ctr2ix(struct mlx5_wq_cyc *wq, u16 ctr) in mlx5_wq_cyc_ctr2ix()
147 static inline u16 mlx5_wq_cyc_get_head(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_get_head()
[all …]
Dwq.c38 void *wqc, struct mlx5_wq_cyc *wq, in mlx5_wq_cyc_create()
74 void mlx5_wq_cyc_wqe_dump(struct mlx5_wq_cyc *wq, u16 ix, u8 nstrides) in mlx5_wq_cyc_wqe_dump()
92 void mlx5_wq_cyc_reset(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_reset()
100 void *qpc, struct mlx5_wq_qp *wq, in mlx5_wq_qp_create()
160 void *cqc, struct mlx5_cqwq *wq, in mlx5_cqwq_create()
197 static void mlx5_wq_ll_init_list(struct mlx5_wq_ll *wq) in mlx5_wq_ll_init_list()
211 void *wqc, struct mlx5_wq_ll *wq, in mlx5_wq_ll_create()
247 void mlx5_wq_ll_reset(struct mlx5_wq_ll *wq) in mlx5_wq_ll_reset()
/linux-6.6.21/include/linux/
Dswait.h121 static inline int swait_active(struct swait_queue_head *wq) in swait_active()
134 static inline bool swq_has_sleeper(struct swait_queue_head *wq) in swq_has_sleeper()
158 #define ___swait_event(wq, condition, state, ret, cmd) \ argument
182 #define __swait_event(wq, condition) \ argument
186 #define swait_event_exclusive(wq, condition) \ argument
193 #define __swait_event_timeout(wq, condition, timeout) \ argument
198 #define swait_event_timeout_exclusive(wq, condition, timeout) \ argument
206 #define __swait_event_interruptible(wq, condition) \ argument
210 #define swait_event_interruptible_exclusive(wq, condition) \ argument
218 #define __swait_event_interruptible_timeout(wq, condition, timeout) \ argument
[all …]
Dwait.h174 struct wait_queue_entry *wq; in __add_wait_queue() local
610 #define wait_event_interruptible_hrtimeout(wq, condition, timeout) \ argument
620 #define __wait_event_interruptible_exclusive(wq, condition) \ argument
624 #define wait_event_interruptible_exclusive(wq, condition) \ argument
633 #define __wait_event_killable_exclusive(wq, condition) \ argument
637 #define wait_event_killable_exclusive(wq, condition) \ argument
647 #define __wait_event_freezable_exclusive(wq, condition) \ argument
651 #define wait_event_freezable_exclusive(wq, condition) \ argument
777 #define __wait_event_interruptible_locked(wq, condition, exclusive, fn) \ argument
817 #define wait_event_interruptible_locked(wq, condition) \ argument
[all …]
/linux-6.6.21/drivers/scsi/snic/
Dvnic_wq.c12 static inline int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_get_ctrl()
22 static inline int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_alloc_ring()
29 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) in vnic_wq_alloc_bufs()
67 void svnic_wq_free(struct vnic_wq *wq) in svnic_wq_free()
85 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_devcmd2_alloc()
109 int svnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in svnic_wq_alloc()
140 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init_start()
163 void svnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in svnic_wq_init()
171 unsigned int svnic_wq_error_status(struct vnic_wq *wq) in svnic_wq_error_status()
176 void svnic_wq_enable(struct vnic_wq *wq) in svnic_wq_enable()
[all …]
Dvnic_wq.h71 static inline unsigned int svnic_wq_desc_avail(struct vnic_wq *wq) in svnic_wq_desc_avail()
77 static inline unsigned int svnic_wq_desc_used(struct vnic_wq *wq) in svnic_wq_desc_used()
83 static inline void *svnic_wq_next_desc(struct vnic_wq *wq) in svnic_wq_next_desc()
88 static inline void svnic_wq_post(struct vnic_wq *wq, in svnic_wq_post()
114 static inline void svnic_wq_service(struct vnic_wq *wq, in svnic_wq_service()
116 void (*buf_service)(struct vnic_wq *wq, in svnic_wq_service()
/linux-6.6.21/drivers/scsi/fnic/
Dvnic_wq.c16 static int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_get_ctrl()
28 static int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_alloc_ring()
35 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) in vnic_wq_alloc_bufs()
72 void vnic_wq_free(struct vnic_wq *wq) in vnic_wq_free()
90 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, in vnic_wq_alloc()
120 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_devcmd2_alloc()
141 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init_start()
165 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init()
182 unsigned int vnic_wq_error_status(struct vnic_wq *wq) in vnic_wq_error_status()
187 void vnic_wq_enable(struct vnic_wq *wq) in vnic_wq_enable()
[all …]
Dvnic_wq_copy.c13 void vnic_wq_copy_enable(struct vnic_wq_copy *wq) in vnic_wq_copy_enable()
18 int vnic_wq_copy_disable(struct vnic_wq_copy *wq) in vnic_wq_copy_disable()
39 void vnic_wq_copy_clean(struct vnic_wq_copy *wq, in vnic_wq_copy_clean()
40 void (*q_clean)(struct vnic_wq_copy *wq, in vnic_wq_copy_clean()
57 void vnic_wq_copy_free(struct vnic_wq_copy *wq) in vnic_wq_copy_free()
66 int vnic_wq_copy_alloc(struct vnic_dev *vdev, struct vnic_wq_copy *wq, in vnic_wq_copy_alloc()
84 void vnic_wq_copy_init(struct vnic_wq_copy *wq, unsigned int cq_index, in vnic_wq_copy_init()
Dvnic_wq_copy.h24 static inline unsigned int vnic_wq_copy_desc_avail(struct vnic_wq_copy *wq) in vnic_wq_copy_desc_avail()
29 static inline unsigned int vnic_wq_copy_desc_in_use(struct vnic_wq_copy *wq) in vnic_wq_copy_desc_in_use()
34 static inline void *vnic_wq_copy_next_desc(struct vnic_wq_copy *wq) in vnic_wq_copy_next_desc()
40 static inline void vnic_wq_copy_post(struct vnic_wq_copy *wq) in vnic_wq_copy_post()
57 static inline void vnic_wq_copy_desc_process(struct vnic_wq_copy *wq, u16 index) in vnic_wq_copy_desc_process()
71 static inline void vnic_wq_copy_service(struct vnic_wq_copy *wq, in vnic_wq_copy_service()
73 void (*q_service)(struct vnic_wq_copy *wq, in vnic_wq_copy_service()
Dfnic_res.h18 static inline void fnic_queue_wq_desc(struct vnic_wq *wq, in fnic_queue_wq_desc()
42 static inline void fnic_queue_wq_eth_desc(struct vnic_wq *wq, in fnic_queue_wq_eth_desc()
67 static inline void fnic_queue_wq_copy_desc_icmnd_16(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_icmnd_16()
112 static inline void fnic_queue_wq_copy_desc_itmf(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_itmf()
138 static inline void fnic_queue_wq_copy_desc_flogi_reg(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_flogi_reg()
157 static inline void fnic_queue_wq_copy_desc_fip_reg(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_fip_reg()
181 static inline void fnic_queue_wq_copy_desc_fw_reset(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_fw_reset()
194 static inline void fnic_queue_wq_copy_desc_lunmap(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_lunmap()
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c34 #define WQ_SIZE(wq) ((wq)->q_depth * (wq)->wqebb_size) argument
44 #define WQ_BASE_VADDR(wqs, wq) \ argument
48 #define WQ_BASE_PADDR(wqs, wq) \ argument
52 #define WQ_BASE_ADDR(wqs, wq) \ argument
56 #define CMDQ_BASE_VADDR(cmdq_pages, wq) \ argument
60 #define CMDQ_BASE_PADDR(cmdq_pages, wq) \ argument
64 #define CMDQ_BASE_ADDR(cmdq_pages, wq) \ argument
68 #define WQ_PAGE_ADDR(wq, idx) \ argument
71 #define MASKED_WQE_IDX(wq, idx) ((idx) & (wq)->mask) argument
77 #define WQE_SHADOW_PAGE(wq, wqe) \ argument
[all …]
/linux-6.6.21/drivers/net/ethernet/cisco/enic/
Dvnic_wq.c18 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) in vnic_wq_alloc_bufs()
56 void vnic_wq_free(struct vnic_wq *wq) in vnic_wq_free()
75 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, in vnic_wq_alloc()
104 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in enic_wq_devcmd2_alloc()
121 void enic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in enic_wq_init_start()
144 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init()
153 unsigned int vnic_wq_error_status(struct vnic_wq *wq) in vnic_wq_error_status()
158 void vnic_wq_enable(struct vnic_wq *wq) in vnic_wq_enable()
163 int vnic_wq_disable(struct vnic_wq *wq) in vnic_wq_disable()
182 void vnic_wq_clean(struct vnic_wq *wq, in vnic_wq_clean()
[all …]
Denic_res.h30 static inline void enic_queue_wq_desc_ex(struct vnic_wq *wq, in enic_queue_wq_desc_ex()
56 static inline void enic_queue_wq_desc_cont(struct vnic_wq *wq, in enic_queue_wq_desc_cont()
65 static inline void enic_queue_wq_desc(struct vnic_wq *wq, void *os_buf, in enic_queue_wq_desc()
75 static inline void enic_queue_wq_desc_csum(struct vnic_wq *wq, in enic_queue_wq_desc_csum()
87 static inline void enic_queue_wq_desc_csum_l4(struct vnic_wq *wq, in enic_queue_wq_desc_csum_l4()
98 static inline void enic_queue_wq_desc_tso(struct vnic_wq *wq, in enic_queue_wq_desc_tso()
Dvnic_wq.h86 struct vnic_wq wq; member
90 static inline unsigned int vnic_wq_desc_avail(struct vnic_wq *wq) in vnic_wq_desc_avail()
96 static inline unsigned int vnic_wq_desc_used(struct vnic_wq *wq) in vnic_wq_desc_used()
102 static inline void *vnic_wq_next_desc(struct vnic_wq *wq) in vnic_wq_next_desc()
107 static inline void vnic_wq_doorbell(struct vnic_wq *wq) in vnic_wq_doorbell()
118 static inline void vnic_wq_post(struct vnic_wq *wq, in vnic_wq_post()
141 static inline void vnic_wq_service(struct vnic_wq *wq, in vnic_wq_service()
143 void (*buf_service)(struct vnic_wq *wq, in vnic_wq_service()
/linux-6.6.21/drivers/dma/idxd/
Ddevice.c41 static void free_hw_descs(struct idxd_wq *wq) in free_hw_descs()
51 static int alloc_hw_descs(struct idxd_wq *wq, int num) in alloc_hw_descs()
74 static void free_descs(struct idxd_wq *wq) in free_descs()
84 static int alloc_descs(struct idxd_wq *wq, int num) in alloc_descs()
108 int idxd_wq_alloc_resources(struct idxd_wq *wq) in idxd_wq_alloc_resources()
165 void idxd_wq_free_resources(struct idxd_wq *wq) in idxd_wq_free_resources()
178 int idxd_wq_enable(struct idxd_wq *wq) in idxd_wq_enable()
203 int idxd_wq_disable(struct idxd_wq *wq, bool reset_config) in idxd_wq_disable()
232 void idxd_wq_drain(struct idxd_wq *wq) in idxd_wq_drain()
248 void idxd_wq_reset(struct idxd_wq *wq) in idxd_wq_reset()
[all …]
Dcdev.c43 struct idxd_wq *wq; member
101 struct idxd_wq *wq = ctx->wq; in cdev_file_attr_visible() local
122 struct idxd_wq *wq = ctx->wq; in idxd_file_dev_release() local
165 struct idxd_wq *wq = idxd_cdev->wq; in idxd_cdev_dev_release() local
193 struct idxd_wq *wq = ctx->wq; in idxd_xa_pasid_remove() local
204 void idxd_user_counter_increment(struct idxd_wq *wq, u32 pasid, int index) in idxd_user_counter_increment()
225 struct idxd_wq *wq; in idxd_cdev_open() local
333 static void idxd_cdev_evl_drain_pasid(struct idxd_wq *wq, u32 pasid) in idxd_cdev_evl_drain_pasid()
365 struct idxd_wq *wq = ctx->wq; in idxd_cdev_release() local
377 static int check_vma(struct idxd_wq *wq, struct vm_area_struct *vma, in check_vma()
[all …]
Dsubmit.c11 static struct idxd_desc *__get_desc(struct idxd_wq *wq, int idx, int cpu) in __get_desc()
27 struct idxd_desc *idxd_alloc_desc(struct idxd_wq *wq, enum idxd_op_type optype) in idxd_alloc_desc()
65 void idxd_free_desc(struct idxd_wq *wq, struct idxd_desc *desc) in idxd_free_desc()
73 static struct idxd_desc *list_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, in list_abort_desc()
95 static void llist_abort_desc(struct idxd_wq *wq, struct idxd_irq_entry *ie, in llist_abort_desc()
151 int idxd_enqcmds(struct idxd_wq *wq, void __iomem *portal, const void *desc) in idxd_enqcmds()
166 int idxd_submit_desc(struct idxd_wq *wq, struct idxd_desc *desc) in idxd_submit_desc()
Ddma.c66 static inline void idxd_prep_desc_common(struct idxd_wq *wq, in idxd_prep_desc_common()
88 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_prep_interrupt() local
110 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_submit_memcpy() local
137 struct idxd_wq *wq = to_idxd_wq(chan); in idxd_dma_alloc_chan_resources() local
148 struct idxd_wq *wq = to_idxd_wq(chan); in idxd_dma_free_chan_resources() local
174 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_tx_submit() local
248 static int idxd_register_dma_channel(struct idxd_wq *wq) in idxd_register_dma_channel()
285 static void idxd_unregister_dma_channel(struct idxd_wq *wq) in idxd_unregister_dma_channel()
301 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_probe() local
339 struct idxd_wq *wq = idxd_dev_to_wq(idxd_dev); in idxd_dmaengine_drv_remove() local
Dsysfs.c342 struct idxd_wq *wq = idxd->wqs[i]; in group_work_queues_show() local
590 struct idxd_wq *wq = confdev_to_wq(dev); in wq_clients_show() local
601 struct idxd_wq *wq = confdev_to_wq(dev); in wq_state_show() local
619 struct idxd_wq *wq = confdev_to_wq(dev); in wq_group_id_show() local
631 struct idxd_wq *wq = confdev_to_wq(dev); in wq_group_id_store() local
674 struct idxd_wq *wq = confdev_to_wq(dev); in wq_mode_show() local
683 struct idxd_wq *wq = confdev_to_wq(dev); in wq_mode_store() local
710 struct idxd_wq *wq = confdev_to_wq(dev); in wq_size_show() local
721 struct idxd_wq *wq = idxd->wqs[i]; in total_claimed_wq_size() local
733 struct idxd_wq *wq = confdev_to_wq(dev); in wq_size_store() local
[all …]
Dirq.c49 struct idxd_wq *wq = idxd->wqs[i]; in idxd_device_reinit() local
73 struct idxd_wq *wq = ie_to_wq(ie); in idxd_int_handle_revoke_drain() local
156 struct idxd_wq *wq = ie_to_wq(ie); in idxd_int_handle_revoke() local
225 struct idxd_wq *wq = fault->wq; in idxd_evl_fault_work() local
336 struct idxd_wq *wq = idxd->wqs[entry_head->wq_idx]; in process_evl_entry() local
417 struct idxd_wq *wq = idxd->wqs[id]; in idxd_misc_thread() local
425 struct idxd_wq *wq = idxd->wqs[i]; in idxd_misc_thread() local
518 struct idxd_wq *wq = desc->wq; in idxd_int_handle_resubmit_work() local
545 struct idxd_wq *wq = desc->wq; in idxd_queue_int_handle_resubmit() local
/linux-6.6.21/io_uring/
Dio-wq.c51 struct io_wq *wq; member
155 static inline struct io_wq_acct *io_get_acct(struct io_wq *wq, bool bound) in io_get_acct()
160 static inline struct io_wq_acct *io_work_get_acct(struct io_wq *wq, in io_work_get_acct()
171 static void io_worker_ref_put(struct io_wq *wq) in io_worker_ref_put()
190 struct io_wq *wq = worker->wq; in io_worker_cancel_cb() local
213 struct io_wq *wq = worker->wq; in io_worker_exit() local
270 static bool io_wq_activate_free_worker(struct io_wq *wq, in io_wq_activate_free_worker()
306 static bool io_wq_create_worker(struct io_wq *wq, struct io_wq_acct *acct) in io_wq_create_worker()
337 struct io_wq *wq; in create_worker_cb() local
366 struct io_wq *wq = worker->wq; in io_queue_worker_create() local
[all …]
/linux-6.6.21/fs/btrfs/
Dasync-thread.c50 struct btrfs_fs_info * __pure btrfs_workqueue_owner(const struct btrfs_workqueue *wq) in btrfs_workqueue_owner()
60 bool btrfs_workqueue_normal_congested(const struct btrfs_workqueue *wq) in btrfs_workqueue_normal_congested()
74 static void btrfs_init_workqueue(struct btrfs_workqueue *wq, in btrfs_init_workqueue()
155 static inline void thresh_queue_hook(struct btrfs_workqueue *wq) in thresh_queue_hook()
167 static inline void thresh_exec_hook(struct btrfs_workqueue *wq) in thresh_exec_hook()
210 static void run_ordered_work(struct btrfs_workqueue *wq, in run_ordered_work()
298 struct btrfs_workqueue *wq = work->wq; in btrfs_work_helper() local
342 void btrfs_queue_work(struct btrfs_workqueue *wq, struct btrfs_work *work) in btrfs_queue_work()
357 void btrfs_destroy_workqueue(struct btrfs_workqueue *wq) in btrfs_destroy_workqueue()
366 void btrfs_workqueue_set_max(struct btrfs_workqueue *wq, int limit_active) in btrfs_workqueue_set_max()
[all …]
/linux-6.6.21/kernel/
Dworkqueue.c229 struct workqueue_struct *wq; /* I: the owning workqueue */ member
451 #define assert_rcu_or_wq_mutex_or_pool_mutex(wq) \ argument
506 #define for_each_pwq(pwq, wq) \ argument
1659 static bool is_chained_work(struct workqueue_struct *wq) in is_chained_work()
1699 static void __queue_work(int cpu, struct workqueue_struct *wq, in __queue_work()
1822 bool queue_work_on(int cpu, struct workqueue_struct *wq, in queue_work_on()
1889 bool queue_work_node(int node, struct workqueue_struct *wq, in queue_work_node()
1929 static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, in __queue_delayed_work()
1972 bool queue_delayed_work_on(int cpu, struct workqueue_struct *wq, in queue_delayed_work_on()
2010 bool mod_delayed_work_on(int cpu, struct workqueue_struct *wq, in mod_delayed_work_on()
[all …]
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dcq.c184 static void insert_recv_cqe(struct t4_wq *wq, struct t4_cq *cq, u32 srqidx) in insert_recv_cqe()
203 int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count) in c4iw_flush_rq()
217 static void insert_sq_cqe(struct t4_wq *wq, struct t4_cq *cq, in insert_sq_cqe()
241 struct t4_wq *wq = &qhp->wq; in c4iw_flush_sq() local
267 static void flush_completed_wrs(struct t4_wq *wq, struct t4_cq *cq) in flush_completed_wrs()
300 static void create_read_req_cqe(struct t4_wq *wq, struct t4_cqe *hw_cqe, in create_read_req_cqe()
312 static void advance_oldest_read(struct t4_wq *wq) in advance_oldest_read()
422 static int cqe_completes_wr(struct t4_cqe *cqe, struct t4_wq *wq) in cqe_completes_wr()
443 void c4iw_count_rcqes(struct t4_cq *cq, struct t4_wq *wq, int *count) in c4iw_count_rcqes()
544 static int poll_cq(struct t4_wq *wq, struct t4_cq *cq, struct t4_cqe *cqe, in poll_cq()
[all …]
/linux-6.6.21/fs/autofs/
Dwaitq.c17 struct autofs_wait_queue *wq, *nwq; in autofs_catatonic_mode() local
80 struct autofs_wait_queue *wq, in autofs_notify_daemon()
182 struct autofs_wait_queue *wq; in autofs_find_wait() local
208 struct autofs_wait_queue *wq; in validate_request() local
307 struct autofs_wait_queue *wq; in autofs_wait() local
490 struct autofs_wait_queue *wq, **wql; in autofs_wait_release() local

12345678910>>...15