Home
last modified time | relevance | path

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

/linux/include/linux/
H A Ddcache.h89 #define d_lock d_lockref.lock
114 struct lockref d_lockref; /* per-dentry lock and refcount member
313 return dentry->d_lockref.count; in d_count()
344 dentry->d_lockref.count++; in dget_dlock()
370 lockref_get(&dentry->d_lockref); in dget()
378 lockref_get(&dentry->d_lockref); in dget_alias_ilocked()
383 if (dentry->d_lockref.count > 0) { in dget_alias_ilocked()
/linux/fs/
H A Ddcache.c438 DENTRY_WARN_ONCE(!lockref_is_dead(&dentry->d_lockref), dentry); in dentry_free()
743 if (unlikely(dentry->d_lockref.count)) { in lock_for_kill()
767 if (likely(!dentry->d_lockref.count)) in lock_for_kill()
824 lockref_mark_dead(&dentry->d_lockref); in dentry_kill()
860 if (parent && --parent->d_lockref.count) { in dentry_kill()
953 ret = lockref_put_return(&dentry->d_lockref); in fast_dput()
963 if (WARN_ON_ONCE(lockref_is_dead_or_zero(&dentry->d_lockref))) { in fast_dput()
967 dentry->d_lockref.count--; in fast_dput()
1005 if (dentry->d_lockref.count || retain_dentry(dentry, true)) { in fast_dput()
1065 dentry->d_lockref.count--; in d_make_discardable()
[all …]
H A Dlibfs.c2145 if (!lockref_get_not_dead(&dentry->d_lockref)) in stashed_dentry_get()
2204 if (lockref_get_not_dead(&old->d_lockref)) in stash_dentry()
H A Dnamei.c874 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in __legitimize_path()
995 if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref))) in try_to_unlazy_next()
1005 if (unlikely(!lockref_get_not_dead(&dentry->d_lockref))) in try_to_unlazy_next()
/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()
1681 if (lockref_is_dead(&dentry->d_lockref)) { in __dentry_leases_walk()
1699 if (dentry->d_lockref.count > 0) { in __dentry_leases_walk()
1777 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 …