Home
last modified time | relevance | path

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

/linux-4.19.296/fs/
Ddcache.c547 lockref_mark_dead(&dentry->d_lockref); in __dentry_kill()
638 dentry->d_lockref.count--; in retain_dentry()
682 if (unlikely(dentry->d_lockref.count != 1)) { in dentry_kill()
683 dentry->d_lockref.count--; in dentry_kill()
715 return lockref_put_or_lock(&dentry->d_lockref); in fast_dput()
721 ret = lockref_put_return(&dentry->d_lockref); in fast_dput()
730 if (dentry->d_lockref.count > 1) { in fast_dput()
731 dentry->d_lockref.count--; in fast_dput()
786 if (dentry->d_lockref.count) { in fast_dput()
796 dentry->d_lockref.count = 1; in fast_dput()
[all …]
Dnsfs.c66 if (!lockref_get_not_dead(&dentry->d_lockref)) in __ns_get_path()
Dnamei.c625 if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) { in legitimize_path()
720 if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref))) in unlazy_child()
730 if (unlikely(!lockref_get_not_dead(&dentry->d_lockref))) in unlazy_child()
Dnamespace.c888 old_mountpoint->d_lockref.count--; in mnt_change_mountpoint()
/linux-4.19.296/include/linux/
Ddcache.h86 #define d_lock d_lockref.lock
100 struct lockref d_lockref; /* per-dentry lock and refcount */ member
286 return dentry->d_lockref.count; in d_count()
315 dentry->d_lockref.count++; in dget_dlock()
322 lockref_get(&dentry->d_lockref); in dget()
/linux-4.19.296/fs/ceph/
Ddir.c157 if (dentry && !lockref_get_not_dead(&dentry->d_lockref)) in __dcache_find_get_entry()