Lines Matching refs:open_stp
1341 static void release_open_stateid_locks(struct nfs4_ol_stateid *open_stp, in release_open_stateid_locks() argument
1346 lockdep_assert_held(&open_stp->st_stid.sc_client->cl_lock); in release_open_stateid_locks()
1348 while (!list_empty(&open_stp->st_locks)) { in release_open_stateid_locks()
1349 stp = list_entry(open_stp->st_locks.next, in release_open_stateid_locks()
5757 struct nfs4_ol_stateid *open_stp, in alloc_init_lock_stateowner() argument
5805 struct nfs4_ol_stateid *open_stp) in init_lock_stateid() argument
5814 if (nfs4_ol_stateid_unhashed(open_stp)) in init_lock_stateid()
5816 retstp = find_lock_stateid(lo, open_stp); in init_lock_stateid()
5825 stp->st_deny_bmap = open_stp->st_deny_bmap; in init_lock_stateid()
5826 stp->st_openstp = open_stp; in init_lock_stateid()
5828 list_add(&stp->st_locks, &open_stp->st_locks); in init_lock_stateid()
5953 struct nfs4_ol_stateid *open_stp = NULL; in nfsd4_lock() local
5996 &open_stp, nn); in nfsd4_lock()
5999 mutex_unlock(&open_stp->st_mutex); in nfsd4_lock()
6000 open_sop = openowner(open_stp->st_stateowner); in nfsd4_lock()
6005 status = lookup_or_create_lock_state(cstate, open_stp, lock, in nfsd4_lock()
6153 if (open_stp) in nfsd4_lock()
6154 nfs4_put_stid(&open_stp->st_stid); in nfsd4_lock()