Home
last modified time | relevance | path

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

/linux-6.15/fs/lockd/
H A Dclntproc.c56 refcount_inc(&lockowner->count); in nlmclnt_get_lockowner()
57 return lockowner; in nlmclnt_get_lockowner()
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
74 if (lockowner->pid == pid) in nlm_pidbusy()
91 struct nlm_lockowner *lockowner; in __nlmclnt_find_lockowner() local
[all …]
H A Dsvclock.c347 nlmsvc_get_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_get_lockowner() argument
349 refcount_inc(&lockowner->count); in nlmsvc_get_lockowner()
350 return lockowner; in nlmsvc_get_lockowner()
355 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()
357 list_del(&lockowner->list); in nlmsvc_put_lockowner()
358 spin_unlock(&lockowner->host->h_lock); in nlmsvc_put_lockowner()
359 nlmsvc_release_host(lockowner->host); in nlmsvc_put_lockowner()
360 kfree(lockowner); in nlmsvc_put_lockowner()
365 struct nlm_lockowner *lockowner; in __nlmsvc_find_lockowner() local
367 if (lockowner->pid != pid) in __nlmsvc_find_lockowner()
[all …]
/linux-6.15/fs/nfsd/
H A Dstate.h600 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) in lockowner() function
H A Dnfs4state.c1522 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()
1787 lockowner(stp->st_stateowner); in nfsd4_revoke_states()
2495 remove_blocked_locks(lockowner(so)); in __destroy_client()
6627 lo = lockowner(so); in nfs4_anylock_blockers()
7362 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()
7897 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()
7915 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()
7920 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()
8196 lock_sop = lockowner(lock_stp->st_stateowner); in nfsd4_lock()
8259 file_lock->c.flc_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(&lock_sop->lo_owner)); in nfsd4_lock()
[all …]
/linux-6.15/include/linux/
H A Dnfs_fs.h75 fl_owner_t lockowner; member
/linux-6.15/fs/nfs/
H A Dpagelist.c1042 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
H A Dinode.c1018 l_ctx->lockowner = current->files; in nfs_init_lock_context()
1028 if (pos->lockowner != current->files) in __nfs_find_lock_context()
H A Dwrite.c1193 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
H A Dnfs4state.c993 owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()