Lines Matching refs:d_lockref
599 lockref_mark_dead(&dentry->d_lockref); in __dentry_kill()
635 if (parent && --parent->d_lockref.count) { in __dentry_kill()
657 if (unlikely(dentry->d_lockref.count)) in lock_for_kill()
672 if (likely(!dentry->d_lockref.count)) in lock_for_kill()
765 ret = lockref_put_return(&dentry->d_lockref); in fast_dput()
774 if (WARN_ON_ONCE(dentry->d_lockref.count <= 0)) { in fast_dput()
778 dentry->d_lockref.count--; in fast_dput()
811 if (dentry->d_lockref.count || retain_dentry(dentry, true)) { in fast_dput()
906 gotref = lockref_get_not_zero(&ret->d_lockref); in dget_parent()
928 BUG_ON(!ret->d_lockref.count); in dget_parent()
929 ret->d_lockref.count++; in dget_parent()
942 lockref_get(&alias->d_lockref); in __d_find_any_alias()
1047 if (!dentry->d_lockref.count) in d_prune_aliases()
1111 if (dentry->d_lockref.count) { in dentry_lru_isolate()
1443 } else if (!dentry->d_lockref.count) { in select_collect()
1446 } else if (dentry->d_lockref.count < 0) { in select_collect()
1468 if (!dentry->d_lockref.count) { in select_collect2()
1533 if (dentry == _data && dentry->d_lockref.count == 1) in umount_check()
1542 dentry->d_lockref.count, in umount_check()
1674 dentry->d_lockref.count = 1; in __d_alloc()
2337 dentry->d_lockref.count++; in __d_lookup()
2403 if (dentry->d_lockref.count == 1) { in d_delete()
2491 if (!lockref_get_not_dead(&dentry->d_lockref)) { in d_alloc_parallel()
2536 if (!lockref_get_not_dead(&dentry->d_lockref)) { in d_alloc_parallel()
2831 dentry->d_parent->d_lockref.count++; in __d_move()
2833 WARN_ON(!--old_parent->d_lockref.count); in __d_move()
3079 dentry->d_lockref.count--; in d_genocide_kill()