Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/nfsd/nfs4proc.c nfsd4_proc_compound() -> nfsd4_check_resp_size()

Type Parameter Key Value
PARAM_VALUE 0 resp->cstate.current_fh.fh_post_saved 0
PARAM_VALUE 0 resp->cstate.current_fh.fh_pre_saved 0
PARAM_VALUE 0 resp->rqstp 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_accept_statp 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_arg_stream.rqst 0
PARAM_VALUE 0 resp->rqstp->rq_arg_stream.scratch.iov_base 18379471554275704832,18446612682070032384
PARAM_VALUE 0 resp->rqstp->rq_auth_slack 0
PARAM_VALUE 0 resp->rqstp->rq_auth_stat 0
PARAM_VALUE 0 resp->rqstp->rq_authop 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_cred.cr_flavor 0-1,7
PARAM_VALUE 0 resp->rqstp->rq_cred.cr_group_info 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_cred.cr_gss_mech 0
PARAM_VALUE 0 resp->rqstp->rq_cred.cr_principal 0
PARAM_VALUE 0 resp->rqstp->rq_cred.cr_raw_principal 0
PARAM_VALUE 0 resp->rqstp->rq_cred.cr_targ_princ 0
PARAM_VALUE 0 resp->rqstp->rq_err 0
PARAM_VALUE 0 resp->rqstp->rq_next_page 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_page_end 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_pages_nfree 0
PARAM_VALUE 0 resp->rqstp->rq_pool 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_proc 0-23
PARAM_VALUE 0 resp->rqstp->rq_procinfo 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_prog 0,100003,100021,100227,400122,1073741824
PARAM_VALUE 0 resp->rqstp->rq_res_stream.buf 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_res_stream.iov 0,4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_res_stream.rqst 0
PARAM_VALUE 0 resp->rqstp->rq_res_stream.scratch.iov_len 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 resp->rqstp->rq_respages 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_scratch_folio 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_server 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_vers 0-4
PARAM_VALUE 0 resp->rqstp->rq_xprt 0,4096-ptr_max
PARAM_VALUE 0 resp->xdr 4096-ptr_max
PARAM_VALUE 0 resp->xdr->buf 4096-ptr_max
PARAM_VALUE 0 resp->xdr->rqst 0
PARAM_VALUE 0 resp->xdr->scratch.iov_len 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 *resp->rqstp->rq_pages 4096-ptr_max
PARAM_VALUE 0 *resp->rqstp->rq_respages 4096-ptr_max
BUF_SIZE 0 resp 0
BUF_SIZE 0 resp->statusp s32min-(-2),1-s32max
BUF_SIZE 0 resp->tag s32min-(-2),1-s32max
BUF_SIZE 0 resp->xdr 80
CAPPED_DATA 0 resp->rqstp->rq_proc 1
CAPPED_DATA 0 resp->rqstp->rq_prog 1
CAPPED_DATA 0 resp->rqstp->rq_vers 1
BIT_INFO 0 resp 0x0,0x0
USER_DATA 0 resp->rqstp->rq_xid 0-u32max

fs/nfsd/nfs4xdr.c nfsd4_encode_operation() -> nfsd4_check_resp_size()

Type Parameter Key Value
PARAM_VALUE 0 resp 4096-ptr_max
PARAM_VALUE 0 resp->opcnt 1-2
PARAM_VALUE 0 resp->rqstp 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_argp 4096-ptr_max
PARAM_VALUE 0 resp->rqstp->rq_resp 4096-ptr_max
PARAM_VALUE 0 resp->xdr 4096-ptr_max
PARAM_VALUE 0 resp->xdr->buf 4096-ptr_max
PARAM_VALUE 0 resp->xdr->scratch.iov_len 0
PARAM_VALUE 1 respsize 0,16
BUF_SIZE 0 resp 1-s32max
BUF_SIZE 0 resp 1-s32max
DATA_SOURCE 0 resp $0
BIT_INFO 1 respsize 0x0,0x10
HARD_MAX 0 resp->opcnt 2
PREEMPT_ADD
LOCK2 &nn->client_lock
TYPE_LOCK (struct nfsd_net)->client_lock