Searched refs:lockowner (Results 1 – 9 of 9) sorted by relevance
56 refcount_inc(&lockowner->count); in nlmclnt_get_lockowner()57 return lockowner; in nlmclnt_get_lockowner()62 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() local74 if (lockowner->pid == pid) in nlm_pidbusy()91 struct nlm_lockowner *lockowner; in __nlmclnt_find_lockowner() local[all …]
348 nlmsvc_get_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_get_lockowner() argument350 refcount_inc(&lockowner->count); in nlmsvc_get_lockowner()351 return lockowner; in nlmsvc_get_lockowner()356 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()358 list_del(&lockowner->list); in nlmsvc_put_lockowner()359 spin_unlock(&lockowner->host->h_lock); in nlmsvc_put_lockowner()360 nlmsvc_release_host(lockowner->host); in nlmsvc_put_lockowner()361 kfree(lockowner); in nlmsvc_put_lockowner()366 struct nlm_lockowner *lockowner; in __nlmsvc_find_lockowner() local368 if (lockowner->pid != pid) in __nlmsvc_find_lockowner()[all …]
520 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) in lockowner() function
1500 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()2256 remove_blocked_locks(lockowner(so)); in __destroy_client()6040 lo = lockowner(so); in nfs4_anylock_blockers()6729 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()7243 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()7261 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()7266 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()7539 lock_sop = lockowner(lock_stp->st_stateowner); in nfsd4_lock()7611 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(&lock_sop->lo_owner)); in nfsd4_lock()7847 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(stp->st_stateowner)); in nfsd4_locku()
75 fl_owner_t lockowner; member
1144 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
935 l_ctx->lockowner = current->files; in nfs_init_lock_context()945 if (pos->lockowner != current->files) in __nfs_find_lock_context()
1215 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
1005 fl_owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()