Home
last modified time | relevance | path

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

/linux/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; in nlm_pidbusy() local
[all …]
H A Dsvclock.c314 nlmsvc_get_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_get_lockowner() argument
316 refcount_inc(&lockowner->count); in nlmsvc_get_lockowner()
317 return lockowner; in nlmsvc_get_lockowner()
320 void nlmsvc_put_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_put_lockowner() argument
322 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()
324 list_del(&lockowner->list); in nlmsvc_put_lockowner()
325 spin_unlock(&lockowner->host->h_lock); in nlmsvc_put_lockowner()
326 nlmsvc_release_host(lockowner->host); in nlmsvc_put_lockowner()
327 kfree(lockowner); in nlmsvc_put_lockowner()
332 struct nlm_lockowner *lockowner; in __nlmsvc_find_lockowner() local
[all …]
/linux/include/linux/
H A Dnfs_fs.h75 fl_owner_t lockowner; member
/linux/fs/nfsd/
H A Dstate.h719 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) in lockowner() function
H A Dnfs4state.c1754 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()
1997 lockowner(stp->st_stateowner); in revoke_ol_stid()
2912 unhash_lockowner_locked(lockowner(so)); in __destroy_client()
2915 remove_blocked_locks(lockowner(so)); in __destroy_client()
7483 lo = lockowner(so); in nfs4_anylock_blockers()
8250 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()
8790 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()
8808 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()
8813 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()
9092 lock_sop = lockowner(lock_stp->st_stateowner); in nfsd4_lock()
[all …]
/linux/fs/nfs/
H A Dinode.c1096 l_ctx->lockowner = current->files; in nfs_init_lock_context()
1106 if (pos->lockowner != current->files) in __nfs_find_lock_context()
H A Dwrite.c1143 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
H A Dnfs4state.c967 owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()