Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/infiniband/core/device.c, line 2818
- drivers/infiniband/core/mad.c, line 3079
- drivers/infiniband/core/multicast.c
- drivers/infiniband/core/sa_query.c, line 2317
- drivers/infiniband/ulp/ipoib/ipoib_ib.c, line 951
- drivers/infiniband/ulp/ipoib/ipoib_verbs.c, line 46
Smatch caller information:
drivers/infiniband/core/mad.c ib_mad_port_start() -> ib_find_pkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->client_data_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->client_data_rwsem.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | device->ops.size_ib_cq | 0-4000000 |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 0-s32max |
| PARAM_VALUE | 2 | pkey | u16max |
| PARAM_VALUE | 3 | index | 5394401980996177920 |
| CAPPED_DATA | 1 | port_num | 1 |
| STR_LEN | 0 | device | (-1),6-9,11-12 |
| STR_LEN | 0 | device | (-1),6-9,11-12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | device->hw_stats_attr_index | |
| NO_OVERFLOW_SIMPLE | 0 | device->num_comp_vectors | |
| UNITS | 1 | port_num | unit_array_size |
| LOCK2 | &device->client_data_rwsem | ||
| LOCK2 | global &clients_rwsem | ||
| LOCK2 | global &devices_rwsem | ||
| HALF_LOCKED2 | &device->unregistration_lock | ||
| TYPE_LOCK | (struct ib_device)->client_data_rwsem |
drivers/infiniband/ulp/ipoib/ipoib_verbs.c ipoib_mcast_attach() -> ib_find_pkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | index | 2478425110594813952 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
drivers/infiniband/core/sa_query.c update_sm_ah() -> ib_find_pkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 2 | pkey | u16max |
| PARAM_VALUE | 3 | index | 4096-ptr_max |
| PARAM_VALUE | 3 | *index | 0 |
| CAPPED_DATA | 1 | port_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem |
drivers/infiniband/ulp/ipoib/ipoib_ib.c ipoib_pkey_dev_check_presence() -> ib_find_pkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pkey | 1-u16max |
| PARAM_VALUE | 3 | index | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/infiniband/core/multicast.c join_handler() -> ib_find_pkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | index | 8653215423089442816 |
| PARAM_VALUE | 3 | *index | u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/core/multicast.c process_group_error() -> ib_find_pkey()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | index | 6927884050867183616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |