Documented in 1 files:
Defined in 1 files as a function:
Referenced in 11 files:
- fs/lockd/nlm3xdr_gen.c
- fs/lockd/nlm4xdr_gen.c
- fs/nfs/callback_xdr.c, line 586
- fs/nfs/nfs4xdr.c, line 980
- fs/nfsd/nfs3xdr.c, line 1051
- fs/nfsd/nfs4xdr.c
- fs/nfsd/nfs4xdr_gen.c
- fs/nfsd/nfsxdr.c, line 601
- net/sunrpc/auth_gss/svcauth_gss.c
- net/sunrpc/auth_unix.c, line 129
- net/sunrpc/xdr.c, line 2439
Smatch caller information:
net/sunrpc/auth_gss/svcauth_gss.c svcauth_gss_wrap_integ() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->rqst | 0 |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | xdr | 80 |
| BUF_SIZE | 1 | ptr | 40 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
net/sunrpc/auth_gss/svcauth_gss.c svcxdr_encode_gss_init_res() -> xdr_stream_encode_opaque()
| 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 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
net/sunrpc/auth_gss/svcauth_gss.c svcxdr_encode_gss_init_res() -> xdr_stream_encode_opaque()
| 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 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/nfsd/nfsxdr.c svcxdr_encode_entry_common() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 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->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | len | 0-255,18446744071562067968-u64max |
| BUF_SIZE | 0 | xdr | 80 |
| BUF_SIZE | 1 | ptr | 4072 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | ptr | $1 |
| UNITS | 2 | len | unit_byte |
fs/lockd/nlm4xdr_gen.c xdrgen_encode_netobj() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/lockd/nlm4xdr_gen.c xdrgen_encode_nlm4_lock() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | len | 0-1024 |
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| FUZZY_MAX | 2 | len | 1024 |
| HARD_MAX | 2 | len | 1024 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/lockd/nlm4xdr_gen.c xdrgen_encode_nlm4_notify() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 0-1025 |
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| FUZZY_MAX | 2 | len | 1025 |
| HARD_MAX | 2 | len | 1025 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/lockd/nlm4xdr_gen.c xdrgen_encode_nlm4_share() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | len | 0-1024 |
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| FUZZY_MAX | 2 | len | 1024 |
| HARD_MAX | 2 | len | 1024 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/nfs/callback_xdr.c encode_string() -> xdr_stream_encode_opaque()
| 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 | 2 | len | 0-512 |
| DATA_SOURCE | 0 | xdr | $0 |
| DATA_SOURCE | 1 | ptr | $2 |
| DATA_SOURCE | 2 | len | $1 |
net/sunrpc/auth_unix.c unx_marshal() -> xdr_stream_encode_opaque()
| 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 | len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | ptr | 65 |
| DATA_SOURCE | 0 | xdr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/nfsd/nfs3xdr.c svcxdr_encode_entry3_common() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 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->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | len | 0-255,18446744071562067968-u64max |
| BUF_SIZE | 0 | xdr | 80 |
| BUF_SIZE | 1 | ptr | 4072 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 1 | ptr | $1 |
| UNITS | 2 | len | unit_byte |
fs/nfs/nfs4xdr.c encode_string() -> xdr_stream_encode_opaque()
| 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 | ptr | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| DATA_SOURCE | 1 | ptr | $2 |
| DATA_SOURCE | 2 | len | $1 |
| STR_LEN | 0 | xdr | (-1)-1010101 |
| STR_LEN | 0 | xdr | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
net/sunrpc/xdr.c xdr_stream_encode_opaque_auth() -> xdr_stream_encode_opaque()
| 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 |
| PARAM_VALUE | 2 | len | 0-400 |
| BUF_SIZE | 0 | xdr | (-1),80 |
| BUF_SIZE | 0 | xdr | (-1),80 |
| BUF_SIZE | 1 | ptr | (-1),40 |
| BUF_SIZE | 1 | ptr | (-1),40 |
| DATA_SOURCE | 0 | xdr | $0 |
| DATA_SOURCE | 1 | ptr | $2 |
| DATA_SOURCE | 2 | len | $3 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/nfsd/nfs4xdr_gen.c xdrgen_encode_attrlist4() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/nfsd/nfs4xdr_gen.c xdrgen_encode_nfs_fh4() -> xdr_stream_encode_opaque()
| 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 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/nfsd/nfs4xdr_gen.c xdrgen_encode_notifylist4() -> xdr_stream_encode_opaque()
| 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 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/nfsd/nfs4xdr_gen.c xdrgen_encode_utf8string() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/lockd/nlm3xdr_gen.c xdrgen_encode_netobj() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/lockd/nlm3xdr_gen.c xdrgen_encode_nlm_lock() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | len | 0-1024 |
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| FUZZY_MAX | 2 | len | 1024 |
| HARD_MAX | 2 | len | 1024 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/lockd/nlm3xdr_gen.c xdrgen_encode_nlm_notify() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | len | 0-1025 |
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| FUZZY_MAX | 2 | len | 1025 |
| HARD_MAX | 2 | len | 1025 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/lockd/nlm3xdr_gen.c xdrgen_encode_nlm_share() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->iov | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | len | 0-1024 |
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| FUZZY_MAX | 2 | len | 1024 |
| HARD_MAX | 2 | len | 1024 |
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
fs/nfsd/nfs4xdr.c nfsd4_encode_components_esc() -> xdr_stream_encode_opaque()
| 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->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | ptr | 4096-18446744073709547519 |
| PARAM_VALUE | 1 | *ptr | 0-255 |
| PARAM_VALUE | 2 | len | 1-u64max |
| DATA_SOURCE | 0 | xdr | $0 |
fs/nfsd/nfs4xdr.c nfsd4_encode_pathname4() -> xdr_stream_encode_opaque()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 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->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | ptr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | xdr | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 1 | ptr | unit_byte |
| UNITS | 2 | len | unit_byte |
| LOCK2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct lockref)->lock |
fs/nfsd/nfs4xdr.c nfsd4_encode_rpcsec_gss_info() -> xdr_stream_encode_opaque()
| 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->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 2 | len | 0-32 |
| BUF_SIZE | 0 | xdr | (-1),80 |
| BUF_SIZE | 0 | xdr | (-1),80 |
| BUF_SIZE | 1 | ptr | 32 |
| DATA_SOURCE | 0 | xdr | $0 |
| UNITS | 2 | len | unit_byte |
| HALF_LOCKED2 | &nn->client_lock |