Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->port_data 4096-ptr_max
PARAM_VALUE 2 qp 4096-ptr_max
PARAM_VALUE 2 qp->counter 0
PARAM_VALUE 2 qp->device 4096-ptr_max
PARAM_VALUE 2 qp->device->port_data 4096-ptr_max
PARAM_VALUE 2 qp->res.no_track 0
PARAM_VALUE 2 qp->res.user 1
PARAM_VALUE 2 qp->xrcd->tgt_qps_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 2 qp->xrcd->tgt_qps_rwsem.first_waiter->type 0-1
PARAM_VALUE 3 mode 1
CAPPED_DATA 1 port 1
CAPPED_DATA 2 qp->device 1
DATA_SOURCE 1 port $1
DATA_SOURCE 2 qp $0
NOSPEC 1 port
NOSPEC 1 port
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 port 0-255[c]
USER_DATA 2 qp->port 0-255
UNITS 1 port unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->port_data 4096-ptr_max
PARAM_VALUE 0 dev->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 2 qp 4096-ptr_max
PARAM_VALUE 3 mode 2
PARAM_VALUE 4 bind_opcnt 1
CAPPED_DATA 1 port 1
CAPPED_DATA 2 qp->port 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 qp r rdma_counter_get_qp
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port unit_array_size
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