Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/infiniband/core/cma.c, line 4183
- drivers/infiniband/core/ucma.c
- drivers/infiniband/ulp/iser/iser_verbs.c, line 774
- drivers/infiniband/ulp/rtrs/rtrs-clt.c, line 2091
- drivers/infiniband/ulp/srp/ib_srp.c, line 346
- drivers/nvme/host/rdma.c, line 607
- fs/smb/smbdirect/connect.c, line 96
- net/9p/trans_rdma.c, line 581
- net/rds/ib_cm.c, line 1032
- net/sunrpc/xprtrdma/verbs.c, line 316
Smatch caller information:
net/rds/ib_cm.c rds_ib_conn_path_connect() -> rdma_resolve_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4096-ptr_max |
| PARAM_VALUE | 0 | id->event_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | id->ps | 262,319 |
| PARAM_VALUE | 0 | id->qp_type | 2 |
| PARAM_VALUE | 0 | id->route.addr.dev_addr.net | 0 |
| PARAM_VALUE | 1 | src_addr | 3517045990578794496 |
| PARAM_VALUE | 2 | dst_addr | 8010319736649355264 |
| PARAM_VALUE | 3 | timeout_ms | 5000 |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | src_addr | 128 |
| BUF_SIZE | 2 | dst_addr | 128 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| TERMINATED | 0 | id->res.kern_name | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/ulp/iser/iser_verbs.c iser_connect() -> rdma_resolve_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4096-ptr_max |
| PARAM_VALUE | 0 | id->event_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | id->ps | 262,319 |
| PARAM_VALUE | 0 | id->qp_type | 2 |
| PARAM_VALUE | 0 | id->route.addr.dev_addr.net | 0 |
| PARAM_VALUE | 1 | src_addr | 0 |
| PARAM_VALUE | 3 | timeout_ms | 1000 |
| BUF_SIZE | 0 | id | 560 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| DATA_SOURCE | 1 | src_addr | $1 |
| DATA_SOURCE | 2 | dst_addr | $2 |
| TERMINATED | 0 | id->res.kern_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | dst_addr->sa_family | 0-u16max[u] |
| USER_PTR | 2 | dst_addr | |
| LOCK2 | &iser_conn->state_mutex | ||
| LOCK2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct iser_conn)->state_mutex |
fs/smb/smbdirect/connect.c smbdirect_connect_resolve_addr() -> rdma_resolve_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4096-ptr_max |
| PARAM_VALUE | 0 | id->event_handler | 5569883809364402176 |
| PARAM_VALUE | 1 | src_addr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | src_addr->sa_family | 1-u16max |
| PARAM_VALUE | 2 | dst_addr | 4096-ptr_max |
| BUF_SIZE | 1 | src_addr | 0,16 |
| BUF_SIZE | 1 | src_addr | 0,16 |
| BUF_SIZE | 2 | dst_addr | 128 |
| BUF_SIZE | 2 | dst_addr | 128 |
| DATA_SOURCE | 2 | dst_addr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &server->_srv_mutex |
drivers/infiniband/ulp/rtrs/rtrs-clt.c create_cm() -> rdma_resolve_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4096-ptr_max |
| PARAM_VALUE | 0 | id->event_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | id->ps | 262,319 |
| PARAM_VALUE | 0 | id->qp_type | 2 |
| PARAM_VALUE | 0 | id->route.addr.dev_addr.net | 0 |
| PARAM_VALUE | 1 | src_addr | 4096-ptr_max |
| PARAM_VALUE | 2 | dst_addr | 4096-ptr_max |
| PARAM_VALUE | 3 | timeout_ms | 30000 |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | src_addr | 128 |
| BUF_SIZE | 2 | dst_addr | 128 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| TERMINATED | 0 | id->res.kern_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &clt_path->init_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rtrs_clt_path)->init_mutex |
drivers/nvme/host/rdma.c nvme_rdma_alloc_queue() -> rdma_resolve_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4096-ptr_max |
| PARAM_VALUE | 0 | id->event_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | id->ps | 262,319 |
| PARAM_VALUE | 0 | id->qp_type | 2 |
| PARAM_VALUE | 0 | id->route.addr.dev_addr.net | 0 |
| PARAM_VALUE | 1 | src_addr | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dst_addr | 4096-ptr_max |
| PARAM_VALUE | 3 | timeout_ms | 3000 |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | src_addr | 0,128 |
| BUF_SIZE | 1 | src_addr | 0,128 |
| BUF_SIZE | 2 | dst_addr | 128 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| TERMINATED | 0 | id->res.kern_name | 1 |
| HALF_LOCKED2 | global &nvmf_dev_mutex |
net/sunrpc/xprtrdma/verbs.c rpcrdma_create_id() -> rdma_resolve_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4096-ptr_max |
| PARAM_VALUE | 0 | id->event_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | id->ps | 262,319 |
| PARAM_VALUE | 0 | id->qp_type | 2 |
| PARAM_VALUE | 0 | id->route.addr.dev_addr.net | 0 |
| PARAM_VALUE | 1 | src_addr | 0 |
| PARAM_VALUE | 2 | dst_addr | 4096-ptr_max |
| PARAM_VALUE | 3 | timeout_ms | 5000 |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 2 | dst_addr | 128 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| TERMINATED | 0 | id->res.kern_name | 1 |
| HALF_LOCKED2 | &pool->lock |
net/9p/trans_rdma.c rdma_create_trans() -> rdma_resolve_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4096-ptr_max |
| PARAM_VALUE | 0 | id->event_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | id->ps | 262,319 |
| PARAM_VALUE | 0 | id->qp_type | 2 |
| PARAM_VALUE | 0 | id->route.addr.dev_addr.net | 0 |
| PARAM_VALUE | 1 | src_addr | 0 |
| PARAM_VALUE | 2 | dst_addr | 4096-ptr_max |
| BUF_SIZE | 0 | id | 560 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| TERMINATED | 0 | id->res.kern_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
drivers/infiniband/core/ucma.c ucma_resolve_addr() -> rdma_resolve_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src_addr | 5779838768392482832 |
| PARAM_VALUE | 2 | dst_addr | 5779838768392482960 |
| BUF_SIZE | 1 | src_addr | 128 |
| BUF_SIZE | 2 | dst_addr | 128 |
| USER_DATA | 3 | timeout_ms | 0-u32max |
| LOCK2 | &ctx->mutex | ||
| TYPE_LOCK | (struct ucma_context)->mutex |
drivers/infiniband/core/ucma.c ucma_resolve_ip() -> rdma_resolve_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src_addr | 6365088982756814848 |
| PARAM_VALUE | 2 | dst_addr | 6365088982756814876 |
| BUF_SIZE | 1 | src_addr | 28 |
| BUF_SIZE | 2 | dst_addr | 28 |
| USER_DATA | 3 | timeout_ms | 0-u32max |
| LOCK2 | &ctx->mutex | ||
| TYPE_LOCK | (struct ucma_context)->mutex |
drivers/infiniband/ulp/srp/ib_srp.c srp_new_rdma_cm_id() -> rdma_resolve_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4096-ptr_max |
| PARAM_VALUE | 0 | id->event_handler | 4096-ptr_max |
| PARAM_VALUE | 0 | id->ps | 262,319 |
| PARAM_VALUE | 0 | id->qp_type | 2 |
| PARAM_VALUE | 0 | id->route.addr.dev_addr.net | 0 |
| PARAM_VALUE | 3 | timeout_ms | 1000 |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | src_addr | 0,16 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| TERMINATED | 0 | id->res.kern_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &host->add_target_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rport->mutex |