Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

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

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_put()

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_put()

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_create_srq_user() -> rdma_restrack_put()

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/uverbs_std_types_comp_cntr.c ib_uverbs_handler_UVERBS_METHOD_COMP_CNTR_CREATE() -> rdma_restrack_put()

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_put()

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/nldev.c fill_res_srq_qps() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter (-1073741824),0-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(&rt->xa)->xa_lock

drivers/infiniband/core/nldev.c fill_res_srq_qps() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter (-1073741824),0-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(&rt->xa)->xa_lock

drivers/infiniband/core/nldev.c fill_res_srq_qps() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter (-1073741824),0-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(&rt->xa)->xa_lock

drivers/infiniband/core/nldev.c res_get_common_doit() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter (-1073741824),0-s32max
DATA_SOURCE 0 res r rdma_restrack_get_byid
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/infiniband/core/nldev.c res_get_common_doit() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter (-1073741824),0-s32max
DATA_SOURCE 0 res r rdma_restrack_get_byid
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/infiniband/core/nldev.c res_get_common_dumpit() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter (-1073741824),0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

drivers/infiniband/core/nldev.c res_get_common_dumpit() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter (-1073741824),0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &nlk->nl_cb_mutex
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

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

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_put()

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

drivers/infiniband/core/counters.c get_running_counters_hwstat_sum() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter (-1073741824),0-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(&rt->xa)->xa_lock
LOCK2 &stats->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct rdma_hw_stats)->lock

drivers/infiniband/core/counters.c rdma_counter_bind_qpn() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/infiniband/core/counters.c rdma_counter_bind_qpn() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/infiniband/core/counters.c rdma_counter_bind_qpn_alloc() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->task 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/infiniband/core/counters.c rdma_counter_bind_qpn_alloc() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/infiniband/core/counters.c rdma_counter_get_qp() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter (-1073741824),0-s32max
DATA_SOURCE 0 res r rdma_restrack_get_byid
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/infiniband/core/counters.c rdma_counter_unbind_qpn() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

drivers/infiniband/core/counters.c rdma_get_counter_by_id() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->kref.refcount.refs.counter (-1073741824),0-s32max
DATA_SOURCE 0 res r rdma_restrack_get_byid
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

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

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_uverbs_alloc_pd() -> rdma_restrack_put()

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_get_context() -> rdma_restrack_put()

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
HALF_LOCKED2 &file->device->disassociate_srcu

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

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

drivers/infiniband/core/restrack.c rdma_restrack_del() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->type 0-9
PARAM_VALUE 0 res->valid 0
CAPPED_DATA 0 res 1
DATA_SOURCE 0 res $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ufile->hw_destroy_rwsem

drivers/infiniband/core/restrack.c restrack_drain_res() -> rdma_restrack_put()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 0 res->valid 1
CAPPED_DATA 0 res 1
DATA_SOURCE 0 res $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL