Searched refs:d_lockref (Results 1 – 8 of 8) sorted by relevance
592 lockref_mark_dead(&dentry->d_lockref); in __dentry_kill()687 dentry->d_lockref.count--; in retain_dentry()746 if (unlikely(dentry->d_lockref.count != 1)) { in dentry_kill()747 dentry->d_lockref.count--; in dentry_kill()779 return lockref_put_or_lock(&dentry->d_lockref); in fast_dput()785 ret = lockref_put_return(&dentry->d_lockref); in fast_dput()794 if (WARN_ON_ONCE(dentry->d_lockref.count <= 0)) { in fast_dput()798 dentry->d_lockref.count--; in fast_dput()858 if (dentry->d_lockref.count) { in fast_dput()868 dentry->d_lockref.count = 1; in fast_dput()[all …]
71 if (!lockref_get_not_dead(&dentry->d_lockref)) in __ns_get_path()
711 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in __legitimize_path()823 if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref))) in try_to_unlazy_next()833 if (unlikely(!lockref_get_not_dead(&dentry->d_lockref))) in try_to_unlazy_next()
80 #define d_lock d_lockref.lock94 struct lockref d_lockref; /* per-dentry lock and refcount */ member285 return dentry->d_lockref.count; in d_count()313 dentry->d_lockref.count++; in dget_dlock()320 lockref_get(&dentry->d_lockref); in dget()
199 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
165 if (dentry && !lockref_get_not_dead(&dentry->d_lockref)) in __dcache_find_get_entry()1579 if (__lockref_is_dead(&dentry->d_lockref)) { in __dentry_leases_walk()1594 if (dentry->d_lockref.count > 0) { in __dentry_leases_walk()1672 if (dentry->d_lockref.count > 0 || in __dir_lease_check()
217 if (drop_negative && ret->d_lockref.count == 1) { in ovl_lookup_positive_unlocked()220 if (d_is_negative(ret) && ret->d_lockref.count == 1) in ovl_lookup_positive_unlocked()
164 dentry->d_lockref189 use (i.e. if the refcount in ``d_lockref`` is one), only then will199 ``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 always862 all. For ``dentry->d_lockref``, it is safe to increment the reference