Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/infiniband/core/cma.c
- drivers/infiniband/core/cq.c, line 241
- drivers/infiniband/core/restrack.c, line 188
- drivers/infiniband/core/uverbs_cmd.c
- drivers/infiniband/core/uverbs_std_types_comp_cntr.c, line 53
- drivers/infiniband/core/uverbs_std_types_cq.c, line 133
- drivers/infiniband/core/uverbs_std_types_dmah.c, line 92
- drivers/infiniband/core/uverbs_std_types_mr.c
- drivers/infiniband/core/verbs.c
Smatch caller information:
drivers/infiniband/core/verbs.c __ib_alloc_pd() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 0 |
| PARAM_VALUE | 1 | caller | 4096-ptr_max |
| BUF_SIZE | 1 | caller | 4,7-11 |
| BUF_SIZE | 1 | caller | 4,7-11 |
| DATA_SOURCE | 1 | caller | $2 |
| TERMINATED | 1 | caller | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &devr->cq_lock | ||
| HALF_LOCKED2 | &ibudev->xrcd_tree_mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &device_list_mutex | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &ig.device_list_mutex |
drivers/infiniband/core/verbs.c __ib_create_cq() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 1 |
| PARAM_VALUE | 1 | caller | 721450307168702464,3889380589504172032,4070348433790021632,4864334747044499456,4985377764606808064 |
| BUF_SIZE | 1 | caller | 4,8-9 |
| BUF_SIZE | 1 | caller | 4,8-9 |
| DATA_SOURCE | 1 | caller | $5 |
| TERMINATED | 1 | caller | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devr->cq_lock | ||
| HALF_LOCKED2 | &ibudev->xrcd_tree_mutex | ||
| HALF_LOCKED2 | &smcibdev->mutex |
drivers/infiniband/core/verbs.c create_qp() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 2 |
| PARAM_VALUE | 1 | caller | 0,4096-ptr_max |
| BUF_SIZE | 1 | caller | 0,4,7-10 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/cma.c __rdma_create_kernel_id() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 3 |
| PARAM_VALUE | 1 | caller | 4096-ptr_max |
| BUF_SIZE | 1 | caller | 7-12 |
| BUF_SIZE | 1 | caller | 7-12 |
| DATA_SOURCE | 1 | caller | $5 |
| TERMINATED | 1 | caller | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &clt_path->init_mutex | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &ib_ctx.ib_dev_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/infiniband/core/cma.c rdma_create_user_id() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 3 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_comp_cntr.c ib_uverbs_handler_UVERBS_METHOD_COMP_CNTR_CREATE() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 9 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_cq.c ib_uverbs_handler_UVERBS_METHOD_CQ_CREATE() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 1 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_dmah.c ib_uverbs_handler_UVERBS_METHOD_DMAH_ALLOC() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 8 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_mr.c ib_uverbs_handler_UVERBS_METHOD_DM_MR_REG() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 4 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_mr.c ib_uverbs_handler_UVERBS_METHOD_REG_DMABUF_MR() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 4 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_mr.c ib_uverbs_handler_UVERBS_METHOD_REG_MR() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 4 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_cmd.c create_cq() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 1 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_alloc_ucontext() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 5 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_alloc_pd() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 0 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_reg_mr() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 4 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_rereg_mr() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 4 |
| PARAM_VALUE | 1 | caller | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/cq.c __ib_alloc_cq() -> rdma_restrack_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | res->comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | res->comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | res->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | res->type | 1 |
| PARAM_VALUE | 1 | caller | 4096-ptr_max |
| BUF_SIZE | 1 | caller | 7-8,10-11 |
| BUF_SIZE | 1 | caller | 7-8,10-11 |
| DATA_SOURCE | 1 | caller | $5 |
| TERMINATED | 1 | caller | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->umrc.init_lock | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem |