Defined in 1 files as a function:
Referenced in 4 files:
- drivers/infiniband/hw/mlx5/main.c
- drivers/infiniband/ulp/ipoib/ipoib_cm.c, line 1562
- drivers/infiniband/ulp/srpt/ib_srpt.c, line 3140
- drivers/nvme/target/rdma.c, line 1109
Smatch caller information:
drivers/infiniband/ulp/ipoib/ipoib_cm.c ipoib_cm_create_srq() -> ib_create_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srq_init_attr | 3415840050636136448 |
| PARAM_VALUE | 1 | srq_init_attr->attr.max_sge | 0-16 |
| PARAM_VALUE | 1 | srq_init_attr->event_handler | 0 |
| PARAM_VALUE | 1 | srq_init_attr->ext.cq | 0 |
| PARAM_VALUE | 1 | srq_init_attr->ext.xrc.xrcd | 0 |
| PARAM_VALUE | 1 | srq_init_attr->srq_context | 0 |
| PARAM_VALUE | 1 | srq_init_attr->srq_type | 0 |
drivers/infiniband/hw/mlx5/main.c mlx5_ib_dev_res_srq_init() -> ib_create_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srq_init_attr | 8823925906084560896 |
| PARAM_VALUE | 1 | srq_init_attr->attr.max_sge | 1 |
| PARAM_VALUE | 1 | srq_init_attr->attr.max_wr | 1 |
| PARAM_VALUE | 1 | srq_init_attr->srq_type | 1 |
| MEM_ZERO | 1 | srq_init_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &devr->srq_lock | ||
| TYPE_LOCK | (struct mlx5_ib_resources)->srq_lock |
drivers/infiniband/hw/mlx5/main.c mlx5_ib_dev_res_srq_init() -> ib_create_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pd | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->device->ops.create_srq | 1-u64max |
| PARAM_VALUE | 0 | pd->device->ops.size_ib_srq | 0-4000000 |
| PARAM_VALUE | 0 | pd->res.task | 0,4096-ptr_max |
| PARAM_VALUE | 1 | srq_init_attr | 8823925906084560896 |
| PARAM_VALUE | 1 | srq_init_attr->attr.max_sge | 1 |
| PARAM_VALUE | 1 | srq_init_attr->attr.max_wr | 1 |
| PARAM_VALUE | 1 | srq_init_attr->event_handler | 0 |
| PARAM_VALUE | 1 | srq_init_attr->ext.cq | 0 |
| PARAM_VALUE | 1 | srq_init_attr->srq_type | 0 |
| MEM_ZERO | 1 | srq_init_attr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &devr->srq_lock | ||
| TYPE_LOCK | (struct mlx5_ib_resources)->srq_lock |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_alloc_srq() -> ib_create_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srq_init_attr | 1156783203728863232 |
| PARAM_VALUE | 1 | srq_init_attr->attr.max_sge | 1 |
| PARAM_VALUE | 1 | srq_init_attr->event_handler | 4306397753105473536 |
| PARAM_VALUE | 1 | srq_init_attr->ext.cq | 0 |
| PARAM_VALUE | 1 | srq_init_attr->ext.xrc.xrcd | 0 |
| PARAM_VALUE | 1 | srq_init_attr->srq_context | 4096-ptr_max |
| PARAM_VALUE | 1 | srq_init_attr->srq_type | 0 |
| BUF_SIZE | 0 | pd->res.kern_name | (-1),8 |
| STR_LEN | 0 | pd->device | (-1),6-9,11-12 |
| STR_LEN | 0 | pd->res.kern_name | (-1),7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pd->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | pd->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | pd->device->phys_port_cnt | |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &sdev->sdev_mutex | ||
| HALF_LOCKED2 | &sport->mutex | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem |
drivers/nvme/target/rdma.c nvmet_rdma_init_srq() -> ib_create_srq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pd | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->device | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->device->ops.size_ib_pd | 0-4000000 |
| PARAM_VALUE | 0 | pd->flags | 0 |
| PARAM_VALUE | 0 | pd->res.comp.done | 0 |
| PARAM_VALUE | 0 | pd->res.comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | pd->res.comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | pd->res.comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | pd->res.comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->res.comp.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->res.comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->res.comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->res.comp.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pd->res.kern_name | 7591882399753277440 |
| PARAM_VALUE | 0 | pd->res.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | pd->res.type | 0 |
| PARAM_VALUE | 1 | srq_init_attr | 2179161002446114816 |
| PARAM_VALUE | 1 | srq_init_attr->event_handler | 0 |
| PARAM_VALUE | 1 | srq_init_attr->ext.cq | 0 |
| PARAM_VALUE | 1 | srq_init_attr->ext.xrc.xrcd | 0 |
| PARAM_VALUE | 1 | srq_init_attr->srq_context | 0 |
| PARAM_VALUE | 1 | srq_init_attr->srq_type | 0 |
| BUF_SIZE | 0 | pd->res.kern_name | 11 |
| STR_LEN | 0 | pd->res.kern_name | 10 |
| TERMINATED | 0 | pd->res.kern_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pd->device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | pd->device->num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | pd->device->phys_port_cnt | |
| LOCK2 | global &device_list_mutex | ||
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id->handler_mutex |