Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- fs/nfs/flexfilelayout/flexfilelayout.c, line 2634
- fs/nfs/nfs2xdr.c
- fs/nfs/nfs3xdr.c
- fs/nfs/nfs42xdr.c, line 507
- fs/nfs/nfs4xdr.c
- include/linux/sunrpc/svc.h, line 586
- net/sunrpc/auth_gss/gss_rpc_xdr.c, line 56
- net/sunrpc/xdr.c, line 1496
Smatch caller information:
fs/nfs/nfs2xdr.c encode_path() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | base | 0 |
| DATA_SOURCE | 0 | xdr | $0 |
| DATA_SOURCE | 1 | pages | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs2xdr.c encode_writeargs() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | pages | 64,72-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | base | unit_byte |
| UNITS | 3 | len | unit_byte |
fs/nfsd/nfsxdr.c svcxdr_encode_opaque_pages() -> xdr_write_pages()
| 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->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | pages | (-1),1-s32max |
| BUF_SIZE | 1 | pages | (-1),1-s32max |
| DATA_SOURCE | 0 | xdr | $1 |
| DATA_SOURCE | 1 | pages | $2 |
| DATA_SOURCE | 2 | base | $3 |
| DATA_SOURCE | 3 | len | $4 |
| NOCHECK_CALL | |||
| UNITS | 1 | pages | unit_page |
| UNITS | 2 | base | unit_byte |
| UNITS | 3 | len | unit_byte |
fs/nfs/nfs3xdr.c encode_nfspath3() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | base | 0 |
| DATA_SOURCE | 0 | xdr | $0 |
| DATA_SOURCE | 1 | pages | $1 |
| DATA_SOURCE | 3 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs3xdr.c encode_write3args() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | pages | 64,72-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | base | unit_byte |
| UNITS | 3 | len | unit_byte |
fs/nfs/nfs3xdr.c nfs3_xdr_enc_setacl3args() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | base | 0 |
| BUF_SIZE | 1 | pages | 56 |
| DATA_SOURCE | 0 | xdr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_encode_layoutreturn() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | pages | 4096-ptr_max |
| PARAM_VALUE | 2 | base | 0 |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | len | unit_byte |
fs/nfsd/nfs3xdr.c svcxdr_encode_opaque_pages() -> xdr_write_pages()
| 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 |
| BUF_SIZE | 1 | pages | (-1),1-s32max |
| BUF_SIZE | 1 | pages | (-1),1-s32max |
| DATA_SOURCE | 0 | xdr | $1 |
| DATA_SOURCE | 1 | pages | $2 |
| DATA_SOURCE | 2 | base | $3 |
| DATA_SOURCE | 3 | len | $4 |
| NOCHECK_CALL | |||
| UNITS | 1 | pages | unit_page |
| UNITS | 2 | base | unit_byte |
| UNITS | 3 | len | unit_byte |
fs/nfs/nfs4xdr.c encode_create() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | base | 0 |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs4xdr.c encode_layoutcommit() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | pages | 1-u64max |
| PARAM_VALUE | 2 | base | 0 |
| BUF_SIZE | 1 | pages | 1-8388608 |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs4xdr.c encode_setacl() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | base | 0 |
| BUF_SIZE | 1 | pages | 128 |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs4xdr.c encode_setxattr() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | base | 0 |
| PARAM_VALUE | 3 | len | 1-u32max |
| BUF_SIZE | 1 | pages | 128 |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfs/nfs4xdr.c encode_write() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | pages | 64,72-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | base | unit_byte |
| UNITS | 3 | len | unit_byte |
net/sunrpc/auth_gss/gss_rpc_xdr.c gssx_enc_in_token() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 2037987434704080896 |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | pages | 8-8388616 |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfsd/nfs4xdr.c svcxdr_encode_opaque_pages() -> xdr_write_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->buf->head | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->buf->page_len | 0 |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0 |
| BUF_SIZE | 0 | xdr | (-1),80 |
| BUF_SIZE | 0 | xdr | (-1),80 |
| BUF_SIZE | 1 | pages | 1-s32max |
| BUF_SIZE | 1 | pages | 1-s32max |
| CAPPED_DATA | 0 | xdr->buf->head | 1 |
| CAPPED_DATA | 0 | xdr->iov | 1 |
| DATA_SOURCE | 0 | xdr | $1 |
| DATA_SOURCE | 1 | pages | $2 |
| DATA_SOURCE | 2 | base | $3 |
| DATA_SOURCE | 3 | len | $4 |
| NOCHECK_CALL | |||
| UNITS | 1 | pages | unit_page |
| UNITS | 2 | base | unit_byte |
| UNITS | 3 | len | unit_byte |
| HALF_LOCKED2 | &nn->client_lock |