Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/nfsd/nfs3xdr.c
- fs/nfsd/nfs4state.c, line 4191
- fs/nfsd/nfs4xdr.c
- fs/nfsd/nfscache.c, line 638
- fs/nfsd/nfsxdr.c, line 644
- net/sunrpc/auth_gss/svcauth_gss.c, line 1821
- net/sunrpc/xdr.c
Smatch caller information:
net/sunrpc/auth_gss/svcauth_gss.c svcauth_gss_wrap_integ() -> xdr_commit_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->page_ptr | 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 |
| NOCHECK_CALL |
fs/nfsd/nfsxdr.c nfssvc_encode_entry() -> xdr_commit_encode()
| 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 |
| NOCHECK_CALL |
fs/nfsd/nfs4state.c nfsd4_replay_cache_entry() -> xdr_commit_encode()
| 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 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &nn->client_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |
fs/nfsd/nfs3xdr.c nfs3svc_encode_entry3() -> xdr_commit_encode()
| 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 |
| NOCHECK_CALL |
fs/nfsd/nfs3xdr.c nfs3svc_encode_entryplus3() -> xdr_commit_encode()
| 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 |
| NOCHECK_CALL |
net/sunrpc/xdr.c xdr_reserve_space() -> xdr_commit_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| DATA_SOURCE | 0 | xdr | $0 |
| NOCHECK_CALL |
net/sunrpc/xdr.c xdr_truncate_encode() -> xdr_commit_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | xdr | (-1),80 |
| BUF_SIZE | 0 | xdr | (-1),80 |
| DATA_SOURCE | 0 | xdr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/nfsd/nfscache.c nfsd_cache_append() -> xdr_commit_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 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &b->cache_lock | ||
| TYPE_LOCK | (struct nfsd_drc_bucket)->cache_lock |
fs/nfsd/nfs4xdr.c nfsd4_encode_operation() -> xdr_commit_encode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &nn->client_lock | ||
| TYPE_LOCK | (struct nfsd_net)->client_lock |
fs/nfsd/nfs4xdr.c nfsd4_encode_read() -> xdr_commit_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->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | xdr | (-1),80 |
| BUF_SIZE | 0 | xdr | (-1),80 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &nn->client_lock |
fs/nfsd/nfs4xdr.c nfsd4_encode_read_plus() -> xdr_commit_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->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | xdr | (-1),80 |
| BUF_SIZE | 0 | xdr | (-1),80 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &nn->client_lock |
fs/nfsd/nfs4xdr.c nfsd4_encode_read_plus_data() -> xdr_commit_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->page_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | xdr->scratch.iov_len | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | xdr | (-1),80 |
| BUF_SIZE | 0 | xdr | (-1),80 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &nn->client_lock |