Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/infiniband/core/rw.c, line 642
- drivers/infiniband/ulp/isert/ib_isert.c, line 2102
- drivers/infiniband/ulp/srpt/ib_srpt.c, line 987
- drivers/nvme/target/rdma.c, line 639
- fs/smb/smbdirect/rw.c, line 203
Smatch caller information:
fs/smb/smbdirect/rw.c smbdirect_connection_rdma_xmit() -> rdma_rw_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | qp | 4096-ptr_max |
| PARAM_VALUE | 3 | sg | 4096-ptr_max |
| PARAM_VALUE | 5 | sg_offset | 0 |
| PARAM_VALUE | 8 | dir | 1-2 |
| BUF_SIZE | 3 | sg | 4096 |
| BUF_SIZE | 3 | sg | 4096 |
| CAPPED_DATA | 4 | sg_cnt | 1 |
| DATA_SOURCE | 4 | sg_cnt | r smbdirect_get_buf_page_count |
| FUZZY_MAX | 8 | dir | 2 |
| HARD_MAX | 8 | dir | 2 |
| NO_OVERFLOW_SIMPLE | 0 | ctx->nr_ops | |
| UNITS | 2 | port_num | unit_array_size |
| UNITS | 3 | sg | unit_byte |
| UNITS | 6 | remote_addr | unit_byte |
| LOCK2 | &pool->lock |
drivers/infiniband/ulp/isert/ib_isert.c isert_rdma_rw_ctx_post() -> rdma_rw_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 8 | dir | 0-3 |
| DATA_SOURCE | 8 | dir | r target_reverse_dma_direction |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | sg | unit_byte |
| UNITS | 5 | sg_offset | unit_byte |
| UNITS | 6 | remote_addr | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_alloc_rw_ctxs() -> rdma_rw_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 3 | sg | 16,4096-ptr_max |
| PARAM_VALUE | 5 | sg_offset | 0 |
| PARAM_VALUE | 8 | dir | 0-3 |
| DATA_SOURCE | 8 | dir | r target_reverse_dma_direction |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | port_num | unit_array_size |
| UNITS | 6 | remote_addr | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/target/rdma.c nvmet_rdma_rw_ctx_init() -> rdma_rw_ctx_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 3 | sg | 16,4096-ptr_max |
| PARAM_VALUE | 5 | sg_offset | 0 |
| PARAM_VALUE | 8 | dir | 1-2 |
| DATA_SOURCE | 6 | remote_addr | $1 |
| DATA_SOURCE | 7 | rkey | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | sg | unit_byte |
| UNITS | 6 | remote_addr | unit_byte |