Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfsd/nfs4state.c nfsd4_lock() -> get_lock_access()

Type Parameter Key Value
PARAM_VALUE 0 lock_stp 4096-ptr_max
PARAM_VALUE 0 lock_stp->st_stid.sc_file 4096-ptr_max
PARAM_VALUE 0 lock_stp->st_stid.sc_file->fi_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 access 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &fp->fi_lock
LOCK2 &stp->st_mutex
TYPE_LOCK (struct nfs4_file)->fi_lock

fs/nfsd/nfs4state.c nfsd4_lock() -> get_lock_access()

Type Parameter Key Value
PARAM_VALUE 0 lock_stp 4096-ptr_max
PARAM_VALUE 0 lock_stp->st_stid.sc_file 4096-ptr_max
PARAM_VALUE 0 lock_stp->st_stid.sc_file->fi_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 access 2
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &fp->fi_lock
LOCK2 &stp->st_mutex
TYPE_LOCK (struct nfs4_file)->fi_lock