Defined in 1 files as a function:
Referenced in 5 files:
- net/sunrpc/backchannel_rqst.c, line 106
- net/sunrpc/clnt.c
- net/sunrpc/xprtrdma/backchannel.c, line 203
- net/sunrpc/xprtrdma/svc_rdma_sendto.c, line 155
- net/sunrpc/xprtrdma/verbs.c
Smatch caller information:
net/sunrpc/xprtrdma/backchannel.c rpcrdma_bc_rqst_get() -> xdr_buf_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-4096 |
| BUF_SIZE | 1 | start | 1-s32max |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 2 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/xprtrdma/verbs.c rpcrdma_rep_create() -> xdr_buf_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 1-u64max |
| PARAM_VALUE | 2 | len | 0-u32max |
| BUF_SIZE | 1 | start | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/xprtrdma/verbs.c rpcrdma_rep_resize() -> xdr_buf_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 1-u64max |
| PARAM_VALUE | 2 | len | 1-u32max |
| BUF_SIZE | 1 | start | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/xprtrdma/verbs.c rpcrdma_req_setup() -> xdr_buf_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 0-u32max |
| BUF_SIZE | 1 | start | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/clnt.c rpc_xdr_encode() -> xdr_buf_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 1 | start | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sunrpc/clnt.c rpc_xdr_encode() -> xdr_buf_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 1 | start | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sunrpc/backchannel_rqst.c xprt_alloc_xdr_buf() -> xdr_buf_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | len | 4096 |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &transport->recv_mutex |
net/sunrpc/xprtrdma/svc_rdma_sendto.c svc_rdma_send_ctxt_alloc() -> xdr_buf_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 1-u64max |
| PARAM_VALUE | 2 | len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | start | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | start | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| BYTE_COUNT | 1 | ==start2 | 8050 |