Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- fs/nfsd/flexfilelayout.c, line 98
- fs/nfsd/nfs3proc.c
- fs/nfsd/nfs3xdr.c, line 549
- fs/nfsd/nfs4proc.c
- fs/nfsd/nfs4xdr.c
- net/sunrpc/svc.c, line 1795
Smatch caller information:
fs/nfsd/nfs4proc.c nfsd4_max_payload() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| BUF_SIZE | 0 | rqstp | 64,128,280,1024 |
| BUF_SIZE | 0 | rqstp | 64,128,280,1024 |
| BUF_SIZE | 0 | rqstp->rq_private | (-1),16 |
| DATA_SOURCE | 0 | rqstp | $0 |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
fs/nfsd/nfs4proc.c nfsd4_read() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| BUF_SIZE | 0 | rqstp | (-1),128 |
| BUF_SIZE | 0 | rqstp | (-1),128 |
| BUF_SIZE | 0 | rqstp->rq_private | (-1),16 |
| CAPPED_DATA | 0 | rqstp->rq_arg.head->iov_base | 1 |
| DATA_SOURCE | 0 | rqstp | $0 |
| CONSTRAINT | 0 | rqstp | <2945 |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
fs/nfsd/nfs3proc.c nfsd3_init_dirlist_pages() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_server | 4096-ptr_max |
| BUF_SIZE | 0 | rqstp | (-1),128 |
| BUF_SIZE | 0 | rqstp | (-1),128 |
| BUF_SIZE | 0 | rqstp->rq_private | (-1),16 |
| CAPPED_DATA | 0 | rqstp->rq_arg.head->iov_base | 1 |
| CAPPED_DATA | 0 | rqstp->rq_proc | 1 |
| CAPPED_DATA | 0 | rqstp->rq_prog | 1 |
| CAPPED_DATA | 0 | rqstp->rq_vers | 1 |
| DATA_SOURCE | 0 | rqstp | $0 |
| CONSTRAINT | 0 | rqstp | <2945 |
| MEM_ZERO | 0 | rqstp->rq_argp | |
| MEM_ZERO | 0 | rqstp->rq_resp | |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
fs/nfsd/nfs3proc.c nfsd3_proc_fsinfo() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_server | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_xprt | 0,4096-ptr_max |
| BUF_SIZE | 0 | rqstp->rq_private | (-1),16 |
| CAPPED_DATA | 0 | rqstp->rq_arg.head->iov_base | 1 |
| CAPPED_DATA | 0 | rqstp->rq_proc | 1 |
| CAPPED_DATA | 0 | rqstp->rq_prog | 1 |
| CAPPED_DATA | 0 | rqstp->rq_respages | 1 |
| CAPPED_DATA | 0 | rqstp->rq_vers | 1 |
| DATA_SOURCE | 0 | rqstp | $0 |
| CONSTRAINT | 0 | rqstp | <2945 |
| MEM_ZERO | 0 | rqstp->rq_argp | |
| MEM_ZERO | 0 | rqstp->rq_resp | |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
fs/nfsd/nfs3proc.c nfsd3_proc_read() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_server | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_xprt | 0,4096-ptr_max |
| BUF_SIZE | 0 | rqstp->rq_private | (-1),16 |
| CAPPED_DATA | 0 | rqstp->rq_arg.head->iov_base | 1 |
| CAPPED_DATA | 0 | rqstp->rq_proc | 1 |
| CAPPED_DATA | 0 | rqstp->rq_prog | 1 |
| CAPPED_DATA | 0 | rqstp->rq_respages | 1 |
| CAPPED_DATA | 0 | rqstp->rq_vers | 1 |
| DATA_SOURCE | 0 | rqstp | $0 |
| CONSTRAINT | 0 | rqstp | <2945 |
| MEM_ZERO | 0 | rqstp->rq_argp | |
| MEM_ZERO | 0 | rqstp->rq_resp | |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
fs/nfsd/nfs3xdr.c nfs3svc_decode_writeargs() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_server | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_xprt | 0,4096-ptr_max |
| BUF_SIZE | 0 | rqstp->rq_private | (-1),16 |
| CAPPED_DATA | 0 | rqstp->rq_arg.head->iov_base | 1 |
| CAPPED_DATA | 0 | rqstp->rq_proc | 1 |
| CAPPED_DATA | 0 | rqstp->rq_prog | 1 |
| CAPPED_DATA | 0 | rqstp->rq_respages | 1 |
| CAPPED_DATA | 0 | rqstp->rq_vers | 1 |
| DATA_SOURCE | 0 | rqstp | $0 |
| CONSTRAINT | 0 | rqstp | <2945 |
| MEM_ZERO | 0 | rqstp->rq_argp | |
| MEM_ZERO | 0 | rqstp->rq_resp | |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
fs/nfsd/flexfilelayout.c nfsd4_ff_proc_getdeviceinfo() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_xprt | 0,4096-ptr_max |
| BUF_SIZE | 0 | rqstp | 128 |
| BUF_SIZE | 0 | rqstp | 128 |
| BUF_SIZE | 0 | rqstp->rq_private | (-1),16 |
| CAPPED_DATA | 0 | rqstp->rq_arg.head->iov_base | 1 |
| DATA_SOURCE | 0 | rqstp | $1 |
| CONSTRAINT | 0 | rqstp | <2945 |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
fs/nfsd/nfs4xdr.c nfsd4_decode_getxattr() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_server | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_xprt | 0,4096-ptr_max |
| BUF_SIZE | 0 | rqstp | 128 |
| BUF_SIZE | 0 | rqstp | 128 |
| CAPPED_DATA | 0 | rqstp->rq_proc | 1 |
| CAPPED_DATA | 0 | rqstp->rq_prog | 1 |
| CAPPED_DATA | 0 | rqstp->rq_vers | 1 |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
fs/nfsd/nfs4xdr.c nfsd4_decode_listxattrs() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_server | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_xprt | 0,4096-ptr_max |
| BUF_SIZE | 0 | rqstp | 128 |
| BUF_SIZE | 0 | rqstp | 128 |
| CAPPED_DATA | 0 | rqstp->rq_proc | 1 |
| CAPPED_DATA | 0 | rqstp->rq_prog | 1 |
| CAPPED_DATA | 0 | rqstp->rq_vers | 1 |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
fs/nfsd/nfs4xdr.c nfsd4_decode_setxattr() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_server | 4096-ptr_max |
| PARAM_VALUE | 0 | rqstp->rq_xprt | 0,4096-ptr_max |
| BUF_SIZE | 0 | rqstp | 128 |
| BUF_SIZE | 0 | rqstp | 128 |
| CAPPED_DATA | 0 | rqstp->rq_proc | 1 |
| CAPPED_DATA | 0 | rqstp->rq_prog | 1 |
| CAPPED_DATA | 0 | rqstp->rq_vers | 1 |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
fs/nfsd/nfs4xdr.c nfsd4_encode_fattr4_maxread() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 0 |
| LOCK2 | &pool->lock |
fs/nfsd/nfs4xdr.c nfsd4_encode_fattr4_maxwrite() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 0 |
| LOCK2 | &pool->lock |
fs/nfsd/nfs4xdr.c nfsd4_encode_readdir() -> svc_max_payload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rqstp | 4096-ptr_max |
| BUF_SIZE | 0 | rqstp | (-1),128 |
| BUF_SIZE | 0 | rqstp | (-1),128 |
| USER_DATA | 0 | rqstp->rq_xid | 0-u32max |
| HALF_LOCKED2 | &nn->client_lock |