Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfsd/nfs4state.c init_open_stateid() -> nfsd4_find_existing_open()

Type Parameter Key Value
PARAM_VALUE 0 fp 4096-ptr_max
PARAM_VALUE 0 fp->fi_clnt_odstate.next 4096-ptr_max
PARAM_VALUE 0 fp->fi_clnt_odstate.prev 4096-ptr_max
PARAM_VALUE 0 fp->fi_deleg_file 0
PARAM_VALUE 0 fp->fi_delegations.next 4096-ptr_max
PARAM_VALUE 0 fp->fi_delegations.prev 4096-ptr_max
PARAM_VALUE 0 fp->fi_had_conflict 0
PARAM_VALUE 0 fp->fi_lo_recalls.counter 0
PARAM_VALUE 0 fp->fi_lo_states.next 4096-ptr_max
PARAM_VALUE 0 fp->fi_lo_states.prev 4096-ptr_max
PARAM_VALUE 0 fp->fi_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fp->fi_rdeleg_file 0
PARAM_VALUE 0 fp->fi_ref.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 fp->fi_rlist.next 0,4096-ptr_max
PARAM_VALUE 0 fp->fi_share_deny 0
PARAM_VALUE 0 fp->fi_stateids.next 4096-ptr_max
PARAM_VALUE 0 fp->fi_stateids.prev 4096-ptr_max
PARAM_VALUE 1 open 4096-ptr_max
PARAM_VALUE 1 open->op_cinfo.after_change 0
PARAM_VALUE 1 open->op_cinfo.atomic 0-1
PARAM_VALUE 1 open->op_cinfo.before_change 0
PARAM_VALUE 1 open->op_claim_type 0-2,4-5
PARAM_VALUE 1 open->op_file->fi_access->counter s32min-s32max
PARAM_VALUE 1 open->op_file->fi_clnt_odstate.next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_clnt_odstate.next->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_clnt_odstate.prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_clnt_odstate.prev->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_clnt_odstate.prev->prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_deleg_file 0
PARAM_VALUE 1 open->op_file->fi_delegations.next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_delegations.next->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_delegations.prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_delegations.prev->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_delegations.prev->prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_had_conflict 0
PARAM_VALUE 1 open->op_file->fi_lo_recalls.counter 0
PARAM_VALUE 1 open->op_file->fi_lo_states.next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_lo_states.next->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_lo_states.prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_lo_states.prev->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_lo_states.prev->prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_rdeleg_file 0
PARAM_VALUE 1 open->op_file->fi_ref.refs.counter 1
PARAM_VALUE 1 open->op_file->fi_rlist.next 0,4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_share_deny 0
PARAM_VALUE 1 open->op_file->fi_stateids.next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_stateids.next->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_stateids.prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_stateids.prev->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_stateids.prev->prev 4096-ptr_max
PARAM_VALUE 1 open->op_filp 0,4096-ptr_max
PARAM_VALUE 1 open->op_odstate 4096-ptr_max
PARAM_VALUE 1 open->op_odstate->co_client 4096-ptr_max
PARAM_VALUE 1 open->op_odstate->co_odcount.refs.counter 1
PARAM_VALUE 1 open->op_openowner 4096-ptr_max
PARAM_VALUE 1 open->op_openowner->oo_owner.so_client 4096-ptr_max
PARAM_VALUE 1 open->op_openowner->oo_owner.so_client->cl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 open->op_openowner->oo_owner.so_replay.rp_status 0-10017,10019-10065,10068-u32max
PARAM_VALUE 1 open->op_rqstp 4096-ptr_max
PARAM_VALUE 1 open->op_rqstp->rq_xprt 0,4096-ptr_max
PARAM_VALUE 1 open->op_stp 4096-ptr_max
PARAM_VALUE 1 open->op_stp->st_mutex.dep_map->name 0-255
PARAM_VALUE 1 open->op_stp->st_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 open->op_stp->st_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 open->op_stp->st_mutex.magic 4096-ptr_max
PARAM_VALUE 1 open->op_stp->st_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 open->op_stp->st_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 open->op_stp->st_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 open->op_stp->st_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 open->op_xdr_error 0
PARAM_VALUE 1 *open->op_rqstp->rq_pages 4096-ptr_max
BUF_SIZE 1 open 352
BUF_SIZE 1 open->op_rqstp 64,128,280,1024
CAPPED_DATA 0 fp 1
CAPPED_DATA 1 open->op_clientid.cl_boot 1
CAPPED_DATA 1 open->op_clientid.cl_id 1
DATA_SOURCE 0 fp $0
DATA_SOURCE 1 open $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 open->op_rqstp->rq_xid 0-u32max
LOCK2 &oo->oo_owner.so_client->cl_lock
LOCK2 &stp->st_mutex
LOCK2 0 &fp->fi_lock
TYPE_LOCK (struct nfs4_client)->cl_lock
TYPE_LOCK (struct nfs4_file)->fi_lock
TYPE_LOCK (struct nfs4_ol_stateid)->st_mutex

fs/nfsd/nfs4state.c nfsd4_find_and_lock_existing_open() -> nfsd4_find_existing_open()

Type Parameter Key Value
PARAM_VALUE 0 fp 4096-ptr_max
PARAM_VALUE 0 fp->fi_clnt_odstate.next 4096-ptr_max
PARAM_VALUE 0 fp->fi_clnt_odstate.prev 4096-ptr_max
PARAM_VALUE 0 fp->fi_deleg_file 0
PARAM_VALUE 0 fp->fi_delegations.next 4096-ptr_max
PARAM_VALUE 0 fp->fi_delegations.prev 4096-ptr_max
PARAM_VALUE 0 fp->fi_had_conflict 0
PARAM_VALUE 0 fp->fi_lo_recalls.counter 0
PARAM_VALUE 0 fp->fi_lo_states.next 4096-ptr_max
PARAM_VALUE 0 fp->fi_lo_states.prev 4096-ptr_max
PARAM_VALUE 0 fp->fi_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fp->fi_rdeleg_file 0
PARAM_VALUE 0 fp->fi_ref.refs.counter (-1073741824),0-s32max
PARAM_VALUE 0 fp->fi_rlist.next 0,4096-ptr_max
PARAM_VALUE 0 fp->fi_share_deny 0
PARAM_VALUE 0 fp->fi_stateids.next 4096-ptr_max
PARAM_VALUE 0 fp->fi_stateids.prev 4096-ptr_max
PARAM_VALUE 1 open 4096-ptr_max
PARAM_VALUE 1 open->op_cinfo.after_change 0
PARAM_VALUE 1 open->op_cinfo.atomic 0-1
PARAM_VALUE 1 open->op_cinfo.before_change 0
PARAM_VALUE 1 open->op_claim_type 0-2,4-5
PARAM_VALUE 1 open->op_file 1-u64max
PARAM_VALUE 1 open->op_file->fi_access->counter s32min-s32max
PARAM_VALUE 1 open->op_file->fi_clnt_odstate.next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_clnt_odstate.next->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_clnt_odstate.prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_clnt_odstate.prev->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_clnt_odstate.prev->prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_deleg_file 0
PARAM_VALUE 1 open->op_file->fi_delegations.next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_delegations.next->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_delegations.prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_delegations.prev->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_delegations.prev->prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_had_conflict 0
PARAM_VALUE 1 open->op_file->fi_lo_recalls.counter 0
PARAM_VALUE 1 open->op_file->fi_lo_states.next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_lo_states.next->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_lo_states.prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_lo_states.prev->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_lo_states.prev->prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_rdeleg_file 0
PARAM_VALUE 1 open->op_file->fi_ref.refs.counter 1
PARAM_VALUE 1 open->op_file->fi_rlist.next 0,4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_share_deny 0
PARAM_VALUE 1 open->op_file->fi_stateids.next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_stateids.next->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_stateids.prev 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_stateids.prev->next 4096-ptr_max
PARAM_VALUE 1 open->op_file->fi_stateids.prev->prev 4096-ptr_max
PARAM_VALUE 1 open->op_filp 0,4096-ptr_max
PARAM_VALUE 1 open->op_odstate 4096-ptr_max
PARAM_VALUE 1 open->op_odstate->co_client 4096-ptr_max
PARAM_VALUE 1 open->op_odstate->co_odcount.refs.counter 1
PARAM_VALUE 1 open->op_openowner 4096-ptr_max
PARAM_VALUE 1 open->op_openowner->oo_owner.so_client 4096-ptr_max
PARAM_VALUE 1 open->op_openowner->oo_owner.so_client->cl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 open->op_openowner->oo_owner.so_replay.rp_status 0-10017,10019-10065,10068-u32max
PARAM_VALUE 1 open->op_rqstp 4096-ptr_max
PARAM_VALUE 1 open->op_rqstp->rq_xprt 0,4096-ptr_max
PARAM_VALUE 1 open->op_stp 4096-ptr_max
PARAM_VALUE 1 open->op_xdr_error 0
PARAM_VALUE 1 *open->op_rqstp->rq_pages 4096-ptr_max
BUF_SIZE 1 open 352
BUF_SIZE 1 open->op_rqstp 64,128,280,1024
CAPPED_DATA 0 fp 1
CAPPED_DATA 1 open->op_clientid.cl_boot 1
CAPPED_DATA 1 open->op_clientid.cl_id 1
DATA_SOURCE 0 fp $0
DATA_SOURCE 1 open $1
PREEMPT_ADD <- disables preempt
USER_DATA 1 open->op_rqstp->rq_xid 0-u32max
LOCK2 0 &fp->fi_lock
TYPE_LOCK (struct nfs4_file)->fi_lock