Home
last modified time | relevance | path

Searched refs:lockowner (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/fs/lockd/
Dclntproc.c51 nlmclnt_get_lockowner(struct nlm_lockowner *lockowner) in nlmclnt_get_lockowner() argument
53 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() argument
59 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 …]
Dsvclock.c337 nlmsvc_get_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_get_lockowner() argument
339 refcount_inc(&lockowner->count); in nlmsvc_get_lockowner()
340 return lockowner; in nlmsvc_get_lockowner()
343 static void nlmsvc_put_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_put_lockowner() argument
345 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 …]
/linux-5.19.10/fs/nfsd/
Dstate.h515 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) in lockowner() function
Dnfs4state.c1472 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()
2221 remove_blocked_locks(lockowner(so)); in __destroy_client()
5780 lo = lockowner(so); in nfs4_anylock_blockers()
6355 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()
6854 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()
6872 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()
6877 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()
7150 lock_sop = lockowner(lock_stp->st_stateowner); in nfsd4_lock()
7222 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(&lock_sop->lo_owner)); in nfsd4_lock()
7457 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(stp->st_stateowner)); in nfsd4_locku()
/linux-5.19.10/include/linux/
Dnfs_fs.h70 fl_owner_t lockowner; member
/linux-5.19.10/fs/nfs/
Dpagelist.c1034 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
Dinode.c929 l_ctx->lockowner = current->files; in nfs_init_lock_context()
939 if (pos->lockowner != current->files) in __nfs_find_lock_context()
Dwrite.c1208 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
Dnfs4state.c1003 fl_owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()