Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/infiniband/core/cma.c
- drivers/infiniband/core/ucma.c
- drivers/infiniband/ulp/isert/ib_isert.c, line 2275
- drivers/infiniband/ulp/rtrs/rtrs-srv.c, line 2095
- drivers/infiniband/ulp/srpt/ib_srpt.c, line 3699
- drivers/nvme/target/rdma.c, line 1896
- fs/smb/smbdirect/socket.c, line 660
- net/9p/trans_rdma.c, line 524
- net/rds/ib.c, line 477
- net/rds/rdma_transport.c, line 217
- net/sunrpc/xprtrdma/svc_rdma_transport.c, line 165
Smatch caller information:
net/rds/rdma_transport.c rds_rdma_listen_init_common() -> rdma_bind_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 | addr | 1674311150495387648,7753505364827492352 |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | addr | (-1),28 |
| BUF_SIZE | 1 | addr | (-1),28 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| DATA_SOURCE | 1 | addr | $1 |
| TERMINATED | 0 | id->res.kern_name | 1 |
drivers/infiniband/core/cma.c rdma_listen() -> rdma_bind_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 4560890205603520512 |
| BUF_SIZE | 0 | id | (-1),560 |
| BUF_SIZE | 0 | id | (-1),560 |
| DATA_SOURCE | 0 | id | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | id->ps | 2,262,273,319 |
| USER_DATA | 0 | id->qp_type | 0-255 |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &ctx->mutex | ||
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &ctrl_lock | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &ib_ctx.ib_dev_mutex | ||
| HALF_LOCKED2 | global &init_lock | ||
| HALF_LOCKED2 | global &lock |
net/rds/ib.c rds_ib_laddr_check_cm() -> rdma_bind_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 | addr | 1460574399337996288,2146350190982680576 |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | addr | 16,28 |
| BUF_SIZE | 1 | addr | 16,28 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| BIT_INFO | 1 | addr | 0x1441002000100000,0x1dcd5eadf99f7000 |
| BIT_INFO | 1 | addr | 0x1441002000100000,0x1dcd5eadf99f7000 |
| TERMINATED | 0 | id->res.kern_name | 1 |
| MEM_ZERO | 1 | addr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rds_trans_sem | ||
| HALF_LOCKED2 | sk |
net/sunrpc/xprtrdma/svc_rdma_transport.c svc_rdma_create_listen_id() -> rdma_bind_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 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | addr | (-1),16,28,128 |
| BUF_SIZE | 1 | addr | (-1),16,28,128 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| DATA_SOURCE | 1 | addr | $1 |
| TERMINATED | 0 | id->res.kern_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | addr | |
| USER_PTR | 1 | addr->sa_data |
fs/smb/smbdirect/socket.c smbdirect_socket_bind() -> rdma_bind_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 9175456346197819392 |
| DATA_SOURCE | 1 | addr | $1 |
| LOCK2 | &pool->lock | ||
| LOCK2 | global &ctrl_lock | ||
| LOCK2 | global &init_lock |
net/9p/trans_rdma.c p9_rdma_bind_privport() -> rdma_bind_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 | 1 | addr | 1813695105348743168 |
| BUF_SIZE | 0 | id | 560 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
drivers/infiniband/ulp/rtrs/rtrs-srv.c rtrs_srv_cm_init() -> rdma_bind_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 | addr | 1469900810944262144,8533095962131566592 |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | addr | 28,48 |
| BUF_SIZE | 1 | addr | 28,48 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| DATA_SOURCE | 1 | addr | $1 |
| TERMINATED | 0 | id->res.kern_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &device->client_data_rwsem | ||
| LOCK2 | global &clients_rwsem | ||
| LOCK2 | global &devices_rwsem | ||
| LOCK2 | global &ib_ctx.ib_dev_mutex | ||
| HALF_LOCKED2 | &device->unregistration_lock | ||
| TYPE_LOCK | (struct ib_device)->client_data_rwsem | ||
| TYPE_LOCK | (struct rtrs_srv_ib_ctx)->ib_dev_mutex |
drivers/infiniband/core/ucma.c ucma_bind() -> rdma_bind_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 2169385934646427656 |
| BUF_SIZE | 1 | addr | 128 |
| LOCK2 | &ctx->mutex | ||
| TYPE_LOCK | (struct ucma_context)->mutex |
drivers/infiniband/core/ucma.c ucma_bind_ip() -> rdma_bind_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 1529436629215141896 |
| BUF_SIZE | 1 | addr | 28 |
| LOCK2 | &ctx->mutex | ||
| TYPE_LOCK | (struct ucma_context)->mutex |
drivers/infiniband/ulp/isert/ib_isert.c isert_setup_id() -> rdma_bind_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 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | addr | 128 |
| BUF_SIZE | 1 | addr | 128 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| TERMINATED | 0 | id->res.kern_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tpg->tpg_access_lock | ||
| HALF_LOCKED2 | global &np_lock |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_create_rdma_id() -> rdma_bind_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 | addr | 538994202274152448,5729167950241554432 |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | addr | (-1),28 |
| BUF_SIZE | 1 | addr | (-1),28 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| DATA_SOURCE | 1 | addr | $0 |
| TERMINATED | 0 | id->res.kern_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
drivers/nvme/target/rdma.c nvmet_rdma_enable_port() -> rdma_bind_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 | addr | 4096-ptr_max |
| BUF_SIZE | 0 | id | 560 |
| BUF_SIZE | 1 | addr | 128 |
| BUF_SIZE | 1 | addr | 128 |
| DATA_SOURCE | 0 | id | r __rdma_create_kernel_id |
| TERMINATED | 0 | id->res.kern_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | global &nvmet_config_sem |