/drivers/scsi/snic/ |
D | vnic_wq.c | 26 static inline int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_get_ctrl() 36 static inline int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_alloc_ring() 43 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) in vnic_wq_alloc_bufs() 81 void svnic_wq_free(struct vnic_wq *wq) in svnic_wq_free() 99 int vnic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_devcmd2_alloc() 123 int svnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in svnic_wq_alloc() 154 void vnic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init_start() 177 void svnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in svnic_wq_init() 185 unsigned int svnic_wq_error_status(struct vnic_wq *wq) in svnic_wq_error_status() 190 void svnic_wq_enable(struct vnic_wq *wq) in svnic_wq_enable() [all …]
|
D | vnic_wq.h | 85 static inline unsigned int svnic_wq_desc_avail(struct vnic_wq *wq) in svnic_wq_desc_avail() 91 static inline unsigned int svnic_wq_desc_used(struct vnic_wq *wq) in svnic_wq_desc_used() 97 static inline void *svnic_wq_next_desc(struct vnic_wq *wq) in svnic_wq_next_desc() 102 static inline void svnic_wq_post(struct vnic_wq *wq, in svnic_wq_post() 128 static inline void svnic_wq_service(struct vnic_wq *wq, in svnic_wq_service() 130 void (*buf_service)(struct vnic_wq *wq, in svnic_wq_service()
|
/drivers/net/ethernet/cisco/enic/ |
D | vnic_wq.c | 31 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) in vnic_wq_alloc_bufs() 69 void vnic_wq_free(struct vnic_wq *wq) in vnic_wq_free() 88 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, in vnic_wq_alloc() 117 int enic_wq_devcmd2_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, in enic_wq_devcmd2_alloc() 134 void enic_wq_init_start(struct vnic_wq *wq, unsigned int cq_index, in enic_wq_init_start() 157 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init() 166 unsigned int vnic_wq_error_status(struct vnic_wq *wq) in vnic_wq_error_status() 171 void vnic_wq_enable(struct vnic_wq *wq) in vnic_wq_enable() 176 int vnic_wq_disable(struct vnic_wq *wq) in vnic_wq_disable() 195 void vnic_wq_clean(struct vnic_wq *wq, in vnic_wq_clean() [all …]
|
D | enic_res.h | 43 static inline void enic_queue_wq_desc_ex(struct vnic_wq *wq, in enic_queue_wq_desc_ex() 69 static inline void enic_queue_wq_desc_cont(struct vnic_wq *wq, in enic_queue_wq_desc_cont() 78 static inline void enic_queue_wq_desc(struct vnic_wq *wq, void *os_buf, in enic_queue_wq_desc() 88 static inline void enic_queue_wq_desc_csum(struct vnic_wq *wq, in enic_queue_wq_desc_csum() 100 static inline void enic_queue_wq_desc_csum_l4(struct vnic_wq *wq, in enic_queue_wq_desc_csum_l4() 111 static inline void enic_queue_wq_desc_tso(struct vnic_wq *wq, in enic_queue_wq_desc_tso()
|
D | vnic_wq.h | 99 struct vnic_wq wq; member 103 static inline unsigned int vnic_wq_desc_avail(struct vnic_wq *wq) in vnic_wq_desc_avail() 109 static inline unsigned int vnic_wq_desc_used(struct vnic_wq *wq) in vnic_wq_desc_used() 115 static inline void *vnic_wq_next_desc(struct vnic_wq *wq) in vnic_wq_next_desc() 120 static inline void vnic_wq_doorbell(struct vnic_wq *wq) in vnic_wq_doorbell() 131 static inline void vnic_wq_post(struct vnic_wq *wq, in vnic_wq_post() 154 static inline void vnic_wq_service(struct vnic_wq *wq, in vnic_wq_service() 156 void (*buf_service)(struct vnic_wq *wq, in vnic_wq_service()
|
D | enic_main.c | 205 static void enic_free_wq_buf(struct vnic_wq *wq, struct vnic_wq_buf *buf) in enic_free_wq_buf() 220 static void enic_wq_free_buf(struct vnic_wq *wq, in enic_wq_free_buf() 425 static int enic_queue_wq_skb_cont(struct enic *enic, struct vnic_wq *wq, in enic_queue_wq_skb_cont() 448 static int enic_queue_wq_skb_vlan(struct enic *enic, struct vnic_wq *wq, in enic_queue_wq_skb_vlan() 477 static int enic_queue_wq_skb_csum_l4(struct enic *enic, struct vnic_wq *wq, in enic_queue_wq_skb_csum_l4() 509 static int enic_queue_wq_skb_tso(struct enic *enic, struct vnic_wq *wq, in enic_queue_wq_skb_tso() 585 struct vnic_wq *wq, struct sk_buff *skb) in enic_queue_wq_skb() 634 struct vnic_wq *wq; in enic_hard_start_xmit() local 1422 struct vnic_wq *wq = &enic->wq[wq_index]; in enic_poll_msix_wq() local 1575 int wq = enic_cq_wq(enic, i); in enic_request_intr() local
|
/drivers/scsi/fnic/ |
D | vnic_wq.c | 27 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) in vnic_wq_alloc_bufs() 67 void vnic_wq_free(struct vnic_wq *wq) in vnic_wq_free() 85 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, in vnic_wq_alloc() 114 void vnic_wq_init(struct vnic_wq *wq, unsigned int cq_index, in vnic_wq_init() 131 unsigned int vnic_wq_error_status(struct vnic_wq *wq) in vnic_wq_error_status() 136 void vnic_wq_enable(struct vnic_wq *wq) in vnic_wq_enable() 141 int vnic_wq_disable(struct vnic_wq *wq) in vnic_wq_disable() 159 void vnic_wq_clean(struct vnic_wq *wq, in vnic_wq_clean() 160 void (*buf_clean)(struct vnic_wq *wq, struct vnic_wq_buf *buf)) in vnic_wq_clean()
|
D | vnic_wq_copy.c | 25 void vnic_wq_copy_enable(struct vnic_wq_copy *wq) in vnic_wq_copy_enable() 30 int vnic_wq_copy_disable(struct vnic_wq_copy *wq) in vnic_wq_copy_disable() 51 void vnic_wq_copy_clean(struct vnic_wq_copy *wq, in vnic_wq_copy_clean() 52 void (*q_clean)(struct vnic_wq_copy *wq, in vnic_wq_copy_clean() 69 void vnic_wq_copy_free(struct vnic_wq_copy *wq) in vnic_wq_copy_free() 78 int vnic_wq_copy_alloc(struct vnic_dev *vdev, struct vnic_wq_copy *wq, in vnic_wq_copy_alloc() 102 void vnic_wq_copy_init(struct vnic_wq_copy *wq, unsigned int cq_index, in vnic_wq_copy_init()
|
D | vnic_wq_copy.h | 36 static inline unsigned int vnic_wq_copy_desc_avail(struct vnic_wq_copy *wq) in vnic_wq_copy_desc_avail() 41 static inline unsigned int vnic_wq_copy_desc_in_use(struct vnic_wq_copy *wq) in vnic_wq_copy_desc_in_use() 46 static inline void *vnic_wq_copy_next_desc(struct vnic_wq_copy *wq) in vnic_wq_copy_next_desc() 52 static inline void vnic_wq_copy_post(struct vnic_wq_copy *wq) in vnic_wq_copy_post() 69 static inline void vnic_wq_copy_desc_process(struct vnic_wq_copy *wq, u16 index) in vnic_wq_copy_desc_process() 83 static inline void vnic_wq_copy_service(struct vnic_wq_copy *wq, in vnic_wq_copy_service() 85 void (*q_service)(struct vnic_wq_copy *wq, in vnic_wq_copy_service()
|
D | fnic_res.h | 30 static inline void fnic_queue_wq_desc(struct vnic_wq *wq, in fnic_queue_wq_desc() 54 static inline void fnic_queue_wq_eth_desc(struct vnic_wq *wq, in fnic_queue_wq_eth_desc() 79 static inline void fnic_queue_wq_copy_desc_icmnd_16(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_icmnd_16() 124 static inline void fnic_queue_wq_copy_desc_itmf(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_itmf() 150 static inline void fnic_queue_wq_copy_desc_flogi_reg(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_flogi_reg() 169 static inline void fnic_queue_wq_copy_desc_fip_reg(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_fip_reg() 193 static inline void fnic_queue_wq_copy_desc_fw_reset(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_fw_reset() 206 static inline void fnic_queue_wq_copy_desc_lunmap(struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc_lunmap()
|
D | vnic_wq.h | 96 static inline unsigned int vnic_wq_desc_avail(struct vnic_wq *wq) in vnic_wq_desc_avail() 102 static inline unsigned int vnic_wq_desc_used(struct vnic_wq *wq) in vnic_wq_desc_used() 108 static inline void *vnic_wq_next_desc(struct vnic_wq *wq) in vnic_wq_next_desc() 113 static inline void vnic_wq_post(struct vnic_wq *wq, in vnic_wq_post() 139 static inline void vnic_wq_service(struct vnic_wq *wq, in vnic_wq_service() 141 void (*buf_service)(struct vnic_wq *wq, in vnic_wq_service()
|
D | fnic_scsi.c | 143 static int free_wq_copy_descs(struct fnic *fnic, struct vnic_wq_copy *wq) in free_wq_copy_descs() 208 struct vnic_wq_copy *wq = &fnic->wq_copy[0]; in fnic_fw_reset_handler() local 261 struct vnic_wq_copy *wq = &fnic->wq_copy[0]; in fnic_flogi_reg_handler() local 318 struct vnic_wq_copy *wq, in fnic_queue_wq_copy_desc() 436 struct vnic_wq_copy *wq; in fnic_queuecommand_lck() local 746 static inline int is_ack_index_in_range(struct vnic_wq_copy *wq, in is_ack_index_in_range() 775 struct vnic_wq_copy *wq; in fnic_fcpio_ack_handler() local 1388 void fnic_wq_copy_cleanup_handler(struct vnic_wq_copy *wq, in fnic_wq_copy_cleanup_handler() 1453 struct vnic_wq_copy *wq = &fnic->wq_copy[0]; in fnic_queue_abort_io_req() local 1991 struct vnic_wq_copy *wq = &fnic->wq_copy[0]; in fnic_queue_dr_io_req() local
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wq.c | 37 u32 mlx5_wq_cyc_get_size(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_get_size() 42 u32 mlx5_cqwq_get_size(struct mlx5_cqwq *wq) in mlx5_cqwq_get_size() 47 u32 mlx5_wq_ll_get_size(struct mlx5_wq_ll *wq) in mlx5_wq_ll_get_size() 52 static u32 mlx5_wq_cyc_get_byte_size(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_get_byte_size() 57 static u32 mlx5_cqwq_get_byte_size(struct mlx5_cqwq *wq) in mlx5_cqwq_get_byte_size() 62 static u32 mlx5_wq_ll_get_byte_size(struct mlx5_wq_ll *wq) in mlx5_wq_ll_get_byte_size() 68 void *wqc, struct mlx5_wq_cyc *wq, in mlx5_wq_cyc_create() 103 void *cqc, struct mlx5_cqwq *wq, in mlx5_cqwq_create() 139 void *wqc, struct mlx5_wq_ll *wq, in mlx5_wq_ll_create()
|
D | wq.h | 94 static inline u16 mlx5_wq_cyc_ctr2ix(struct mlx5_wq_cyc *wq, u16 ctr) in mlx5_wq_cyc_ctr2ix() 99 static inline void *mlx5_wq_cyc_get_wqe(struct mlx5_wq_cyc *wq, u16 ix) in mlx5_wq_cyc_get_wqe() 112 static inline u32 mlx5_cqwq_get_ci(struct mlx5_cqwq *wq) in mlx5_cqwq_get_ci() 117 static inline void *mlx5_cqwq_get_wqe(struct mlx5_cqwq *wq, u32 ix) in mlx5_cqwq_get_wqe() 122 static inline u32 mlx5_cqwq_get_wrap_cnt(struct mlx5_cqwq *wq) in mlx5_cqwq_get_wrap_cnt() 127 static inline void mlx5_cqwq_pop(struct mlx5_cqwq *wq) in mlx5_cqwq_pop() 132 static inline void mlx5_cqwq_update_db_record(struct mlx5_cqwq *wq) in mlx5_cqwq_update_db_record() 137 static inline int mlx5_wq_ll_is_full(struct mlx5_wq_ll *wq) in mlx5_wq_ll_is_full() 142 static inline int mlx5_wq_ll_is_empty(struct mlx5_wq_ll *wq) in mlx5_wq_ll_is_empty() 147 static inline void *mlx5_wq_ll_get_wqe(struct mlx5_wq_ll *wq, u16 ix) in mlx5_wq_ll_get_wqe() [all …]
|
D | en_txrx.c | 37 struct mlx5_cqwq *wq = &cq->wq; in mlx5e_get_cqe() local 55 struct mlx5_wq_cyc *wq; in mlx5e_poll_ico_cq() local
|
D | srq.c | 81 static void set_wq(void *wq, struct mlx5_srq_attr *in) in set_wq() 109 static void get_wq(void *wq, struct mlx5_srq_attr *in) in get_wq() 353 void *wq; in create_rmp_cmd() local 389 void *wq; in arm_rmp_cmd() local
|
D | en_rx.c | 336 struct mlx5_wq_cyc *wq = &sq->wq; in mlx5e_post_umr_wqe() local 412 struct mlx5_wq_ll *wq = &rq->wq; in mlx5e_post_rx_mpwqe() local 455 struct mlx5_wq_ll *wq = &rq->wq; in mlx5e_post_rx_wqes() local 643 struct mlx5_wq_cyc *wq = &sq->wq; in mlx5e_xmit_xdp_doorbell() local 659 struct mlx5_wq_cyc *wq = &sq->wq; in mlx5e_xmit_xdp_frame() local
|
/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 179 static void insert_recv_cqe(struct t4_wq *wq, struct t4_cq *cq) in insert_recv_cqe() 196 int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count) in c4iw_flush_rq() 211 static void insert_sq_cqe(struct t4_wq *wq, struct t4_cq *cq, in insert_sq_cqe() 235 struct t4_wq *wq = &qhp->wq; in c4iw_flush_sq() local 264 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() 413 static int cqe_completes_wr(struct t4_cqe *cqe, struct t4_wq *wq) in cqe_completes_wr() 429 void c4iw_count_rcqes(struct t4_cq *cq, struct t4_wq *wq, int *count) in c4iw_count_rcqes() 464 static int poll_cq(struct t4_wq *wq, struct t4_cq *cq, struct t4_cqe *cqe, in poll_cq() [all …]
|
D | t4.h | 346 static inline int t4_rqes_posted(struct t4_wq *wq) in t4_rqes_posted() 351 static inline int t4_rq_empty(struct t4_wq *wq) in t4_rq_empty() 356 static inline int t4_rq_full(struct t4_wq *wq) in t4_rq_full() 361 static inline u32 t4_rq_avail(struct t4_wq *wq) in t4_rq_avail() 366 static inline void t4_rq_produce(struct t4_wq *wq, u8 len16) in t4_rq_produce() 376 static inline void t4_rq_consume(struct t4_wq *wq) in t4_rq_consume() 384 static inline u16 t4_rq_host_wq_pidx(struct t4_wq *wq) in t4_rq_host_wq_pidx() 389 static inline u16 t4_rq_wq_size(struct t4_wq *wq) in t4_rq_wq_size() 399 static inline int t4_sq_empty(struct t4_wq *wq) in t4_sq_empty() 404 static inline int t4_sq_full(struct t4_wq *wq) in t4_sq_full() [all …]
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_lib.h | 229 #define __l_wait_event(wq, condition, info, ret, l_add_wait) \ argument 305 #define l_wait_event(wq, condition, info) \ argument 315 #define l_wait_event_exclusive(wq, condition, info) \ argument 325 #define l_wait_event_exclusive_head(wq, condition, info) \ argument 335 #define l_wait_condition(wq, condition) \ argument 341 #define l_wait_condition_exclusive(wq, condition) \ argument 347 #define l_wait_condition_exclusive_head(wq, condition) \ argument
|
/drivers/infiniband/hw/cxgb3/ |
D | cxio_hal.c | 275 struct t3_wq *wq, struct cxio_ucontext *uctx) in cxio_create_qp() 336 int cxio_destroy_qp(struct cxio_rdev *rdev_p, struct t3_wq *wq, in cxio_destroy_qp() 350 static void insert_recv_cqe(struct t3_wq *wq, struct t3_cq *cq) in insert_recv_cqe() 368 int cxio_flush_rq(struct t3_wq *wq, struct t3_cq *cq, int count) in cxio_flush_rq() 386 static void insert_sq_cqe(struct t3_wq *wq, struct t3_cq *cq, in insert_sq_cqe() 407 int cxio_flush_sq(struct t3_wq *wq, struct t3_cq *cq, int count) in cxio_flush_sq() 446 static int cqe_completes_wr(struct t3_cqe *cqe, struct t3_wq *wq) in cqe_completes_wr() 464 void cxio_count_scqes(struct t3_cq *cq, struct t3_wq *wq, int *count) in cxio_count_scqes() 482 void cxio_count_rcqes(struct t3_cq *cq, struct t3_wq *wq, int *count) in cxio_count_rcqes() 1073 static void flush_completed_wrs(struct t3_wq *wq, struct t3_cq *cq) in flush_completed_wrs() [all …]
|
/drivers/md/bcache/ |
D | closure.h | 152 struct workqueue_struct *wq; member 240 struct workqueue_struct *wq) in set_closure_fn() 252 struct workqueue_struct *wq = cl->wq; in closure_queue() local 377 struct workqueue_struct *wq, in closure_call()
|
/drivers/gpu/drm/i915/ |
D | i915_sw_fence.c | 133 static int i915_sw_fence_wake(wait_queue_t *wq, unsigned mode, int flags, void *key) in i915_sw_fence_wake() 144 wait_queue_t *wq; in __i915_sw_fence_check_if_after() local 165 wait_queue_t *wq; in __i915_sw_fence_clear_checked_bit() local 197 wait_queue_t *wq) in i915_sw_fence_await_sw_fence()
|
/drivers/tee/optee/ |
D | rpc.c | 61 static struct wq_entry *wq_entry_get(struct optee_wait_queue *wq, u32 key) in wq_entry_get() 82 static void wq_sleep(struct optee_wait_queue *wq, u32 key) in wq_sleep() 95 static void wq_wakeup(struct optee_wait_queue *wq, u32 key) in wq_wakeup()
|
/drivers/infiniband/hw/mlx5/ |
D | cq.c | 102 static enum ib_wc_opcode get_umr_comp(struct mlx5_ib_wq *wq, int idx) in get_umr_comp() 121 struct mlx5_ib_wq *wq, int idx) in handle_good_req() 173 struct mlx5_ib_wq *wq; in handle_responder() local 442 struct mlx5_ib_wq *wq; in sw_send_comp() local 472 struct mlx5_ib_wq *wq; in sw_recv_comp() local 524 struct mlx5_ib_wq *wq; in mlx5_poll_one() local
|