Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nfsd/nfs4state.c nfsd4_lock_ol_stateid() -> nfsd4_verify_open_stid()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
LOCK2 &stp->st_mutex
HALF_LOCKED2 &stp->st_mutex
TYPE_LOCK (struct nfs4_ol_stateid)->st_mutex

fs/nfsd/nfs4state.c nfsd4_stid_check_stateid_generation() -> nfsd4_verify_open_stid()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->sc_lock.rlock.dep_map->name 0-255
DATA_SOURCE 0 s $1
PREEMPT_ADD <- disables preempt
LOCK2 0 &s->sc_lock
HALF_LOCKED2 &cl->cl_lock
TYPE_LOCK (struct nfs4_stid)->sc_lock

fs/nfsd/nfs4state.c nfsd4_validate_stateid() -> nfsd4_verify_open_stid()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 s->sc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 s->sc_type 1-15,17-u16max
DATA_SOURCE 0 s r find_stateid_locked
PREEMPT_ADD <- disables preempt
LOCK2 &cl->cl_lock
TYPE_LOCK (struct nfs4_client)->cl_lock