Home
last modified time | relevance | path

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

/linux/fs/
H A Ddcache.c654 lockref_mark_dead(&dentry->d_lockref); in __dentry_kill()
690 if (parent && --parent->d_lockref.count) { in __dentry_kill()
712 if (unlikely(dentry->d_lockref.count)) in lock_for_kill()
727 if (likely(!dentry->d_lockref.count)) in lock_for_kill()
820 ret = lockref_put_return(&dentry->d_lockref); in fast_dput()
829 if (WARN_ON_ONCE(dentry->d_lockref.count <= 0)) { in fast_dput()
833 dentry->d_lockref.count--; in fast_dput()
866 if (dentry->d_lockref.count || retain_dentry(dentry, true)) { in fast_dput()
937 dentry->d_lockref.count--; in d_make_discardable()
978 gotref = lockref_get_not_zero(&ret->d_lockref); in dget_parent()
[all …]
H A Dlibfs.c2151 if (!lockref_get_not_dead(&dentry->d_lockref)) in stashed_dentry_get()
2210 if (lockref_get_not_dead(&old->d_lockref)) in stash_dentry()
H A Dnamei.c869 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in __legitimize_path()
990 if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref))) in try_to_unlazy_next()
1000 if (unlikely(!lockref_get_not_dead(&dentry->d_lockref))) in try_to_unlazy_next()
/linux/include/linux/
H A Ddcache.h89 #define d_lock d_lockref.lock
113 struct lockref d_lockref; /* per-dentry lock and refcount member
295 return dentry->d_lockref.count; in d_count()
326 dentry->d_lockref.count++; in dget_dlock()
352 lockref_get(&dentry->d_lockref); in dget()
/linux/Documentation/locking/
H A Dlockstat.rst199 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
/linux/fs/ceph/
H A Ddir.c169 if (dentry && !lockref_get_not_dead(&dentry->d_lockref)) in __dcache_find_get_entry()
1669 if (__lockref_is_dead(&dentry->d_lockref)) { in __dentry_leases_walk()
1687 if (dentry->d_lockref.count > 0) { in __dentry_leases_walk()
1765 if (dentry->d_lockref.count > 0 || in __dir_lease_check()
/linux/Documentation/translations/it_IT/locking/
H A Dlockstat.rst225 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
/linux/fs/overlayfs/
H A Dnamei.c220 if (drop_negative && ret->d_lockref.count == 1) { in ovl_lookup_positive_unlocked()
223 if (d_is_negative(ret) && ret->d_lockref.count == 1) in ovl_lookup_positive_unlocked()