Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/infiniband/core/cache.c, line 1200
- drivers/infiniband/core/cma.c, line 700
- drivers/infiniband/core/sysfs.c
- drivers/infiniband/core/uverbs_std_types_device.c, line 445
- drivers/infiniband/core/verbs.c
- drivers/infiniband/sw/rxe/rxe_net.c, line 547
- net/smc/smc_ib.c
Smatch caller information:
drivers/infiniband/core/verbs.c ib_init_ah_attr_from_wc() -> rdma_get_gid_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/verbs.c rdma_fill_sgid_attr() -> rdma_get_gid_attr()
| 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 |
| UNITS | 2 | index | unit_array_size |
| HALF_LOCKED2 | &ibp->rvp.lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/core/cma.c cma_validate_port() -> rdma_get_gid_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &id_priv->handler_mutex | ||
| HALF_LOCKED2 | &listen_id_priv->handler_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &lock |
drivers/infiniband/core/sysfs.c _show_port_gid_attr() -> rdma_get_gid_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/infiniband/core/sysfs.c show_port_gid() -> rdma_get_gid_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | port_num | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/infiniband/core/uverbs_std_types_device.c ib_uverbs_handler_UVERBS_METHOD_QUERY_GID_ENTRY() -> rdma_get_gid_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| CAPPED_DATA | 1 | port_num | 1 |
drivers/infiniband/sw/rxe/rxe_net.c rxe_init_packet() -> rdma_get_gid_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | index | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
net/smc/smc_ib.c smc_ib_check_link_gid() -> rdma_get_gid_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1-2 |
| PARAM_VALUE | 2 | index | 0-2147483646 |
| CAPPED_DATA | 1 | port_num | 1 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 1 | port_num | $3 |
| PREEMPT_ADD | |||
| LOCK2 | bh | ||
| LOCK2 | global &smc_lgr_list.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct smc_lgr_list)->lock |
net/smc/smc_ib.c smc_ib_determine_gid() -> rdma_get_gid_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | index | 0-s32max |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 1 | port_num | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &smc_ib_devices.mutex |
net/smc/smc_ib.c smc_ib_fill_mac() -> rdma_get_gid_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 1-2 |
| PARAM_VALUE | 2 | index | 0 |
| CAPPED_DATA | 1 | port_num | 1 |
| DATA_SOURCE | 1 | port_num | $1 |
| HALF_LOCKED2 | &pool->lock |