Searched refs:nfslock_lock (Results 1 – 5 of 5) sorted by relevance
405 lckp->nfslock_lock = 0; in nfscl_lockinit()441 if (lckp->nfslock_usecnt == 0 && (lckp->nfslock_lock & NFSV4LOCK_WANTED)) { in nfscl_lockderef()442 lckp->nfslock_lock &= ~NFSV4LOCK_WANTED; in nfscl_lockderef()
1059 if (clp->nfsc_lock.nfslock_lock & NFSV4LOCK_LOCK) in nfscl_clrelease()1073 if (clp->nfsc_lock.nfslock_lock & NFSV4LOCK_LOCK) in nfscl_clientrelease()1548 (lp->nfsl_rwlock.nfslock_lock & NFSV4LOCK_WANTED) == 0) in nfscl_lockrelease()1594 if ((lp->nfsl_rwlock.nfslock_lock & NFSV4LOCK_WANTED)) in nfscl_freealllocks()1899 if ((lp->nfsl_rwlock.nfslock_lock & NFSV4LOCK_WANTED)) in nfscl_cleanup_common()2844 dp->nfsdl_rwlock.nfslock_lock |= in nfscl_renewthread()2904 dp->nfsdl_rwlock.nfslock_lock == 0 && in nfscl_renewthread()2949 (lyp->nfsly_lock.nfslock_lock & in nfscl_renewthread()2951 lyp->nfsly_lock.nfslock_lock |= in nfscl_renewthread()2953 msleep(&lyp->nfsly_lock.nfslock_lock, in nfscl_renewthread()[all …]
2371 if (!(lp->nfslock_lock & NFSV4LOCK_LOCK) && in nfsv4_lock()2373 lp->nfslock_lock &= ~NFSV4LOCK_LOCKWANTED; in nfsv4_lock()2374 lp->nfslock_lock |= NFSV4LOCK_LOCK; in nfsv4_lock()2377 lp->nfslock_lock |= NFSV4LOCK_LOCKWANTED; in nfsv4_lock()2379 while (lp->nfslock_lock & (NFSV4LOCK_LOCK | NFSV4LOCK_LOCKWANTED)) { in nfsv4_lock()2381 lp->nfslock_lock &= ~NFSV4LOCK_LOCKWANTED; in nfsv4_lock()2384 lp->nfslock_lock |= NFSV4LOCK_WANTED; in nfsv4_lock()2387 msleep(&lp->nfslock_lock, mutex, PVFS, "nfsv4lck", hz); in nfsv4_lock()2388 if (iwantlock && !(lp->nfslock_lock & NFSV4LOCK_LOCK) && in nfsv4_lock()2390 lp->nfslock_lock &= ~NFSV4LOCK_LOCKWANTED; in nfsv4_lock()[all …]
837 u_int8_t nfslock_lock; member
3811 new_lfp->lf_locallock_lck.nfslock_lock = 0; in nfsrv_getlockfile()