Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/lockd/
A Dclntproc.c54 refcount_inc(&lockowner->count); in nlmclnt_get_lockowner()
55 return lockowner; in nlmclnt_get_lockowner()
60 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmclnt_put_lockowner()
62 list_del(&lockowner->list); in nlmclnt_put_lockowner()
63 spin_unlock(&lockowner->host->h_lock); in nlmclnt_put_lockowner()
64 nlmclnt_release_host(lockowner->host); in nlmclnt_put_lockowner()
65 kfree(lockowner); in nlmclnt_put_lockowner()
70 struct nlm_lockowner *lockowner; in nlm_pidbusy() local
72 if (lockowner->pid == pid) in nlm_pidbusy()
89 struct nlm_lockowner *lockowner; in __nlmclnt_find_lockowner() local
[all …]
A Dsvclock.c337 nlmsvc_get_lockowner(struct nlm_lockowner *lockowner) in nlmsvc_get_lockowner() argument
339 refcount_inc(&lockowner->count); in nlmsvc_get_lockowner()
340 return lockowner; in nlmsvc_get_lockowner()
345 if (!refcount_dec_and_lock(&lockowner->count, &lockowner->host->h_lock)) in nlmsvc_put_lockowner()
347 list_del(&lockowner->list); in nlmsvc_put_lockowner()
348 spin_unlock(&lockowner->host->h_lock); in nlmsvc_put_lockowner()
349 nlmsvc_release_host(lockowner->host); in nlmsvc_put_lockowner()
350 kfree(lockowner); in nlmsvc_put_lockowner()
355 struct nlm_lockowner *lockowner; in __nlmsvc_find_lockowner() local
357 if (lockowner->pid != pid) in __nlmsvc_find_lockowner()
[all …]
/linux-6.3-rc2/fs/nfsd/
A Dstate.h520 static inline struct nfs4_lockowner * lockowner(struct nfs4_stateowner *so) in lockowner() function
A Dnfs4state.c1487 struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); in nfs4_free_lock_stateid()
2243 remove_blocked_locks(lockowner(so)); in __destroy_client()
5986 lo = lockowner(so); in nfs4_anylock_blockers()
6677 lockowner(stp->st_stateowner))) in nfsd4_free_lock_stateid()
7191 return lockowner(nfs4_get_stateowner(so)); in find_lockowner_str_locked()
7209 unhash_lockowner_locked(lockowner(sop)); in nfs4_unhash_lockowner()
7214 struct nfs4_lockowner *lo = lockowner(sop); in nfs4_free_lockowner()
7487 lock_sop = lockowner(lock_stp->st_stateowner); in nfsd4_lock()
7559 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(&lock_sop->lo_owner)); in nfsd4_lock()
7795 file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(stp->st_stateowner)); in nfsd4_locku()
/linux-6.3-rc2/include/linux/
A Dnfs_fs.h71 fl_owner_t lockowner; member
/linux-6.3-rc2/fs/nfs/
A Dpagelist.c1141 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
A Dinode.c932 l_ctx->lockowner = current->files; in nfs_init_lock_context()
942 if (pos->lockowner != current->files) in __nfs_find_lock_context()
A Dwrite.c1210 do_flush |= l_ctx->lockowner != current->files; in nfs_flush_incompatible()
A Dnfs4state.c1001 fl_owner = l_ctx->lockowner; in nfs4_copy_lock_stateid()

Completed in 42 milliseconds