Documented in 1 files:
Defined in 1 files as a function:
Referenced in 3 files:
- include/linux/sunrpc/rpc_rdma.h, line 161
- net/sunrpc/xprtrdma/rpc_rdma.c, line 238
- net/sunrpc/xprtrdma/svc_rdma_sendto.c, line 570
Smatch caller information:
net/sunrpc/xprtrdma/rpc_rdma.c encode_rdma_segment() -> xdr_encode_rdma_segment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | p | 1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | length | unit_byte |
| UNITS | 3 | offset | unit_byte |
net/sunrpc/xprtrdma/rpc_rdma.c xdr_encode_read_segment() -> xdr_encode_rdma_segment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4098-18446744073709547521 |
| DATA_SOURCE | 0 | p | $0 [m] |
| DATA_SOURCE | 1 | handle | $2 |
| DATA_SOURCE | 2 | length | $3 |
| DATA_SOURCE | 3 | offset | $4 |
| TASK_NOT_RUNNING | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | length | unit_byte |
| UNITS | 3 | offset | unit_byte |
net/sunrpc/xprtrdma/svc_rdma_sendto.c svc_rdma_encode_write_segment() -> xdr_encode_rdma_segment()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1-ptr_max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | p | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | p | 1 |
| CAPPED_DATA | 2 | length | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | p | unit_byte |
| UNITS | 2 | length | unit_byte |
| UNITS | 3 | offset | unit_byte |