Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/infiniband/core/counters.c
- drivers/infiniband/core/nldev.c, line 1573
- drivers/infiniband/core/restrack.c, line 326
Smatch caller information:
drivers/infiniband/core/nldev.c res_get_common_doit() -> rdma_restrack_get_byid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | type | 0-7 |
| DATA_SOURCE | 0 | dev | r ib_device_get_by_index |
| DATA_SOURCE | 1 | type | $3 |
| DATA_SOURCE | 2 | id | r nla_get_u32 |
| HARD_MAX | 1 | type | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_get_byid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | type | 2 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_get_byid()
| 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 | 1 | type | 6 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |