Defined in 6 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/infiniband/hw/mlx4/qp.c get_recv_wqe() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
CAPPED_DATA 0 hr_qp->rq.max_post 1
DATA_SOURCE 0 hr_qp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &hr_qp->rq.lock
TYPE_LOCK (struct mlx4_ib_wq)->lock

drivers/infiniband/hw/mlx4/qp.c get_send_wqe() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
DATA_SOURCE 0 hr_qp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &hr_qp->sq.lock
TYPE_LOCK (struct mlx4_ib_wq)->lock

drivers/infiniband/hw/mthca/mthca_srq.c mthca_alloc_srq_buf() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
PARAM_VALUE 0 hr_qp->is_direct 0-1
PARAM_VALUE 0 hr_qp->queue.direct.buf 0-ptr_max
PARAM_VALUE 0 hr_qp->queue.page_list 4096-ptr_max
PARAM_VALUE 0 hr_qp->wqe_shift (-1)-31
PARAM_VALUE 1 offset 0-s32max
BUF_SIZE 0 hr_qp->wrid 8
CAPPED_DATA 0 hr_qp->max_gs 1
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 hr_qp $2
PARAM_COMPARE 1 offset < $0->max
NOSPEC 0 hr_qp->max_gs
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 hr_qp->db_index s32min-s32max
USER_DATA 0 hr_qp->max_gs 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 hr_qp->max
NO_OVERFLOW_SIMPLE 1 offset
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/mthca/mthca_srq.c mthca_alloc_srq_buf() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
PARAM_VALUE 0 hr_qp->is_direct 0-1
PARAM_VALUE 0 hr_qp->queue.direct.buf 0-ptr_max
PARAM_VALUE 0 hr_qp->queue.page_list 4096-ptr_max
PARAM_VALUE 0 hr_qp->wqe_shift (-1)-31
BUF_SIZE 0 hr_qp->wrid 8
CAPPED_DATA 0 hr_qp->max 1
CAPPED_DATA 0 hr_qp->max_gs 1
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 hr_qp $2
NOSPEC 0 hr_qp->max_gs
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 hr_qp->db_index s32min-s32max
USER_DATA 0 hr_qp->max_gs 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 hr_qp->max
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/mthca/mthca_srq.c mthca_arbel_post_srq_recv() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
DATA_SOURCE 0 hr_qp r to_msrq
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &hr_qp->lock
TYPE_LOCK (struct mthca_srq)->lock

drivers/infiniband/hw/mthca/mthca_srq.c mthca_free_srq_wqe() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
DATA_SOURCE 0 hr_qp $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cq->lock
LOCK2 0 &hr_qp->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct mthca_cq)->lock
TYPE_LOCK (struct mthca_srq)->lock

drivers/infiniband/hw/mthca/mthca_srq.c mthca_free_srq_wqe() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
DATA_SOURCE 0 hr_qp $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cq->lock
LOCK2 0 &hr_qp->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct mthca_cq)->lock
TYPE_LOCK (struct mthca_srq)->lock

drivers/infiniband/hw/mthca/mthca_srq.c mthca_tavor_post_srq_recv() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
DATA_SOURCE 0 hr_qp r to_msrq
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &hr_qp->lock
TYPE_LOCK (struct mthca_srq)->lock

drivers/infiniband/sw/rxe/rxe_comp.c rxe_completer() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
PARAM_VALUE 2 wqe_p 2167299831718756352
PARAM_VALUE 2 *wqe_p 0
BUF_SIZE 1 offset 0,48
BUF_SIZE 1 offset 0,48
DATA_SOURCE 0 hr_qp $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 hr_qp->attr.cur_qp_state 0-6
USER_DATA 0 hr_qp->attr.qp_state 1-5

drivers/infiniband/hw/mlx5/srq.c create_srq_kernel() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
PARAM_VALUE 0 hr_qp->fbc.frags 1-u64max
PARAM_VALUE 0 hr_qp->fbc.log_frag_strides 0-12,237-255
PARAM_VALUE 0 hr_qp->fbc.log_stride 0-31
PARAM_VALUE 0 hr_qp->fbc.strides_offset 0
PARAM_VALUE 1 offset 0-s32max
CAPPED_DATA 0 hr_qp->msrq.max_avail_gather 1
CAPPED_DATA 0 hr_qp->msrq.max_gs 1
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 hr_qp $1
PARAM_COMPARE 1 offset < $0->msrq.max
NOSPEC 0 hr_qp->msrq.max_gs
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 hr_qp->msrq.max_gs 0-4095[c]
NO_OVERFLOW_SIMPLE 0 hr_qp->buf.npages
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/mlx5/srq.c mlx5_ib_free_srq_wqe() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
DATA_SOURCE 0 hr_qp $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &hr_qp->lock
HALF_LOCKED2 &cq->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct mlx5_ib_srq)->lock

drivers/infiniband/hw/mlx5/srq.c mlx5_ib_post_srq_recv() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
PARAM_VALUE 1 offset 0-u16max
DATA_SOURCE 0 hr_qp r to_msrq
PARAM_COMPARE 0 hr_qp->head != $0->tail
PARAM_COMPARE 1 offset != $0->tail
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &hr_qp->lock
TYPE_LOCK (struct mlx5_ib_srq)->lock

drivers/infiniband/hw/mlx4/srq.c mlx4_ib_create_srq() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
PARAM_VALUE 0 hr_qp->buf.direct.buf 0-ptr_max
PARAM_VALUE 0 hr_qp->buf.nbufs 1,3-524288
PARAM_VALUE 1 offset 0-s32max
CAPPED_DATA 0 hr_qp->msrq.max_gs 1
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 hr_qp r to_msrq
PARAM_COMPARE 1 offset < $0->msrq.max
NOSPEC 0 hr_qp->msrq.max_gs
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 hr_qp->msrq.max_gs 1-s32max[c]
NO_OVERFLOW_SIMPLE 0 hr_qp->buf.nbufs
HALF_LOCKED2 &devr->srq_lock
HALF_LOCKED2 global &device_list_mutex

drivers/infiniband/hw/mlx4/srq.c mlx4_ib_free_srq_wqe() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
DATA_SOURCE 0 hr_qp $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &hr_qp->lock
HALF_LOCKED2 &cq->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct mlx4_ib_cq)->lock
TYPE_LOCK (struct mlx4_ib_srq)->lock

drivers/infiniband/hw/mlx4/srq.c mlx4_ib_post_srq_recv() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
PARAM_VALUE 1 offset 0-u16max
DATA_SOURCE 0 hr_qp r to_msrq
PARAM_COMPARE 0 hr_qp->head != $0->tail
PARAM_COMPARE 1 offset != $0->tail
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &hr_qp->lock
TYPE_LOCK (struct mlx4_ib_srq)->lock

drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_get_extend_sge() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
DATA_SOURCE 0 hr_qp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &conn->send_lock
HALF_LOCKED2 &free_mr->mutex
HALF_LOCKED2 &gsi->lock
HALF_LOCKED2 &mr->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &qp->sq.lock
HALF_LOCKED2 &rdma->sq_sem
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 0 &hr_qp->sq.lock
TYPE_LOCK (struct hns_roce_wq)->lock

drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_get_recv_wqe() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
DATA_SOURCE 0 hr_qp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags
LOCK2 0 &hr_qp->rq.lock
HALF_LOCKED2 &rdma->rq_sem
TYPE_LOCK (struct hns_roce_wq)->lock

drivers/infiniband/hw/hns/hns_roce_qp.c hns_roce_get_send_wqe() -> get_wqe()

Type Parameter Key Value
PARAM_VALUE 0 hr_qp 4096-ptr_max
DATA_SOURCE 0 hr_qp $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &hr_qp->sq.lock
HALF_LOCKED2 &conn->send_lock
HALF_LOCKED2 &free_mr->mutex
HALF_LOCKED2 &gsi->lock
HALF_LOCKED2 &mr->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdma->sq_sem
HALF_LOCKED2 bh
HALF_LOCKED2 flags
TYPE_LOCK (struct hns_roce_wq)->lock