Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Ddcache.h106 #define d_lock d_lockref.lock
120 struct lockref d_lockref; /* per-dentry lock and refcount */ member
326 return dentry->d_lockref.count; in d_count()
355 dentry->d_lockref.count++; in dget_dlock()
362 lockref_get(&dentry->d_lockref); in dget()
/linux-4.4.14/fs/
Ddcache.c509 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 …]
Dnsfs.c68 if (!lockref_get_not_dead(&dentry->d_lockref)) in ns_get_path()
Dnamei.c635 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()
/linux-4.4.14/Documentation/locking/
Dlockstat.txt178 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
/linux-4.4.14/fs/ncpfs/
Ddir.c489 if (unlikely(!lockref_get_not_dead(&dent->d_lockref))) { in ncp_readdir()
/linux-4.4.14/fs/ceph/
Ddir.c198 if (dentry && !lockref_get_not_dead(&dentry->d_lockref)) in __dcache_readdir()