Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Ddcache.h106 #define d_lock d_lockref.lock
120 struct lockref d_lockref; /* per-dentry lock and refcount */ member
324 return dentry->d_lockref.count; in d_count()
352 dentry->d_lockref.count++; in dget_dlock()
359 lockref_get(&dentry->d_lockref); in dget()
/linux-4.1.27/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.c67 if (!lockref_get_not_dead(&dentry->d_lockref)) in ns_get_path()
Dnamei.c566 if (!lockref_get_not_dead(&parent->d_lockref)) { in unlazy_walk()
587 if (!lockref_get_not_dead(&dentry->d_lockref)) in unlazy_walk()
651 if (unlikely(!lockref_get_not_dead(&dentry->d_lockref))) { in complete_walk()
3620 if (dentry->d_lockref.count == 1) in dentry_unhash()
/linux-4.1.27/Documentation/locking/
Dlockstat.txt178 …&(&dentry->d_lockref.lock)->rlock: 39791 40179 0.15 1302.08 …
/linux-4.1.27/fs/ncpfs/
Ddir.c489 if (unlikely(!lockref_get_not_dead(&dent->d_lockref))) { in ncp_readdir()