Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/nfs/flexfilelayout/flexfilelayout.c, line 2627
- net/sunrpc/clnt.c, line 1966
- net/sunrpc/xdr.c, line 1166
- net/sunrpc/xprtrdma/backchannel.c, line 64
- net/sunrpc/xprtrdma/rpc_rdma.c, line 838
- net/sunrpc/xprtrdma/svc_rdma_sendto.c
Smatch caller information:
net/sunrpc/xprtrdma/backchannel.c rpcrdma_bc_marshal_reply() -> xdr_init_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->len | 0 |
| PARAM_VALUE | 3 | rqst | 4096-ptr_max |
| PARAM_VALUE | 3 | rqst->rq_buffer | 0 |
| PARAM_VALUE | 3 | rqst->rq_cong | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | rqst->rq_task | 4096-ptr_max |
| PARAM_VALUE | 3 | rqst->rq_task->tk_rqstp->rq_cred->cr_ops->crneed_reencode | 0,2449981407755276288 |
| PARAM_VALUE | 3 | rqst->rq_xprt | 4096-ptr_max |
| PARAM_VALUE | 3 | rqst->rq_xprt->ops | 4096-ptr_max |
| BUF_SIZE | 2 | p | 1-s32max |
| DATA_SOURCE | 3 | rqst | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_encode_layoutreturn() -> xdr_init_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4769999530355179520 |
| PARAM_VALUE | 1 | buf | 525182489284882432 |
| PARAM_VALUE | 1 | buf->buflen | 4096 |
| PARAM_VALUE | 1 | buf->bvec | 0 |
| PARAM_VALUE | 1 | buf->flags | 0 |
| PARAM_VALUE | 1 | buf->len | 0 |
| PARAM_VALUE | 1 | buf->page_len | 0 |
| PARAM_VALUE | 1 | buf->pages | 0 |
| PARAM_VALUE | 2 | p | 0 |
| PARAM_VALUE | 3 | rqst | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sunrpc/xprtrdma/rpc_rdma.c rpcrdma_marshal_req() -> xdr_init_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->len | 0 |
| PARAM_VALUE | 3 | rqst | 4096-ptr_max |
| PARAM_VALUE | 3 | rqst->rq_buffer | 1-u64max |
| PARAM_VALUE | 3 | rqst->rq_cong | s32min-(-1),1-s32max |
| PARAM_VALUE | 3 | rqst->rq_task | 4096-ptr_max |
| PARAM_VALUE | 3 | rqst->rq_task->tk_rqstp->rq_cred->cr_ops->crneed_reencode | 0,2449981407755276288 |
| PARAM_VALUE | 3 | rqst->rq_xprt | 4096-ptr_max |
| PARAM_VALUE | 3 | rqst->rq_xprt->ops | 4096-ptr_max |
| BUF_SIZE | 0 | xdr | 80 |
| BUF_SIZE | 2 | p | 1-s32max |
| DATA_SOURCE | 3 | rqst | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/clnt.c rpc_xdr_encode() -> xdr_init_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->bvec | 0 |
| PARAM_VALUE | 1 | buf->flags | 0 |
| PARAM_VALUE | 1 | buf->len | 0 |
| PARAM_VALUE | 1 | buf->page_len | 0 |
| PARAM_VALUE | 1 | buf->pages | 0 |
| PARAM_VALUE | 3 | rqst | 4096-ptr_max |
| PARAM_VALUE | 3 | rqst->rq_rcv_buf.bvec | 0 |
| PARAM_VALUE | 3 | rqst->rq_rcv_buf.flags | 0 |
| PARAM_VALUE | 3 | rqst->rq_rcv_buf.len | 0 |
| PARAM_VALUE | 3 | rqst->rq_rcv_buf.page_len | 0 |
| PARAM_VALUE | 3 | rqst->rq_rcv_buf.pages | 0 |
| PARAM_VALUE | 3 | rqst->rq_reply_bytes_recvd | 0 |
| PARAM_VALUE | 3 | rqst->rq_snd_buf.bvec | 0 |
| PARAM_VALUE | 3 | rqst->rq_snd_buf.flags | 0 |
| PARAM_VALUE | 3 | rqst->rq_snd_buf.head | 4096-ptr_max |
| PARAM_VALUE | 3 | rqst->rq_snd_buf.len | 0 |
| PARAM_VALUE | 3 | rqst->rq_snd_buf.page_len | 0 |
| PARAM_VALUE | 3 | rqst->rq_snd_buf.pages | 0 |
| PARAM_VALUE | 3 | rqst->rq_xmit.next | 4096-ptr_max |
| PARAM_VALUE | 3 | rqst->rq_xmit2.next | 4096-ptr_max |
| BUF_SIZE | 2 | p | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | p | unit_byte |
net/sunrpc/xprtrdma/svc_rdma_sendto.c svc_rdma_send_ctxt_get() -> xdr_init_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->len | 0 |
| PARAM_VALUE | 3 | rqst | 0 |
| BUF_SIZE | 2 | p | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/sunrpc/xprtrdma/svc_rdma_sendto.c svc_rdma_send_error_msg() -> xdr_init_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | buf->len | 0 |
| PARAM_VALUE | 2 | p | 0,4096-ptr_max |
| PARAM_VALUE | 3 | rqst | 0 |
| BUF_SIZE | 2 | p | s32min-(-2),1-s32max |
| RX_PATH | |||
| NOCHECK_CALL |