Defined in 2 files as a function:
- drivers/infiniband/hw/efa/efa_verbs.c, line 160 (as a function)
- drivers/infiniband/hw/erdma/erdma_verbs.h, line 440 (as a function)
Referenced in 3 files:
- drivers/infiniband/hw/efa/efa_verbs.c
- drivers/infiniband/hw/erdma/erdma_cq.c
- drivers/infiniband/hw/erdma/erdma_verbs.c
Smatch caller information:
drivers/infiniband/hw/erdma/erdma_cq.c erdma_poll_cq() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibcq | 4096-ptr_max |
| BUF_SIZE | 0 | ibcq | (-1),1-s32max |
| BUF_SIZE | 0 | ibcq | (-1),1-s32max |
| DATA_SOURCE | 0 | ibcq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/erdma/erdma_cq.c erdma_remove_cqes_of_qp() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ibcq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &qp->state_lock | ||
| HALF_LOCKED2 | &ibqp->qp_sec->mutex | ||
| TYPE_LOCK | (struct erdma_qp)->state_lock |
drivers/infiniband/hw/erdma/erdma_cq.c erdma_req_notify_cq() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibcq | 4096-ptr_max |
| BUF_SIZE | 0 | ibcq | (-1),1-s32max |
| BUF_SIZE | 0 | ibcq | (-1),1-s32max |
| BUF_SIZE | 0 | ibcq->cq_context | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ibcq->res.kern_name | (-1),9 |
| BUF_SIZE | 0 | ibcq->wc | (-1),1152 |
| DATA_SOURCE | 0 | ibcq | $0 |
| STR_LEN | 0 | ibcq->cq_context | (-1),7 |
| STR_LEN | 0 | ibcq->device | (-1),6-12 |
| STR_LEN | 0 | ibcq->res.kern_name | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->phys_port_cnt | |
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_create_cq() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibcq | 4096-ptr_max |
| BUF_SIZE | 0 | ibcq->cq_context | s32min-s32max |
| BUF_SIZE | 0 | ibcq->device | (-1),5000 |
| BUF_SIZE | 0 | ibcq->wc | (-1),1152 |
| DATA_SOURCE | 0 | ibcq | $0 |
| STR_LEN | 0 | ibcq->cq_context | (-1),7 |
| STR_LEN | 0 | ibcq->device | (-1),3,6-12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->phys_port_cnt |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_create_qp() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibcq | 1-u64max |
| BUF_SIZE | 0 | ibcq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 0 | ibcq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| STR_LEN | 0 | ibcq->res.kern_name | (-1),7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ibcq->cqe_used |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_create_qp() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibcq | 1-u64max |
| BUF_SIZE | 0 | ibcq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 0 | ibcq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| STR_LEN | 0 | ibcq->res.kern_name | (-1),7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ibcq->cqe_used |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_destroy_cq() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibcq | 4096-ptr_max |
| BUF_SIZE | 0 | ibcq | (-1),1-s32max |
| BUF_SIZE | 0 | ibcq | (-1),1-s32max |
| BUF_SIZE | 0 | ibcq->cq_context | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ibcq->res.kern_name | (-1),4,8-9 |
| BUF_SIZE | 0 | ibcq->wc | (-1),1152 |
| DATA_SOURCE | 0 | ibcq | $0 |
| STR_LEN | 0 | ibcq->cq_context | (-1),7 |
| STR_LEN | 0 | ibcq->device | (-1),6-12 |
| STR_LEN | 0 | ibcq->res.kern_name | (-1),3,7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ibcq->device->ops.size_ib_cq | 0-4000000 |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->cqe_used | |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->phys_port_cnt |
drivers/infiniband/hw/efa/efa_verbs.c efa_create_qp() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ibcq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 0 | ibcq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| STR_LEN | 0 | ibcq->res.kern_name | (-1),7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ibcq->cqe_used |
drivers/infiniband/hw/efa/efa_verbs.c efa_create_qp() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ibcq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| BUF_SIZE | 0 | ibcq | (-1)-0,16,24,32,40,56,64,232,264,280,352,536,680 |
| STR_LEN | 0 | ibcq->res.kern_name | (-1),7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ibcq->cqe_used |
drivers/infiniband/hw/efa/efa_verbs.c efa_create_user_cq() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibcq | 4096-ptr_max |
| BUF_SIZE | 0 | ibcq->cq_context | 0,192 |
| DATA_SOURCE | 0 | ibcq | $0 |
drivers/infiniband/hw/efa/efa_verbs.c efa_destroy_cq() -> to_ecq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ibcq | 4096-ptr_max |
| BUF_SIZE | 0 | ibcq | (-1),1-s32max |
| BUF_SIZE | 0 | ibcq | (-1),1-s32max |
| BUF_SIZE | 0 | ibcq->cq_context | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ibcq->res.kern_name | (-1),4,8-9 |
| BUF_SIZE | 0 | ibcq->wc | (-1),1152 |
| DATA_SOURCE | 0 | ibcq | $0 |
| STR_LEN | 0 | ibcq->cq_context | (-1),7 |
| STR_LEN | 0 | ibcq->device | (-1),6-12 |
| STR_LEN | 0 | ibcq->res.kern_name | (-1),3,7-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ibcq->device->ops.size_ib_cq | 0-4000000 |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->cqe_used | |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | ibcq->device->phys_port_cnt |