Home
last modified time | relevance | path

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

/linux/fs/lockd/
H A Dsvclock.c346 nlmsvc_get_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_get_lockowner() argument
348 refcount_inc(&lockowner->count); in nlmsvc_get_lockowner()
349 return lockowner; in nlmsvc_get_lockowner()
352 void nlmsvc_put_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_put_lockowner() argument
354 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()
356 list_del(&lockowner->list); in nlmsvc_put_lockowner()
357 spin_unlock(&lockowner->host->h_lock); in nlmsvc_put_lockowner()
358 nlmsvc_release_host(lockowner->host); in nlmsvc_put_lockowner()
359 kfree(lockowner); in nlmsvc_put_lockowner()
364 struct nlm_lockowner *lockowner; __nlmsvc_find_lockowner() local
[all...]
/linux/include/linux/
H A Dnfs_fs.h75 fl_owner_t lockowner; member
/linux/fs/nfs/
H A Dpagelist.c1044 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
H A Dinode.c1116 l_ctx->lockowner = current->files; in __nfs_find_lock_context()
1126 if (pos->lockowner != current->files) in nfs_get_lock_context()
H A Dwrite.c1140 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
H A Dnfs4state.c941 owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()
/linux/fs/nfsd/
H A Dstate.h632 * Represents a generic "lockowner". Similar to an openowner. References to it
646 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) in lockowner()
645 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) lockowner() function
H A Dnfs4state.c1562 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()
1801 lockowner(stp->st_stateowner); in nfsd4_revoke_states()
2650 remove_blocked_locks(lockowner(so)); in same_clid()
6893 /* Check if any lock belonging to this lockowner has any blockers */ in nfs4_process_client_reaplist()
6927 lo = lockowner(so); in nfs40_clean_admin_revoked()
7658 lockowner(stp->st_stateowner))) in nfs4_preprocess_seqid_op()
8194 return lockowner(nfs4_get_stateowner(so)); in init_lock_stateid()
8212 unhash_lockowner_locked(lockowner(sop)); in init_lock_stateid()
8217 struct nfs4_lockowner *lo = lockowner(sop); in find_or_create_lock_stateid()
8404 /* with an existing lockowner, seqid in nfsd4_lock()
[all...]