Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 lo 4096-ptr_max
PARAM_VALUE 1 ost 4096-ptr_max
PARAM_VALUE 1 ost->st_mutex.dep_map->name 0-255
PARAM_VALUE 1 ost->st_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 ost->st_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 ost->st_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 ost->st_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 ost->st_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 ost->st_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 ost->st_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 ost->st_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 ost->st_mutex.wait_lock.owner_cpu u32max
DATA_SOURCE 0 lo $0
DATA_SOURCE 1 ost $3
PREEMPT_ADD <- disables preempt
LOCK2 &clp->cl_lock
TYPE_LOCK (struct nfs4_client)->cl_lock

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

Type Parameter Key Value
PARAM_VALUE 0 lo 4096-ptr_max
PARAM_VALUE 0 lo->lo_owner.so_client->cl_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ost 4096-ptr_max
PARAM_VALUE 1 ost->st_mutex.dep_map->name 0-255
PARAM_VALUE 1 ost->st_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 ost->st_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 ost->st_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 ost->st_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 ost->st_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 ost->st_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 ost->st_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 ost->st_mutex.wait_lock.owner (-1)
PARAM_VALUE 1 ost->st_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 ost->st_mutex.wait_lock.raw_lock.val.counter 0-s32max
DATA_SOURCE 0 lo $1
DATA_SOURCE 1 ost $4
PARAM_COMPARE 1 &ost->st_perfile != $1->st_perfile.next
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