Defined in 1 files as a function:
Referenced in 3 files:
- drivers/infiniband/core/sa_query.c, line 2328
- drivers/infiniband/core/uverbs_std_types_device.c, line 153
- drivers/infiniband/core/verbs.c, line 480
Smatch caller information:
drivers/infiniband/core/verbs.c rdma_check_ah_attr() -> rdma_is_grh_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | device | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | port_num | 0-255[c] |
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &ibp->rvp.lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/core/uverbs_std_types_device.c copy_port_attr_to_resp() -> rdma_is_grh_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 0 | device | $2 |
| DATA_SOURCE | 1 | port_num | $3 |
| USER_DATA | 1 | port_num | 0-255[c] |
drivers/infiniband/core/sa_query.c update_sm_ah() -> rdma_is_grh_required()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| 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 |