Home
last modified time | relevance | path

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

/linux-6.15/fs/
H A Ddcache.c823 dentry->d_lockref.count--; in fast_dput()
973 BUG_ON(!ret->d_lockref.count); in dget_parent()
974 ret->d_lockref.count++; in dget_parent()
987 lockref_get(&alias->d_lockref); in __d_find_any_alias()
1092 if (!dentry->d_lockref.count) in d_prune_aliases()
1156 if (dentry->d_lockref.count) { in dentry_lru_isolate()
1513 if (!dentry->d_lockref.count) { in select_collect2()
1587 dentry->d_lockref.count, in umount_check()
1720 lockref_init(&dentry->d_lockref); in __d_alloc()
2381 dentry->d_lockref.count++; in __d_lookup()
[all …]
H A Dlibfs.c2124 if (!lockref_get_not_dead(&dentry->d_lockref)) in stashed_dentry_get()
2185 if (lockref_get_not_dead(&old->d_lockref)) in stash_dentry()
H A Dnamei.c777 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in __legitimize_path()
889 if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref))) in try_to_unlazy_next()
899 if (unlikely(!lockref_get_not_dead(&dentry->d_lockref))) in try_to_unlazy_next()
/linux-6.15/include/linux/
H A Ddcache.h88 #define d_lock d_lockref.lock
109 struct lockref d_lockref; /* per-dentry lock and refcount member
288 return dentry->d_lockref.count; in d_count()
319 dentry->d_lockref.count++; in dget_dlock()
345 lockref_get(&dentry->d_lockref); in dget()
/linux-6.15/Documentation/locking/
H A Dlockstat.rst199 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
/linux-6.15/Documentation/translations/it_IT/locking/
H A Dlockstat.rst225 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
/linux-6.15/fs/ceph/
H A Ddir.c169 if (dentry && !lockref_get_not_dead(&dentry->d_lockref)) in __dcache_find_get_entry()
1660 if (__lockref_is_dead(&dentry->d_lockref)) { in __dentry_leases_walk()
1678 if (dentry->d_lockref.count > 0) { in __dentry_leases_walk()
1756 if (dentry->d_lockref.count > 0 || in __dir_lease_check()
/linux-6.15/fs/overlayfs/
H A Dnamei.c212 if (drop_negative && ret->d_lockref.count == 1) { in ovl_lookup_positive_unlocked()
215 if (d_is_negative(ret) && ret->d_lockref.count == 1) in ovl_lookup_positive_unlocked()
/linux-6.15/Documentation/filesystems/
H A Dpath-lookup.rst164 dentry->d_lockref
189 use (i.e. if the refcount in ``d_lockref`` is one), only then will
199 ``d_lock`` is a synonym for the spinlock that is part of ``d_lockref`` above.
395 step. A reference through ``d_lockref`` and ``mnt_count`` is always
862 all. For ``dentry->d_lockref``, it is safe to increment the reference