Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfsd/nfs4state.c find_lock_stateid() -> nfs4_ol_stateid_unhashed()

Type Parameter Key Value
PARAM_VALUE 0 stp 4096-ptr_max
DATA_SOURCE 0 stp $1
PREEMPT_ADD
LOCK2 &clp->cl_lock
HALF_LOCKED2 &stp->st_mutex
TYPE_LOCK (struct nfs4_client)->cl_lock

fs/nfsd/nfs4state.c init_lock_stateid() -> nfs4_ol_stateid_unhashed()

Type Parameter Key Value
PARAM_VALUE 0 stp 4096-ptr_max
DATA_SOURCE 0 stp $4
PREEMPT_ADD <- disables preempt
LOCK2 &clp->cl_lock
LOCK2 &stp->st_mutex
TYPE_LOCK (struct nfs4_client)->cl_lock
TYPE_LOCK (struct nfs4_ol_stateid)->st_mutex