Home
last modified time | relevance | path

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

/linux/fs/
H A Ddcache.c627 lockref_mark_dead(&dentry->d_lockref); in __dentry_kill()
663 if (parent && --parent->d_lockref.count) { in __dentry_kill()
685 if (unlikely(dentry->d_lockref.count)) in lock_for_kill()
700 if (likely(!dentry->d_lockref.count)) in lock_for_kill()
793 ret = lockref_put_return(&dentry->d_lockref); in fast_dput()
802 if (WARN_ON_ONCE(dentry->d_lockref.count <= 0)) { in fast_dput()
806 dentry->d_lockref.count--; in fast_dput()
839 if (dentry->d_lockref.count || retain_dentry(dentry, true)) { in fast_dput()
934 gotref = lockref_get_not_zero(&ret->d_lockref); in dget_parent()
956 BUG_ON(!ret->d_lockref.count); in dget_parent()
[all …]
H A Dlibfs.c2124 if (!lockref_get_not_dead(&dentry->d_lockref)) in get_stashed_dentry()
2185 if (lockref_get_not_dead(&old->d_lockref)) in stash_dentry()
H A Dnamei.c776 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in __legitimize_path()
888 if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref))) in try_to_unlazy_next()
898 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.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/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.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()