Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/infiniband/core/cache.c, line 976
- drivers/infiniband/core/cm.c
- drivers/infiniband/core/cma.c
- drivers/infiniband/core/device.c, line 2763
- drivers/infiniband/core/mad.c, line 1913
- drivers/infiniband/ulp/ipoib/ipoib_ib.c, line 1094
- drivers/infiniband/ulp/ipoib/ipoib_main.c, line 1982
- drivers/infiniband/ulp/srp/ib_srp.c, line 3860
- drivers/infiniband/ulp/srpt/ib_srpt.c, line 630
Smatch caller information:
drivers/infiniband/core/cma.c cma_bind_loopback() -> rdma_query_gid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | gid | 8885461939775012864 |
| CAPPED_DATA | 1 | port_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &lock | ||
| HALF_LOCKED2 | &clt_path->init_mutex | ||
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/infiniband/core/cma.c cma_resolve_ib_dev() -> rdma_query_gid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-s32max |
| PARAM_VALUE | 3 | gid | 1954296808672571392 |
| CAPPED_DATA | 1 | port_num | 1 |
| CAPPED_DATA | 2 | index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | index | unit_array_size |
| LOCK2 | global &lock | ||
| HALF_LOCKED2 | &clt_path->init_mutex | ||
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &iser_conn->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/infiniband/core/mad.c rcv_has_same_gid() -> rdma_query_gid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PARAM_VALUE | 1 | port_num | 0-255 |
| PARAM_VALUE | 3 | gid | 4732098811171155968 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
| UNITS | 2 | index | unit_array_size |
| LOCK2 | &mad_agent_priv->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct ib_mad_agent_private)->lock |
drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_parent_init() -> rdma_query_gid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ops.query_pkey | 1-u64max |
| PARAM_VALUE | 0 | device->port_data | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | gid | 4096-ptr_max |
| CAPPED_DATA | 1 | port_num | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
drivers/infiniband/core/device.c ib_find_gid() -> rdma_query_gid()
| 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-s32max |
| PARAM_VALUE | 3 | gid | 2020011585592893440 |
| CAPPED_DATA | 1 | port_num | 1 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | device | $0 |
| UNITS | 2 | index | unit_array_size |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/cm.c cm_opa_to_ib_sgid() -> rdma_query_gid()
| 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 |
| PARAM_VALUE | 3 | gid | 2774084877719552000 |
| CAPPED_DATA | 1 | port_num | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/core/cm.c cm_req_handler() -> rdma_query_gid()
| 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 |
| PARAM_VALUE | 3 | gid | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_refresh_port() -> rdma_query_gid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | gid | 4096-ptr_max |
| CAPPED_DATA | 1 | port_num | 1 |
| STR_LEN | 0 | device | (-1) |
| STR_LEN | 0 | device | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem |
drivers/infiniband/ulp/srp/ib_srp.c add_target_store() -> rdma_query_gid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | gid | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &host->add_target_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct srp_host)->add_target_mutex |
drivers/infiniband/ulp/ipoib/ipoib_ib.c ipoib_dev_addr_changed_valid() -> rdma_query_gid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | gid | 3154115469089050624 |
| UNITS | 1 | port_num | unit_array_size |
| HALF_LOCKED2 | &pool->lock |