Home
last modified time | relevance | path

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

/linux/fs/
A Ddcache.c778 dentry->d_lockref.count--; in fast_dput()
928 BUG_ON(!ret->d_lockref.count); in dget_parent()
929 ret->d_lockref.count++; in dget_parent()
942 lockref_get(&alias->d_lockref); in __d_find_any_alias()
1047 if (!dentry->d_lockref.count) in d_prune_aliases()
1111 if (dentry->d_lockref.count) { in dentry_lru_isolate()
1468 if (!dentry->d_lockref.count) { in select_collect2()
1542 dentry->d_lockref.count, in umount_check()
1674 dentry->d_lockref.count = 1; in __d_alloc()
2337 dentry->d_lockref.count++; in __d_lookup()
[all …]
A Dlibfs.c2135 if (!lockref_get_not_dead(&dentry->d_lockref)) in get_stashed_dentry()
2196 if (lockref_get_not_dead(&old->d_lockref)) in stash_dentry()
A Dnamei.c717 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in __legitimize_path()
829 if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref))) in try_to_unlazy_next()
839 if (unlikely(!lockref_get_not_dead(&dentry->d_lockref))) in try_to_unlazy_next()
/linux/include/linux/
A Ddcache.h80 #define d_lock d_lockref.lock
100 struct lockref d_lockref; /* per-dentry lock and refcount member
283 return dentry->d_lockref.count; in d_count()
314 dentry->d_lockref.count++; in dget_dlock()
340 lockref_get(&dentry->d_lockref); in dget()
/linux/Documentation/locking/
A Dlockstat.rst199 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
/linux/Documentation/translations/it_IT/locking/
A Dlockstat.rst225 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
/linux/fs/ceph/
A Ddir.c168 if (dentry && !lockref_get_not_dead(&dentry->d_lockref)) in __dcache_find_get_entry()
1651 if (__lockref_is_dead(&dentry->d_lockref)) { in __dentry_leases_walk()
1669 if (dentry->d_lockref.count > 0) { in __dentry_leases_walk()
1747 if (dentry->d_lockref.count > 0 || in __dir_lease_check()
/linux/fs/overlayfs/
A Dnamei.c214 if (drop_negative && ret->d_lockref.count == 1) { in ovl_lookup_positive_unlocked()
217 if (d_is_negative(ret) && ret->d_lockref.count == 1) in ovl_lookup_positive_unlocked()
/linux/Documentation/filesystems/
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

Completed in 46 milliseconds