Searched refs:lockowner (Results 1 – 4 of 4) sorted by relevance
54 nlmclnt_get_lockowner(struct nlm_lockowner *lockowner) in nlmclnt_get_lockowner() argument56 refcount_inc(&lockowner->count); in nlmclnt_get_lockowner()57 return lockowner; in nlmclnt_get_lockowner()60 static void nlmclnt_put_lockowner(struct nlm_lockowner *lockowner) in nlmclnt_put_lockowner() argument62 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmclnt_put_lockowner()64 list_del(&lockowner->list); in nlmclnt_put_lockowner()65 spin_unlock(&lockowner->host->h_lock); in nlmclnt_put_lockowner()66 nlmclnt_release_host(lockowner->host); in nlmclnt_put_lockowner()67 kfree(lockowner); in nlmclnt_put_lockowner()72 struct nlm_lockowner *lockowner; in nlm_pidbusy() local[all …]
1042 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
1016 l_ctx->lockowner = current->files; in nfs_init_lock_context() 1026 if (pos->lockowner != current->files) in __nfs_find_lock_context()
1524 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()1789 lockowner(stp->st_stateowner); in nfsd4_revoke_states()2497 remove_blocked_locks(lockowner(so)); in __destroy_client()6598 lo = lockowner(so); in nfs4_anylock_blockers()7337 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()7874 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()7892 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()7897 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()8169 lock_sop = lockowner(lock_stp->st_stateowner); in nfsd4_lock()8232 file_lock->c.flc_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(&lock_sop->lo_owner)); in nfsd4_lock()[all …]