Searched refs:lockowner (Results 1 – 6 of 6) 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 …]
1041 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()
1191 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
993 owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()
1524 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()1789 lockowner(stp->st_stateowner); in nfsd4_revoke_states()2430 remove_blocked_locks(lockowner(so)); in __destroy_client()6449 lo = lockowner(so); in nfs4_anylock_blockers()7188 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()7725 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()7743 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()7748 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()8022 lock_sop = lockowner(lock_stp->st_stateowner); in nfsd4_lock()8085 file_lock->c.flc_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(&lock_sop->lo_owner)); in nfsd4_lock()[all …]