Home
last modified time | relevance | path

Searched refs:lockowner (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/fs/lockd/
H A 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; nlm_pidbusy() local
88 struct nlm_lockowner *lockowner; __nlmclnt_find_lockowner() local
[all...]
H A Dsvclock.c336 nlmsvc_get_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_get_lockowner() argument
338 refcount_inc(&lockowner->count); in nlmsvc_get_lockowner()
339 return lockowner; in nlmsvc_get_lockowner()
342 static void nlmsvc_put_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_put_lockowner() argument
344 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()
346 list_del(&lockowner->list); in nlmsvc_put_lockowner()
347 spin_unlock(&lockowner->host->h_lock); in nlmsvc_put_lockowner()
348 nlmsvc_release_host(lockowner->host); in nlmsvc_put_lockowner()
349 kfree(lockowner); in nlmsvc_put_lockowner()
354 struct nlm_lockowner *lockowner; __nlmsvc_find_lockowner() local
[all...]
/kernel/linux/linux-6.6/fs/lockd/
H A Dclntproc.c54 nlmclnt_get_lockowner(struct nlm_lockowner *lockowner) in nlmclnt_get_lockowner() argument
56 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() argument
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; nlm_pidbusy() local
91 struct nlm_lockowner *lockowner; __nlmclnt_find_lockowner() local
[all...]
H A Dsvclock.c348 nlmsvc_get_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_get_lockowner() argument
350 refcount_inc(&lockowner->count); in nlmsvc_get_lockowner()
351 return lockowner; in nlmsvc_get_lockowner()
354 void nlmsvc_put_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_put_lockowner() argument
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; __nlmsvc_find_lockowner() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dnfs_fs.h63 fl_owner_t lockowner; member
/kernel/linux/linux-5.10/fs/nfsd/
H A Dstate.h471 * Represents a generic "lockowner". Similar to an openowner. References to it
485 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) in lockowner() function
H A Dnfs4state.c1380 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()
2125 remove_blocked_locks(lockowner(so)); in __destroy_client()
5969 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()
6452 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()
6470 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()
6475 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()
6659 /* with an existing lockowner, seqids must be the same */ in lookup_or_create_lock_state()
6752 lock_sop = lockowner(lock_stp->st_stateowner); in nfsd4_lock()
6811 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(&lock_sop->lo_owner)); in nfsd4_lock()
7040 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowne in nfsd4_locku()
[all...]
/kernel/linux/linux-6.6/fs/nfsd/
H A Dstate.h506 * Represents a generic "lockowner". Similar to an openowner. References to it
520 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) in lockowner() function
H A Dnfs4state.c1499 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()
2255 remove_blocked_locks(lockowner(so)); in __destroy_client()
6008 /* Check if any lock belonging to this lockowner has any blockers */
6042 lo = lockowner(so); in nfs4_anylock_blockers()
6731 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()
7245 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()
7263 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()
7268 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()
7452 /* with an existing lockowner, seqids must be the same */ in lookup_or_create_lock_state()
7541 lock_sop = lockowner(lock_st in nfsd4_lock()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dnfs_fs.h75 fl_owner_t lockowner; member
/kernel/linux/linux-5.10/fs/nfs/
H A Dpagelist.c1036 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
H A Dinode.c886 l_ctx->lockowner = current->files; in nfs_init_lock_context()
896 if (pos->lockowner != current->files) in __nfs_find_lock_context()
H A Dwrite.c1198 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
H A Dnfs4state.c1006 fl_owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()
/kernel/linux/linux-6.6/fs/nfs/
H A Dpagelist.c1144 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
H A Dinode.c932 l_ctx->lockowner = current->files; in nfs_init_lock_context()
942 if (pos->lockowner != current->files) in __nfs_find_lock_context()
H A Dwrite.c1215 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
H A Dnfs4state.c1005 fl_owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()

Completed in 62 milliseconds