Searched refs:lock_stp (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/nfsd/
H A Dnfs4state.c5381 static void get_lock_access(struct nfs4_ol_stateid *lock_stp, u32 access) get_lock_access() argument
5383 struct nfs4_file *fp = lock_stp->st_stid.sc_file; get_lock_access()
5387 if (test_access(access, lock_stp)) get_lock_access()
5390 set_access(access, lock_stp); get_lock_access()
5441 struct nfs4_ol_stateid *lock_stp = NULL; nfsd4_lock() local
5492 &lock_stp, &new); nfsd4_lock()
5494 down_write(&lock_stp->st_rwsem); nfsd4_lock()
5499 NFS4_LOCK_STID, &lock_stp, nn); nfsd4_lock()
5503 lock_sop = lockowner(lock_stp->st_stateowner); nfsd4_lock()
5506 status = nfs4_check_openmode(lock_stp, lkflg); nfsd4_lock()
5524 fp = lock_stp->st_stid.sc_file; nfsd4_lock()
5531 get_lock_access(lock_stp, NFS4_SHARE_ACCESS_READ); nfsd4_lock()
5540 get_lock_access(lock_stp, NFS4_SHARE_ACCESS_WRITE); nfsd4_lock()
5572 update_stateid(&lock_stp->st_stid.sc_stateid); nfsd4_lock()
5573 memcpy(&lock->lk_resp_stateid, &lock_stp->st_stid.sc_stateid, nfsd4_lock()
5593 if (lock_stp) { nfsd4_lock()
5600 up_write(&lock_stp->st_rwsem); nfsd4_lock()
5607 release_lock_stateid(lock_stp); nfsd4_lock()
5609 nfs4_put_stid(&lock_stp->st_stid); nfsd4_lock()

Completed in 84 milliseconds