Searched refs:d_lockref (Results 1 – 7 of 7) sorted by relevance
106 #define d_lock d_lockref.lock120 struct lockref d_lockref; /* per-dentry lock and refcount */ member326 return dentry->d_lockref.count; in d_count()355 dentry->d_lockref.count++; in dget_dlock()362 lockref_get(&dentry->d_lockref); in dget()
509 lockref_mark_dead(&dentry->d_lockref); in __dentry_kill()537 BUG_ON(dentry->d_lockref.count > 0); in __dentry_kill()590 if (unlikely(dentry->d_lockref.count < 0)) in lock_parent()637 return lockref_put_or_lock(&dentry->d_lockref); in fast_dput()643 ret = lockref_put_return(&dentry->d_lockref); in fast_dput()652 if (dentry->d_lockref.count > 1) { in fast_dput()653 dentry->d_lockref.count--; in fast_dput()708 if (dentry->d_lockref.count) { in fast_dput()718 dentry->d_lockref.count = 1; in fast_dput()780 dentry->d_lockref.count--; in dput()[all …]
68 if (!lockref_get_not_dead(&dentry->d_lockref)) in ns_get_path()
635 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in legitimize_path()691 if (unlikely(!lockref_get_not_dead(&parent->d_lockref))) in unlazy_walk()710 if (!lockref_get_not_dead(&dentry->d_lockref)) in unlazy_walk()3654 if (dentry->d_lockref.count == 1) in dentry_unhash()
178 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
489 if (unlikely(!lockref_get_not_dead(&dent->d_lockref))) { in ncp_readdir()
198 if (dentry && !lockref_get_not_dead(&dentry->d_lockref)) in __dcache_readdir()