Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfsd/nfs4state.c nfs4_get_vfs_file() -> nfsd4_truncate()

Type Parameter Key Value
PARAM_VALUE 0 rqstp->rq_authop->accept 0,1103036785373782016,1687358314115878912,5247644339162972160,7875779351090917376
PARAM_VALUE 0 rqstp->rq_authop->domain_release 0,2296223070751191040,6648909504522293248
PARAM_VALUE 0 rqstp->rq_authop->flavour 0-1,6-7
PARAM_VALUE 0 rqstp->rq_authop->name 0,881490221644312576,1763101329338228736,4907575241036689408,6547218313901944832
PARAM_VALUE 0 rqstp->rq_authop->owner 0,4096-ptr_max
PARAM_VALUE 0 rqstp->rq_authop->pseudoflavor 0,2801009937932914688
PARAM_VALUE 0 rqstp->rq_authop->release 0,525178101793169408,1013124013322760192,3624773763029225472
PARAM_VALUE 0 rqstp->rq_authop->set_client 0,4643772739257647104,6099676139357782016
PARAM_VALUE 0 rqstp->rq_procinfo->pc_xdrressize 0-1,6,19,22-24,27,29-30,32,34-36,52,59,62,70,258-259,519,521,1048,2068,3072,6150,1048579,1048603
PARAM_VALUE 0 rqstp->rq_xprt->xpt_class->xcl_max_payload 32768,4194304
PARAM_VALUE 1 fh 4096-ptr_max
PARAM_VALUE 1 fh->fh_dentry 4096-ptr_max
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 open 4096-ptr_max
PARAM_VALUE 2 open->op_share_access 0-2
PARAM_VALUE 2 open->op_share_deny 0-2
BUF_SIZE 0 rqstp (-1),128
BUF_SIZE 0 rqstp (-1),128
BUF_SIZE 1 fh (-1),416
BUF_SIZE 1 fh (-1),416
BUF_SIZE 2 open (-1),352
BUF_SIZE 2 open (-1),352
BUF_SIZE 2 open->op_rqstp (-1),64,128,280,1024
DATA_SOURCE 0 rqstp $0
DATA_SOURCE 1 fh $2
DATA_SOURCE 2 open $4
USER_DATA 2 open->op_rqstp->rq_xid 0-u32max

fs/nfsd/nfs4state.c nfs4_upgrade_open() -> nfsd4_truncate()

Type Parameter Key Value
PARAM_VALUE 0 rqstp 4096-ptr_max
PARAM_VALUE 0 rqstp->rq_arg.head 4096-ptr_max
PARAM_VALUE 0 rqstp->rq_arg_stream->end 0-u32max
PARAM_VALUE 0 rqstp->rq_arg_stream->p 0-u32max
PARAM_VALUE 0 rqstp->rq_arg_stream.rqst->rq_reply_bytes_recvd 1-u64max
PARAM_VALUE 0 rqstp->rq_auth_data->gsd_seq_num 0-4294967295
PARAM_VALUE 0 rqstp->rq_authop->accept 0,1103036785373782016,1687358314115878912,5247644339162972160,7875779351090917376
PARAM_VALUE 0 rqstp->rq_authop->domain_release 0,2296223070751191040,6648909504522293248
PARAM_VALUE 0 rqstp->rq_authop->flavour 0-1,6-7
PARAM_VALUE 0 rqstp->rq_authop->name 0,881490221644312576,1763101329338228736,4907575241036689408,6547218313901944832
PARAM_VALUE 0 rqstp->rq_authop->owner 0,4096-ptr_max
PARAM_VALUE 0 rqstp->rq_authop->pseudoflavor 0,2801009937932914688
PARAM_VALUE 0 rqstp->rq_authop->release 0,525178101793169408,1013124013322760192,3624773763029225472
PARAM_VALUE 0 rqstp->rq_authop->set_client 0,4643772739257647104,6099676139357782016
PARAM_VALUE 0 rqstp->rq_procinfo->pc_func 1-u64max
PARAM_VALUE 0 rqstp->rq_procinfo->pc_xdrressize 0-1,6,19,22-24,27,29-30,32,34-36,52,59,62,70,258-259,519,521,1048,2068,3072,6150,1048579,1048603
PARAM_VALUE 0 rqstp->rq_res.head 4096-ptr_max
PARAM_VALUE 0 rqstp->rq_res_stream->end 0-u32max
PARAM_VALUE 0 rqstp->rq_res_stream->p 0-u32max
PARAM_VALUE 0 rqstp->rq_res_stream.buf->head->iov_len 0-4294967295
PARAM_VALUE 0 rqstp->rq_server->sv_nprogs 0-s32max
PARAM_VALUE 0 rqstp->rq_server->sv_programs 4096-ptr_max
PARAM_VALUE 0 rqstp->rq_xprt 0,4096-ptr_max
PARAM_VALUE 0 rqstp->rq_xprt->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 rqstp->rq_xprt->ns_tracker->dead 0-1
PARAM_VALUE 0 rqstp->rq_xprt->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 rqstp->rq_xprt->xpt_class->xcl_max_payload 32768,4194304
PARAM_VALUE 0 rqstp->rq_xprt->xpt_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 rqstp->rq_xprt->xpt_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 rqstp->rq_xprt->xpt_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 rqstp->rq_xprt->xpt_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 rqstp->rq_xprt->xpt_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 rqstp->rq_xprt->xpt_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 rqstp->rq_xprt->xpt_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 rqstp->rq_xprt->xpt_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 *rqstp->rq_pages 4096-ptr_max
PARAM_VALUE 1 fh 4096-ptr_max
PARAM_VALUE 1 fh->fh_64bit_cookies 1
PARAM_VALUE 1 fh->fh_dentry 4096-ptr_max
PARAM_VALUE 1 fh->fh_dentry->d_inode 4096-ptr_max
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_wb->dwork.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_wb->dwork.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 fh->fh_dentry->d_inode->i_wb->dwork.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 fh->fh_no_atomic_attr 1
PARAM_VALUE 1 fh->fh_post_saved 0
PARAM_VALUE 1 fh->fh_pre_saved 0
PARAM_VALUE 1 fh->fh_use_wgather 1
PARAM_VALUE 2 open 4096-ptr_max
PARAM_VALUE 2 open->op_cinfo.after_change 0
PARAM_VALUE 2 open->op_cinfo.atomic 0-1
PARAM_VALUE 2 open->op_cinfo.before_change 0
PARAM_VALUE 2 open->op_claim_type 0-2,4-5
PARAM_VALUE 2 open->op_file->fi_access->counter s32min-s32max
PARAM_VALUE 2 open->op_file->fi_clnt_odstate.next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_clnt_odstate.next->next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_clnt_odstate.prev 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_clnt_odstate.prev->next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_clnt_odstate.prev->prev 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_deleg_file 0
PARAM_VALUE 2 open->op_file->fi_delegations.next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_delegations.next->next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_delegations.prev 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_delegations.prev->next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_delegations.prev->prev 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_had_conflict 0
PARAM_VALUE 2 open->op_file->fi_lo_recalls.counter 0
PARAM_VALUE 2 open->op_file->fi_lo_states.next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_lo_states.next->next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_lo_states.prev 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_lo_states.prev->next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_lo_states.prev->prev 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_rdeleg_file 0
PARAM_VALUE 2 open->op_file->fi_ref.refs.counter 1
PARAM_VALUE 2 open->op_file->fi_rlist.next 0,4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_share_deny 0
PARAM_VALUE 2 open->op_file->fi_stateids.next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_stateids.next->next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_stateids.prev 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_stateids.prev->next 4096-ptr_max
PARAM_VALUE 2 open->op_file->fi_stateids.prev->prev 4096-ptr_max
PARAM_VALUE 2 open->op_filp 0,4096-ptr_max
PARAM_VALUE 2 open->op_odstate 4096-ptr_max
PARAM_VALUE 2 open->op_odstate->co_client 4096-ptr_max
PARAM_VALUE 2 open->op_odstate->co_odcount.refs.counter 1
PARAM_VALUE 2 open->op_openowner 4096-ptr_max
PARAM_VALUE 2 open->op_openowner->oo_owner.so_client 4096-ptr_max
PARAM_VALUE 2 open->op_openowner->oo_owner.so_client->cl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 open->op_openowner->oo_owner.so_replay.rp_status 0-10017,10019-10065,10068-u32max
PARAM_VALUE 2 open->op_rqstp 4096-ptr_max
PARAM_VALUE 2 open->op_rqstp->rq_xprt 0,4096-ptr_max
PARAM_VALUE 2 open->op_share_deny 0-2
PARAM_VALUE 2 open->op_stp 4096-ptr_max
PARAM_VALUE 2 open->op_xdr_error 0
PARAM_VALUE 2 *open->op_rqstp->rq_pages 4096-ptr_max
BUF_SIZE 0 rqstp 128
BUF_SIZE 0 rqstp 128
BUF_SIZE 1 fh (-1),416
BUF_SIZE 1 fh (-1),416
BUF_SIZE 2 open 352
BUF_SIZE 2 open->op_rqstp 64,128,280,1024
CAPPED_DATA 0 rqstp->rq_arg.head->iov_base 1
CAPPED_DATA 2 open->op_clientid.cl_boot 1
CAPPED_DATA 2 open->op_clientid.cl_id 1
DATA_SOURCE 0 rqstp $0
DATA_SOURCE 1 fh $2
DATA_SOURCE 2 open $4
USER_DATA 2 open->op_rqstp->rq_xid 0-u32max