Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/nvme/host/rdma.c nvme_rdma_create_queue_ib() -> ib_mr_pool_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qp | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| PARAM_VALUE | 3 | type | 0 |
| PARAM_VALUE | 4 | max_num_sg | 1-257 |
| PARAM_VALUE | 5 | max_num_meta_sg | 0 |
| CAPPED_DATA | 2 | nr | 1 |
| CAPPED_DATA | 4 | max_num_sg | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | nr | |
| UNITS | 2 | nr | unit_array_size |
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id->handler_mutex |
drivers/nvme/host/rdma.c nvme_rdma_create_queue_ib() -> ib_mr_pool_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->mr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | qp->pd->device->ops.alloc_mr | 1-u64max |
| PARAM_VALUE | 0 | qp->pd->device->ops.alloc_mr_integrity | 1-u64max |
| PARAM_VALUE | 0 | qp->pd->device->ops.map_mr_sg_pi | 1-u64max |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| PARAM_VALUE | 3 | type | 5 |
| PARAM_VALUE | 4 | max_num_sg | 1-257 |
| PARAM_VALUE | 5 | max_num_meta_sg | 1-257 |
| CAPPED_DATA | 0 | &qp->rdma_mrs | 1 |
| CAPPED_DATA | 2 | nr | 1 |
| CAPPED_DATA | 4 | max_num_sg | 1 |
| CAPPED_DATA | 5 | max_num_meta_sg | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | nr | |
| UNITS | 2 | nr | unit_array_size |
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id->handler_mutex |
drivers/infiniband/core/rw.c rdma_rw_init_mrs() -> ib_mr_pool_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->comp_cntrs.xa_flags | 0 |
| PARAM_VALUE | 0 | qp->comp_cntrs.xa_head | 0 |
| PARAM_VALUE | 0 | qp->device | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->device->ops.create_qp | 1-u64max |
| PARAM_VALUE | 0 | qp->event_handler | 5845194441982709760 |
| PARAM_VALUE | 0 | qp->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->pd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->pd->device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->qp_type | 0-2,4,4096-4097 |
| PARAM_VALUE | 0 | qp->rdma_mrs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->rdma_mrs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->rdma_mrs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->rdma_mrs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->rdma_mrs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp->device | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp->pd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp->real_qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp->uobject | 0,4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.comp.done | 0 |
| PARAM_VALUE | 0 | qp->res.comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | qp->res.comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | qp->res.comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | qp->res.comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | qp->res.type | 2 |
| PARAM_VALUE | 0 | qp->sig_mrs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->sig_mrs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->sig_mrs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->sig_mrs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->sig_mrs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->srq_completion.done | 0 |
| PARAM_VALUE | 0 | qp->srq_completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | qp->srq_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | qp->srq_completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | qp->srq_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->srq_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->srq_completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->srq_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->srq_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->uobject | 0 |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| PARAM_VALUE | 1 | list->next | 4096-ptr_max |
| PARAM_VALUE | 1 | list->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | nr | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | type | 0 |
| PARAM_VALUE | 4 | max_num_sg | 0-256 |
| PARAM_VALUE | 5 | max_num_meta_sg | 0 |
| BUF_SIZE | 0 | qp->pd | (-1)-s32max |
| BUF_SIZE | 0 | qp->qp_context | s32min-(-1),1-s32max |
| CAPPED_DATA | 4 | max_num_sg | 1 |
| DATA_SOURCE | 0 | qp | $0 |
| STR_LEN | 0 | qp->pd | 3,6-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | qp->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | qp->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | qp->device->phys_port_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | qp->qp_sec->dev->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | qp->qp_sec->dev->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | qp->qp_sec->dev->phys_port_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | qp->recv_cq->cqe_used | |
| NO_OVERFLOW_SIMPLE | 0 | qp->send_cq->cqe_used | |
| NO_OVERFLOW_SIMPLE | 2 | nr | |
| HALF_LOCKED2 | &rport->mutex |
drivers/infiniband/core/rw.c rdma_rw_init_mrs() -> ib_mr_pool_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->comp_cntrs.xa_flags | 0 |
| PARAM_VALUE | 0 | qp->comp_cntrs.xa_head | 0 |
| PARAM_VALUE | 0 | qp->device | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->device->ops.create_qp | 1-u64max |
| PARAM_VALUE | 0 | qp->event_handler | 5845194441982709760 |
| PARAM_VALUE | 0 | qp->mr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | qp->pd | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->pd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->pd->device->ops.alloc_mr | 1-u64max |
| PARAM_VALUE | 0 | qp->pd->device->ops.alloc_mr_integrity | 1-u64max |
| PARAM_VALUE | 0 | qp->pd->device->ops.map_mr_sg_pi | 1-u64max |
| PARAM_VALUE | 0 | qp->pd->device->port_data | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->qp_type | 0-2,4,4096-4097 |
| PARAM_VALUE | 0 | qp->rdma_mrs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->rdma_mrs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->rdma_mrs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->rdma_mrs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp->device | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp->pd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp->real_qp | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->real_qp->uobject | 0,4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.comp.done | 0 |
| PARAM_VALUE | 0 | qp->res.comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | qp->res.comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | qp->res.comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | qp->res.comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->res.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | qp->res.type | 2 |
| PARAM_VALUE | 0 | qp->sig_mrs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->sig_mrs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->sig_mrs.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->sig_mrs.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->sig_mrs.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->srq_completion.done | 0 |
| PARAM_VALUE | 0 | qp->srq_completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | qp->srq_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | qp->srq_completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | qp->srq_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->srq_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->srq_completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->srq_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->srq_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | qp->uobject | 0 |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| PARAM_VALUE | 1 | list->next | 4096-ptr_max |
| PARAM_VALUE | 1 | list->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | nr | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | type | 5 |
| PARAM_VALUE | 4 | max_num_sg | 0-256 |
| PARAM_VALUE | 5 | max_num_meta_sg | 0-256 |
| BUF_SIZE | 0 | qp->pd | (-1)-s32max |
| BUF_SIZE | 0 | qp->qp_context | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &qp->rdma_mrs | 1 |
| CAPPED_DATA | 4 | max_num_sg | 1 |
| CAPPED_DATA | 5 | max_num_meta_sg | 1 |
| DATA_SOURCE | 0 | qp | $0 |
| DATA_SOURCE | 4 | max_num_sg | r rdma_rw_fr_page_list_len |
| DATA_SOURCE | 5 | max_num_meta_sg | r rdma_rw_fr_page_list_len |
| STR_LEN | 0 | qp->pd | 3,6-8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | qp->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | qp->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | qp->device->phys_port_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | qp->qp_sec->dev->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | qp->qp_sec->dev->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | qp->qp_sec->dev->phys_port_cnt | |
| NO_OVERFLOW_SIMPLE | 0 | qp->recv_cq->cqe_used | |
| NO_OVERFLOW_SIMPLE | 0 | qp->send_cq->cqe_used | |
| NO_OVERFLOW_SIMPLE | 2 | nr | |
| HALF_LOCKED2 | &rport->mutex |