Home
last modified time | relevance | path

Searched refs:d_lockref (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/fs/
Ddcache.c560 lockref_mark_dead(&dentry->d_lockref); in __dentry_kill()
651 dentry->d_lockref.count--; in retain_dentry()
695 if (unlikely(dentry->d_lockref.count != 1)) { in dentry_kill()
696 dentry->d_lockref.count--; in dentry_kill()
728 return lockref_put_or_lock(&dentry->d_lockref); in fast_dput()
734 ret = lockref_put_return(&dentry->d_lockref); in fast_dput()
743 if (dentry->d_lockref.count > 1) { in fast_dput()
744 dentry->d_lockref.count--; in fast_dput()
799 if (dentry->d_lockref.count) { in fast_dput()
809 dentry->d_lockref.count = 1; in fast_dput()
[all …]
Dnsfs.c67 if (!lockref_get_not_dead(&dentry->d_lockref)) in __ns_get_path()
Dnamei.c621 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in legitimize_path()
719 if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref))) in unlazy_child()
729 if (unlikely(!lockref_get_not_dead(&dentry->d_lockref))) in unlazy_child()
/Linux-v5.4/include/linux/
Ddcache.h87 #define d_lock d_lockref.lock
101 struct lockref d_lockref; /* per-dentry lock and refcount */ member
286 return dentry->d_lockref.count; in d_count()
314 dentry->d_lockref.count++; in dget_dlock()
321 lockref_get(&dentry->d_lockref); in dget()
/Linux-v5.4/fs/ceph/
Ddir.c160 if (dentry && !lockref_get_not_dead(&dentry->d_lockref)) in __dcache_find_get_entry()
1270 if (__lockref_is_dead(&dentry->d_lockref)) { in __dentry_leases_walk()
1285 if (dentry->d_lockref.count > 0) { in __dentry_leases_walk()
1363 if (dentry->d_lockref.count > 0 || in __dir_lease_check()
/Linux-v5.4/Documentation/locking/
Dlockstat.rst199 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
/Linux-v5.4/Documentation/filesystems/
Dpath-lookup.rst163 dentry->d_lockref
188 use (i.e. if the refcount in ``d_lockref`` is one), only then will
198 ``d_lock`` is a synonym for the spinlock that is part of ``d_lockref`` above.
380 step. A reference through ``d_lockref`` and ``mnt_count`` is always
847 all. For ``dentry->d_lockref``, it is safe to increment the reference