Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/infiniband/core/cma.c, line 1044
- drivers/infiniband/core/counters.c, line 166
- drivers/infiniband/core/cq.c, line 240
- drivers/infiniband/core/restrack.c, line 219
- drivers/infiniband/core/uverbs_cmd.c
- drivers/infiniband/core/uverbs_std_types_comp_cntr.c, line 52
- drivers/infiniband/core/uverbs_std_types_cq.c, line 132
- drivers/infiniband/core/uverbs_std_types_dmah.c, line 91
- 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_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| 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_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 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_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/verbs.c ib_alloc_mr() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cls_conn->ep_mutex | ||
| HALF_LOCKED2 | &clt_path->init_mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &srv->paths_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/infiniband/core/verbs.c ib_alloc_mr_integrity() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cls_conn->ep_mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/infiniband/core/verbs.c ib_create_srq_user() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devr->srq_lock | ||
| HALF_LOCKED2 | global &device_list_mutex |
drivers/infiniband/core/verbs.c ib_reg_user_mr() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/cma.c __rdma_create_id() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &listen_id->handler_mutex | ||
| HALF_LOCKED2 | &parent->handler_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &lock |
drivers/infiniband/core/uverbs_std_types_comp_cntr.c ib_uverbs_handler_UVERBS_METHOD_COMP_CNTR_CREATE() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 9 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_cq.c ib_uverbs_handler_UVERBS_METHOD_CQ_CREATE() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_dmah.c ib_uverbs_handler_UVERBS_METHOD_DMAH_ALLOC() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 8 |
| NOCHECK_CALL |
drivers/infiniband/core/counters.c alloc_and_bind() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_mr.c ib_uverbs_handler_UVERBS_METHOD_DM_MR_REG() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_mr.c ib_uverbs_handler_UVERBS_METHOD_REG_DMABUF_MR() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_mr.c ib_uverbs_handler_UVERBS_METHOD_REG_MR() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_cmd.c create_cq() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_alloc_ucontext() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 5 |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_alloc_pd() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_reg_mr() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_rereg_mr() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/cq.c __ib_alloc_cq() -> rdma_restrack_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 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 |