Lines Matching refs:d_flags

353 	flags = READ_ONCE(dentry->d_flags);  in __d_set_inode_and_type()
356 smp_store_release(&dentry->d_flags, flags); in __d_set_inode_and_type()
361 unsigned flags = READ_ONCE(dentry->d_flags); in __d_clear_type_and_inode()
364 WRITE_ONCE(dentry->d_flags, flags); in __d_clear_type_and_inode()
385 if (dentry->d_flags & DCACHE_NORCU) in dentry_free()
434 #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_…
438 dentry->d_flags |= DCACHE_LRU_LIST; in d_lru_add()
449 dentry->d_flags &= ~DCACHE_LRU_LIST; in d_lru_del()
461 dentry->d_flags &= ~(DCACHE_SHRINK_LIST | DCACHE_LRU_LIST); in d_shrink_del()
469 dentry->d_flags |= DCACHE_SHRINK_LIST | DCACHE_LRU_LIST; in d_shrink_add()
482 dentry->d_flags &= ~DCACHE_LRU_LIST; in d_lru_isolate()
493 dentry->d_flags |= DCACHE_SHRINK_LIST; in d_lru_shrink_move()
560 dentry->d_flags |= DCACHE_DENTRY_KILLED; in dentry_unlist()
585 if (likely(!(next->d_flags & DCACHE_DENTRY_CURSOR))) in dentry_unlist()
605 if (dentry->d_flags & DCACHE_OP_PRUNE) in __dentry_kill()
608 if (dentry->d_flags & DCACHE_LRU_LIST) { in __dentry_kill()
609 if (!(dentry->d_flags & DCACHE_SHRINK_LIST)) in __dentry_kill()
630 if (dentry->d_flags & DCACHE_SHRINK_LIST) in __dentry_kill()
692 unsigned int d_flags; in retain_dentry() local
695 d_flags = READ_ONCE(dentry->d_flags); in retain_dentry()
702 if (unlikely(d_flags & DCACHE_DISCONNECTED)) in retain_dentry()
707 if (unlikely(d_flags & DCACHE_OP_DELETE)) { in retain_dentry()
713 if (unlikely(d_flags & DCACHE_DONTCACHE)) in retain_dentry()
721 if (unlikely(!(d_flags & DCACHE_LRU_LIST))) { in retain_dentry()
725 } else if (unlikely(!(d_flags & DCACHE_REFERENCED))) { in retain_dentry()
728 dentry->d_flags |= DCACHE_REFERENCED; in retain_dentry()
740 de->d_flags |= DCACHE_DONTCACHE; in d_mark_dontcache()
874 if (!(dentry->d_flags & DCACHE_SHRINK_LIST)) { in to_shrink_list()
875 if (dentry->d_flags & DCACHE_LRU_LIST) in to_shrink_list()
1080 can_free = dentry->d_flags & DCACHE_DENTRY_KILLED; in shrink_dentry_list()
1117 if (dentry->d_flags & DCACHE_REFERENCED) { in dentry_lru_isolate()
1118 dentry->d_flags &= ~DCACHE_REFERENCED; in dentry_lru_isolate()
1262 if (unlikely(dentry->d_flags & DCACHE_DENTRY_CURSOR)) in d_walk()
1308 if (likely(!(dentry->d_flags & DCACHE_DENTRY_KILLED))) { in d_walk()
1399 dentry->d_flags |= DCACHE_MOUNTED; in d_set_mounted()
1441 if (dentry->d_flags & DCACHE_SHRINK_LIST) { in select_collect()
1469 if (dentry->d_flags & DCACHE_SHRINK_LIST) { in select_collect2()
1675 dentry->d_flags = 0; in __d_alloc()
1742 dentry->d_flags |= DCACHE_DENTRY_CURSOR; in d_alloc_cursor()
1770 dentry->d_flags |= DCACHE_NORCU; in d_alloc_pseudo()
1790 WARN_ON_ONCE(dentry->d_flags & (DCACHE_OP_HASH | in d_set_d_op()
1800 dentry->d_flags |= DCACHE_OP_HASH; in d_set_d_op()
1802 dentry->d_flags |= DCACHE_OP_COMPARE; in d_set_d_op()
1804 dentry->d_flags |= DCACHE_OP_REVALIDATE; in d_set_d_op()
1806 dentry->d_flags |= DCACHE_OP_WEAK_REVALIDATE; in d_set_d_op()
1808 dentry->d_flags |= DCACHE_OP_DELETE; in d_set_d_op()
1810 dentry->d_flags |= DCACHE_OP_PRUNE; in d_set_d_op()
1812 dentry->d_flags |= DCACHE_OP_REAL; in d_set_d_op()
1862 if ((dentry->d_flags & in __d_instantiate()
2105 if (likely(!(parent->d_flags & DCACHE_OP_COMPARE))) { in d_same_name()
2201 if (unlikely(parent->d_flags & DCACHE_OP_COMPARE)) in __d_lookup_rcu()
2364 if (dir->d_flags & DCACHE_OP_HASH) { in d_hash_and_lookup()
2404 dentry->d_flags &= ~DCACHE_CANT_MOUNT; in d_delete()
2569 new->d_flags |= DCACHE_PAR_LOOKUP; in d_alloc_parallel()
2595 dentry->d_flags &= ~DCACHE_PAR_LOOKUP; in __d_lookup_unhash()
3077 if (!(dentry->d_flags & DCACHE_GENOCIDE)) { in d_genocide_kill()
3078 dentry->d_flags |= DCACHE_GENOCIDE; in d_genocide_kill()