Lines Matching refs:d_lockref

509 	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()
795 dentry->d_lockref.count++; in __dget_dlock()
800 lockref_get(&dentry->d_lockref); in __dget()
814 gotref = lockref_get_not_zero(&ret->d_lockref); in dget_parent()
836 BUG_ON(!ret->d_lockref.count); in dget_parent()
837 ret->d_lockref.count++; in dget_parent()
915 if (!dentry->d_lockref.count) { in d_prune_aliases()
917 if (likely(!dentry->d_lockref.count)) { in d_prune_aliases()
952 if (dentry->d_lockref.count > 0) { in shrink_dentry_list()
988 while (dentry && !lockref_put_or_lock(&dentry->d_lockref)) { in shrink_dentry_list()
990 if (dentry->d_lockref.count != 1) { in shrink_dentry_list()
991 dentry->d_lockref.count--; in shrink_dentry_list()
1031 if (dentry->d_lockref.count) { in dentry_lru_isolate()
1365 if (!dentry->d_lockref.count) { in select_collect()
1413 if (dentry == _data && dentry->d_lockref.count == 1) in umount_check()
1422 dentry->d_lockref.count, in umount_check()
1586 dentry->d_lockref.count = 1; in __d_alloc()
2323 dentry->d_lockref.count++; in __d_lookup()
2391 if (dentry->d_lockref.count == 1) { in d_delete()
3339 dentry->d_lockref.count--; in d_genocide_kill()