Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/infiniband/core/uverbs_cmd.c, line 3372
- drivers/infiniband/core/uverbs_std_types_srq.c, line 107
- drivers/infiniband/core/verbs.c, line 1119
- include/rdma/ib_verbs.h, line 3961
Smatch caller information:
drivers/infiniband/ulp/ipoib/ipoib_cm.c ib_create_srq() -> ib_create_srq_user()
| 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 | 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 |
| PARAM_VALUE | 2 | uobject | 0 |
| PARAM_VALUE | 3 | udata | 0 |
| DATA_SOURCE | 0 | pd | $0 |
| DATA_SOURCE | 1 | srq_init_attr | $1 |
drivers/infiniband/hw/mlx5/main.c ib_create_srq() -> ib_create_srq_user()
| 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 | 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->srq_type | 0-1 |
| PARAM_VALUE | 2 | uobject | 0 |
| PARAM_VALUE | 3 | udata | 0 |
| DATA_SOURCE | 0 | pd | $0 |
| DATA_SOURCE | 1 | srq_init_attr | $1 |
| HARD_MAX | 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/core/uverbs_cmd.c __uverbs_create_xsrq() -> ib_create_srq_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pd | 0-ptr_max |
| PARAM_VALUE | 1 | srq_init_attr | 2114509107582083072 |
| PARAM_VALUE | 1 | srq_init_attr->event_handler | 4365605385410420736 |
| PARAM_VALUE | 2 | uobject | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 2 | uobject->uevent.event_list.next | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->uevent.event_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->uevent.event_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->uevent.event_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->uevent.event_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->usecnt.counter | (-1) |
| PARAM_VALUE | 3 | udata->inlen | 0-524280,18446744073709551361-u64max |
| PARAM_VALUE | 3 | udata->outlen | 0-524280,18446744073709551361-u64max |
| BUF_SIZE | 0 | pd | 1-s32max |
| BUF_SIZE | 0 | pd | 1-s32max |
| BUF_SIZE | 2 | uobject | s32min-s32max |
| DATA_SOURCE | 0 | pd | r _uobj_get_obj_read |
| DATA_SOURCE | 2 | uobject | r __uobj_alloc |
| DATA_SOURCE | 3 | udata | $2 |
| USER_DATA | 1 | srq_init_attr->attr.max_sge | 0-u32max |
| USER_DATA | 1 | srq_init_attr->attr.max_wr | 0-u32max |
| USER_DATA | 1 | srq_init_attr->attr.srq_limit | 0-u32max |
| USER_DATA | 1 | srq_init_attr->ext.tag_matching.max_num_tags | 0-u32max |
| USER_DATA | 1 | srq_init_attr->srq_type | 0,3-u32max |
| USER_DATA | 2 | uobject->uevent.uobject.user_handle | 0-u64max |
| USER_DATA | 3 | udata->inlen | 0-524280,18446744073709551361-u64max |
| USER_DATA | 3 | udata->outlen | 0-524280,18446744073709551361-u64max |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_std_types_srq.c ib_uverbs_handler_UVERBS_METHOD_SRQ_CREATE() -> ib_create_srq_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | srq_init_attr | 6365966776295284736 |
| PARAM_VALUE | 1 | srq_init_attr->event_handler | 4365605385410420736 |
| PARAM_VALUE | 1 | srq_init_attr->ext.cq | 0-ptr_max |
| PARAM_VALUE | 1 | srq_init_attr->srq_context | 0 |
| PARAM_VALUE | 1 | srq_init_attr->srq_type | 0-2 |
| PARAM_VALUE | 2 | uobject | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->uevent.event_file | 0,4096-ptr_max |
| PARAM_VALUE | 2 | uobject->uevent.event_list.next | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->uevent.event_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->uevent.event_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->uevent.event_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | uobject->uevent.event_list.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | pd | (-1),1-s32max |
| BUF_SIZE | 0 | pd | (-1),1-s32max |
| DATA_SOURCE | 0 | pd | r uverbs_attr_get_obj |
drivers/infiniband/ulp/srpt/ib_srpt.c ib_create_srq() -> ib_create_srq_user()
| 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 | 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 |
| PARAM_VALUE | 2 | uobject | 0 |
| PARAM_VALUE | 3 | udata | 0 |
| BUF_SIZE | 0 | pd->res.kern_name | (-1),8 |
| DATA_SOURCE | 0 | pd | $0 |
| DATA_SOURCE | 1 | srq_init_attr | $1 |
| STR_LEN | 0 | pd->device | (-1),6-9,11-12 |
| STR_LEN | 0 | pd->res.kern_name | (-1),7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pd->device->ops.size_ib_pd | 0-4000000 |
| 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 ib_create_srq() -> ib_create_srq_user()
| 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_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 |
| PARAM_VALUE | 2 | uobject | 0 |
| PARAM_VALUE | 3 | udata | 0 |
| BUF_SIZE | 0 | pd->res.kern_name | 11 |
| DATA_SOURCE | 0 | pd | $0 |
| DATA_SOURCE | 1 | srq_init_attr | $1 |
| 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 |