Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/infiniband/core/verbs.c __ib_alloc_pd() -> rdma_restrack_add()

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->kern_name 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter 1
PARAM_VALUE 0 res->type 0
TERMINATED 0 res->kern_name 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_add()

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->kern_name 721450307168702464,3889380589504172032,4070348433790021632,4864334747044499456,4985377764606808064
PARAM_VALUE 0 res->kref.refcount.refs.counter 1
PARAM_VALUE 0 res->type 1
TERMINATED 0 res->kern_name 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_add()

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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/infiniband/core/verbs.c ib_alloc_mr() -> rdma_restrack_add()

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 0 res->user 1
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_add()

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 0 res->user 1
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_add()

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 7
PARAM_VALUE 0 res->user 1
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_add()

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 0 res->user 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/infiniband/core/cma.c addr_handler() -> rdma_restrack_add()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
NOCHECK_CALL
LOCK2 &id_priv->handler_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rdma_id_private)->handler_mutex

drivers/infiniband/core/cma.c cma_bind_loopback() -> rdma_restrack_add()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->valid 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &lock
HALF_LOCKED2 &clt_path->init_mutex
HALF_LOCKED2 &ctx->mutex
HALF_LOCKED2 &iser_conn->state_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rx_queue_mutex

drivers/infiniband/core/cma.c cma_ib_acquire_dev() -> rdma_restrack_add()

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
NOCHECK_CALL
LOCK2 &id_priv->handler_mutex
LOCK2 &listen_id_priv->handler_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rdma_id_private)->handler_mutex

drivers/infiniband/core/cma.c cma_iw_acquire_dev() -> rdma_restrack_add()

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
NOCHECK_CALL
LOCK2 &id_priv->handler_mutex
LOCK2 &listen_id_priv->handler_mutex
LOCK2 &pool->lock
LOCK2 global &lock
TYPE_LOCK (struct rdma_id_private)->handler_mutex

drivers/infiniband/core/cma.c cma_listen_on_dev() -> rdma_restrack_add()

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
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &lock
HALF_LOCKED2 &device->client_data_rwsem
HALF_LOCKED2 global &clients_rwsem
HALF_LOCKED2 global &devices_rwsem

drivers/infiniband/core/cma.c cma_resolve_ib_dev() -> rdma_restrack_add()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->valid 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &lock
HALF_LOCKED2 &clt_path->init_mutex
HALF_LOCKED2 &ctx->mutex
HALF_LOCKED2 &iser_conn->state_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rx_queue_mutex

drivers/infiniband/core/cma.c rdma_bind_addr_dst() -> rdma_restrack_add()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->mutex
HALF_LOCKED2 &pool->lock

drivers/infiniband/core/uverbs_std_types_comp_cntr.c ib_uverbs_handler_UVERBS_METHOD_COMP_CNTR_CREATE() -> rdma_restrack_add()

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 0 res->user 1
NOCHECK_CALL

drivers/infiniband/core/uverbs_std_types_cq.c ib_uverbs_handler_UVERBS_METHOD_CQ_CREATE() -> rdma_restrack_add()

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 0 res->user 1
NOCHECK_CALL

drivers/infiniband/core/uverbs_std_types_dmah.c ib_uverbs_handler_UVERBS_METHOD_DMAH_ALLOC() -> rdma_restrack_add()

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 0 res->user 1
NOCHECK_CALL

drivers/infiniband/core/counters.c alloc_and_bind() -> rdma_restrack_add()

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 6
PARAM_VALUE 0 res->user 1
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_add()

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 0 res->user 1
NOCHECK_CALL

drivers/infiniband/core/uverbs_std_types_mr.c ib_uverbs_handler_UVERBS_METHOD_REG_DMABUF_MR() -> rdma_restrack_add()

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 0 res->user 1
NOCHECK_CALL

drivers/infiniband/core/uverbs_std_types_mr.c ib_uverbs_handler_UVERBS_METHOD_REG_MR() -> rdma_restrack_add()

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 0 res->user 1
NOCHECK_CALL

drivers/infiniband/core/uverbs_cmd.c create_cq() -> rdma_restrack_add()

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 0 res->user 1
NOCHECK_CALL
HALF_LOCKED2 &file->device->disassociate_srcu

drivers/infiniband/core/uverbs_cmd.c ib_init_ucontext() -> rdma_restrack_add()

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 0 res->user 1
NOCHECK_CALL
LOCK2 &file->hw_destroy_rwsem
LOCK2 &file->ucontext_lock
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->ucontext_lock

drivers/infiniband/core/uverbs_cmd.c ib_uverbs_alloc_pd() -> rdma_restrack_add()

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 0 res->user 1
NOCHECK_CALL
HALF_LOCKED2 &file->device->disassociate_srcu

drivers/infiniband/core/uverbs_cmd.c ib_uverbs_reg_mr() -> rdma_restrack_add()

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 0 res->user 1
NOCHECK_CALL
HALF_LOCKED2 &file->device->disassociate_srcu

drivers/infiniband/core/uverbs_cmd.c ib_uverbs_rereg_mr() -> rdma_restrack_add()

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 0 res->user 1
NOCHECK_CALL
HALF_LOCKED2 &file->device->disassociate_srcu

drivers/infiniband/core/cq.c __ib_alloc_cq() -> rdma_restrack_add()

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->kern_name 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter 1
PARAM_VALUE 0 res->type 1
TERMINATED 0 res->kern_name 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