Defined in 2 files as a function:
- drivers/infiniband/hw/efa/efa_verbs.c, line 155 (as a function)
- drivers/infiniband/hw/erdma/erdma_verbs.h, line 435 (as a function)
Referenced in 3 files:
- drivers/infiniband/hw/efa/efa_verbs.c
- drivers/infiniband/hw/erdma/erdma_qp.c
- drivers/infiniband/hw/erdma/erdma_verbs.c
Smatch caller information:
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_create_qp() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 4096-ptr_max |
| BUF_SIZE | 0 | ibqp->pd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | ibqp->qp_context | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ibqp->recv_cq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 0 | ibqp->rwq_ind_tbl | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 0 | ibqp->send_cq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 0 | ibqp->srq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| DATA_SOURCE | 0 | ibqp | $0 |
| STR_LEN | 0 | ibqp->device | 3,6-9 |
| STR_LEN | 0 | ibqp->pd | (-1),3,6-8 |
| STR_LEN | 0 | ibqp->pd->res.kern_name | (-1),7,9-10 |
| STR_LEN | 0 | ibqp->real_qp->device | 3,6-9 |
| STR_LEN | 0 | ibqp->real_qp->pd | (-1),3,6-8 |
| STR_LEN | 0 | ibqp->recv_cq->res.kern_name | (-1),7-8 |
| STR_LEN | 0 | ibqp->send_cq->res.kern_name | (-1),7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ibqp->qp_type | 2-4,8,255 |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->phys_port_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->recv_cq->cqe_used | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->send_cq->cqe_used |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_destroy_qp() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 4096-ptr_max |
| BUF_SIZE | 0 | ibqp | (-1),1-s32max |
| BUF_SIZE | 0 | ibqp | (-1),1-s32max |
| BUF_SIZE | 0 | ibqp->pd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | ibqp->qp_context | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ibqp->recv_cq | (-1)-s32max |
| BUF_SIZE | 0 | ibqp->rwq_ind_tbl | (-1)-s32max |
| BUF_SIZE | 0 | ibqp->send_cq | (-1)-s32max |
| BUF_SIZE | 0 | ibqp->srq | (-1)-s32max |
| CAPPED_DATA | 0 | ibqp | 1 |
| CAPPED_DATA | 0 | ibqp->real_qp | 1 |
| DATA_SOURCE | 0 | ibqp | $0 |
| STR_LEN | 0 | ibqp->device | (-1),3,6-9 |
| STR_LEN | 0 | ibqp->pd | (-1),3,6-8 |
| STR_LEN | 0 | ibqp->pd->res.kern_name | (-1),7,9-10 |
| STR_LEN | 0 | ibqp->qp_sec->dev | (-1) |
| STR_LEN | 0 | ibqp->real_qp->device | (-1),3,6-9 |
| STR_LEN | 0 | ibqp->real_qp->pd | (-1),3,6-8 |
| STR_LEN | 0 | ibqp->recv_cq->res.kern_name | (-1),7-8 |
| STR_LEN | 0 | ibqp->send_cq->res.kern_name | (-1),7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ibqp->counter->port | 0-255[c] |
| USER_DATA | 0 | ibqp->qp_sec->qp->qp_type | 2-4,8,255 |
| USER_DATA | 0 | ibqp->qp_type | 2-4,8,255 |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->phys_port_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->qp_sec->dev->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->qp_sec->dev->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->qp_sec->dev->phys_port_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->recv_cq->cqe_used | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->send_cq->cqe_used |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_modify_qp() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 4096-ptr_max |
| DATA_SOURCE | 0 | ibqp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &ibqp->qp_sec->mutex |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_qp_get_ref() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 1-u64max |
| BUF_SIZE | 0 | ibqp | (-1),624 |
| BUF_SIZE | 0 | ibqp | (-1),624 |
| DATA_SOURCE | 0 | ibqp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cm_id_priv->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct iwcm_id_private)->lock |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_qp_put_ref() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 1-u64max |
| BUF_SIZE | 0 | ibqp | (-1),624 |
| BUF_SIZE | 0 | ibqp | (-1),624 |
| DATA_SOURCE | 0 | ibqp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_query_qp() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 1-u64max |
| DATA_SOURCE | 0 | ibqp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iser_conn->state_mutex |
drivers/infiniband/hw/efa/efa_verbs.c efa_create_qp() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 4096-ptr_max |
| BUF_SIZE | 0 | ibqp->pd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | ibqp->qp_context | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ibqp->recv_cq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 0 | ibqp->rwq_ind_tbl | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 0 | ibqp->send_cq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 0 | ibqp->srq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| DATA_SOURCE | 0 | ibqp | $0 |
| STR_LEN | 0 | ibqp->device | 3,6-9 |
| STR_LEN | 0 | ibqp->pd | (-1),3,6-8 |
| STR_LEN | 0 | ibqp->pd->res.kern_name | (-1),7,9-10 |
| STR_LEN | 0 | ibqp->real_qp->device | 3,6-9 |
| STR_LEN | 0 | ibqp->real_qp->pd | (-1),3,6-8 |
| STR_LEN | 0 | ibqp->recv_cq->res.kern_name | (-1),7-8 |
| STR_LEN | 0 | ibqp->send_cq->res.kern_name | (-1),7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ibqp->qp_type | 2-4,8,255 |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->phys_port_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->recv_cq->cqe_used | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->send_cq->cqe_used |
drivers/infiniband/hw/efa/efa_verbs.c efa_destroy_qp() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 4096-ptr_max |
| BUF_SIZE | 0 | ibqp | (-1),1-s32max |
| BUF_SIZE | 0 | ibqp | (-1),1-s32max |
| BUF_SIZE | 0 | ibqp->pd | s32min,(-1)-s32max |
| BUF_SIZE | 0 | ibqp->qp_context | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ibqp->recv_cq | (-1)-s32max |
| BUF_SIZE | 0 | ibqp->rwq_ind_tbl | (-1)-s32max |
| BUF_SIZE | 0 | ibqp->send_cq | (-1)-s32max |
| BUF_SIZE | 0 | ibqp->srq | (-1)-s32max |
| CAPPED_DATA | 0 | ibqp | 1 |
| CAPPED_DATA | 0 | ibqp->real_qp | 1 |
| DATA_SOURCE | 0 | ibqp | $0 |
| STR_LEN | 0 | ibqp->device | (-1),3,6-9 |
| STR_LEN | 0 | ibqp->pd | (-1),3,6-8 |
| STR_LEN | 0 | ibqp->pd->res.kern_name | (-1),7,9-10 |
| STR_LEN | 0 | ibqp->qp_sec->dev | (-1) |
| STR_LEN | 0 | ibqp->real_qp->device | (-1),3,6-9 |
| STR_LEN | 0 | ibqp->real_qp->pd | (-1),3,6-8 |
| STR_LEN | 0 | ibqp->recv_cq->res.kern_name | (-1),7-8 |
| STR_LEN | 0 | ibqp->send_cq->res.kern_name | (-1),7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ibqp->counter->port | 0-255[c] |
| USER_DATA | 0 | ibqp->qp_sec->qp->qp_type | 2-4,8,255 |
| USER_DATA | 0 | ibqp->qp_type | 2-4,8,255 |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->device->phys_port_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->qp_sec->dev->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->qp_sec->dev->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->qp_sec->dev->phys_port_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->recv_cq->cqe_used | |
| NO_OVERFLOW_SIMPLE | 0 | ibqp->send_cq->cqe_used |
drivers/infiniband/hw/efa/efa_verbs.c efa_modify_qp() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 4096-ptr_max |
| DATA_SOURCE | 0 | ibqp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &ibqp->qp_sec->mutex |
drivers/infiniband/hw/efa/efa_verbs.c efa_qp_attach_comp_cntr() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 4096-ptr_max |
| BUF_SIZE | 0 | ibqp | 1-s32max |
| BUF_SIZE | 0 | ibqp | 1-s32max |
| CAPPED_DATA | 0 | ibqp | 1 |
| CAPPED_DATA | 0 | ibqp->real_qp | 1 |
| DATA_SOURCE | 0 | ibqp | $0 |
drivers/infiniband/hw/efa/efa_verbs.c efa_query_qp() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibqp | 4096-ptr_max |
| DATA_SOURCE | 0 | ibqp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &iser_conn->state_mutex |
drivers/infiniband/hw/erdma/erdma_qp.c erdma_post_recv() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ibqp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdma->rq_sem |
drivers/infiniband/hw/erdma/erdma_qp.c erdma_post_send() -> to_eqp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ibqp | $0 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &conn->send_lock | ||
| HALF_LOCKED2 | &gsi->lock | ||
| HALF_LOCKED2 | &mr->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdma->sq_sem | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags |