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.c317 nlmsvc_get_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_get_lockowner()
319 refcount_inc(&lockowner->count);
320 return lockowner; in nlmsvc_put_lockowner() argument
323 void nlmsvc_put_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_put_lockowner()
325 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()
327 list_del(&lockowner->list); in nlmsvc_put_lockowner()
328 spin_unlock(&lockowner->host->h_lock); in nlmsvc_put_lockowner()
329 nlmsvc_release_host(lockowner->host);
330 kfree(lockowner); in __nlmsvc_find_lockowner()
314 nlmsvc_get_lockowner(struct nlm_lockowner * lockowner) nlmsvc_get_lockowner() argument
332 struct nlm_lockowner *lockowner; __nlmsvc_find_lockowner() local
[all...]
/linux/include/linux/
H A Dnfs_fs.h75 fl_owner_t lockowner; member
/linux/fs/nfsd/
H A Dstate.h741 * Represents a generic "lockowner". Similar to an openowner. References to it
755 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so)
719 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) lockowner() function
H A Dnfs4state.c1784 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in put_ol_stateid_locked()
2027 lockowner(stp->st_stateowner); in revoke_one_stid()
2955 unhash_lockowner_locked(lockowner(so)); in inc_reclaim_complete()
2958 remove_blocked_locks(lockowner(so)); in inc_reclaim_complete()
7737 /* Check if any lock belonging to this lockowner has any blockers */ in nfs4_laundromat()
7771 lo = lockowner(so); in deleg_reaper()
8650 lockowner(stp->st_stateowner))) in last_byte_offset()
9190 return lockowner(nfs4_get_stateowner(so)); in nfsd4_lock()
9208 unhash_lockowner_locked(lockowner(sop)); in nfsd4_lock()
9213 struct nfs4_lockowner *lo = lockowner(so in nfsd4_lock()
[all...]
/linux/fs/nfs/
H A Dinode.c1137 l_ctx->lockowner = current->files; in nfs_get_lock_context()
1147 if (pos->lockowner != current->files) in nfs_put_lock_context()
H A Dwrite.c1141 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
H A Dnfs4state.c980 owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()
1006 lsp = __nfs4_lookup_lock_state(state, l_ctx->lockowner,