Searched refs:lockowner (Results 1 – 9 of 9) sorted by relevance
51 nlmclnt_get_lockowner(struct nlm_lockowner *lockowner) in nlmclnt_get_lockowner() argument53 refcount_inc(&lockowner->count); in nlmclnt_get_lockowner()54 return lockowner; in nlmclnt_get_lockowner()57 static void nlmclnt_put_lockowner(struct nlm_lockowner *lockowner) in nlmclnt_put_lockowner() argument59 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmclnt_put_lockowner()61 list_del(&lockowner->list); in nlmclnt_put_lockowner()62 spin_unlock(&lockowner->host->h_lock); in nlmclnt_put_lockowner()63 nlmclnt_release_host(lockowner->host); in nlmclnt_put_lockowner()64 kfree(lockowner); in nlmclnt_put_lockowner()69 struct nlm_lockowner *lockowner; in nlm_pidbusy() local[all …]
337 nlmsvc_get_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_get_lockowner() argument339 refcount_inc(&lockowner->count); in nlmsvc_get_lockowner()340 return lockowner; in nlmsvc_get_lockowner()343 void nlmsvc_put_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_put_lockowner() argument345 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()347 list_del(&lockowner->list); in nlmsvc_put_lockowner()348 spin_unlock(&lockowner->host->h_lock); in nlmsvc_put_lockowner()349 nlmsvc_release_host(lockowner->host); in nlmsvc_put_lockowner()350 kfree(lockowner); in nlmsvc_put_lockowner()355 struct nlm_lockowner *lockowner; in __nlmsvc_find_lockowner() local[all …]
515 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()5931 lo = lockowner(so); in nfs4_anylock_blockers()6562 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()7065 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()7083 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()7088 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()7361 lock_sop = lockowner(lock_stp->st_stateowner); in nfsd4_lock()7433 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(&lock_sop->lo_owner)); in nfsd4_lock()7669 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(stp->st_stateowner)); in nfsd4_locku()
70 fl_owner_t lockowner; member
1034 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
924 l_ctx->lockowner = current->files; in nfs_init_lock_context()934 if (pos->lockowner != current->files) in __nfs_find_lock_context()
1209 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
1001 fl_owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()