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

/linux-master/include/linux/
H A Ddcache.h80 #define d_lock d_lockref.lock
94 struct lockref d_lockref; /* per-dentry lock and refcount */ member in struct:dentry
278 return dentry->d_lockref.count;
307 dentry->d_lockref.count++;
333 lockref_get(&dentry->d_lockref);
/linux-master/fs/
H A Ddcache.c587 lockref_mark_dead(&dentry->d_lockref);
623 if (parent && --parent->d_lockref.count) {
645 if (unlikely(dentry->d_lockref.count))
660 if (likely(!dentry->d_lockref.count))
753 ret = lockref_put_return(&dentry->d_lockref);
762 if (WARN_ON_ONCE(dentry->d_lockref.count <= 0)) {
766 dentry->d_lockref.count--;
799 if (dentry->d_lockref.count || retain_dentry(dentry, true)) {
894 gotref = lockref_get_not_zero(&ret->d_lockref);
916 BUG_ON(!ret->d_lockref
[all...]
H A Dlibfs.c1998 if (!lockref_get_not_dead(&dentry->d_lockref))
2059 if (lockref_get_not_dead(&old->d_lockref))
H A Dnamei.c710 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) {
822 if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref)))
832 if (unlikely(!lockref_get_not_dead(&dentry->d_lockref)))
/linux-master/fs/ceph/
H A Ddir.c168 if (dentry && !lockref_get_not_dead(&dentry->d_lockref))
1624 if (__lockref_is_dead(&dentry->d_lockref)) {
1642 if (dentry->d_lockref.count > 0) {
1720 if (dentry->d_lockref.count > 0 ||
/linux-master/fs/overlayfs/
H A Dnamei.c214 if (drop_negative && ret->d_lockref.count == 1) {
217 if (d_is_negative(ret) && ret->d_lockref.count == 1)

Completed in 175 milliseconds