• Home
  • Raw
  • Download

Lines Matching refs:d_flags

314 	flags = READ_ONCE(dentry->d_flags);  in __d_set_inode_and_type()
317 WRITE_ONCE(dentry->d_flags, flags); in __d_set_inode_and_type()
322 unsigned flags = READ_ONCE(dentry->d_flags); in __d_clear_type_and_inode()
325 WRITE_ONCE(dentry->d_flags, flags); in __d_clear_type_and_inode()
340 if (!(dentry->d_flags & DCACHE_RCUACCESS)) in dentry_free()
387 #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_…
391 dentry->d_flags |= DCACHE_LRU_LIST; in d_lru_add()
399 dentry->d_flags &= ~DCACHE_LRU_LIST; in d_lru_del()
408 dentry->d_flags &= ~(DCACHE_SHRINK_LIST | DCACHE_LRU_LIST); in d_shrink_del()
416 dentry->d_flags |= DCACHE_SHRINK_LIST | DCACHE_LRU_LIST; in d_shrink_add()
429 dentry->d_flags &= ~DCACHE_LRU_LIST; in d_lru_isolate()
438 dentry->d_flags |= DCACHE_SHRINK_LIST; in d_lru_shrink_move()
447 if (unlikely(!(dentry->d_flags & DCACHE_LRU_LIST))) in dentry_lru_add()
512 dentry->d_flags |= DCACHE_DENTRY_KILLED; in dentry_unlist()
537 if (likely(!(next->d_flags & DCACHE_DENTRY_CURSOR))) in dentry_unlist()
559 if (dentry->d_flags & DCACHE_OP_PRUNE) in __dentry_kill()
562 if (dentry->d_flags & DCACHE_LRU_LIST) { in __dentry_kill()
563 if (!(dentry->d_flags & DCACHE_SHRINK_LIST)) in __dentry_kill()
580 if (dentry->d_flags & DCACHE_SHRINK_LIST) { in __dentry_kill()
581 dentry->d_flags |= DCACHE_MAY_FREE; in __dentry_kill()
671 unsigned int d_flags; in fast_dput() local
677 if (unlikely(dentry->d_flags & DCACHE_OP_DELETE)) in fast_dput()
729 d_flags = ACCESS_ONCE(dentry->d_flags); in fast_dput()
730 d_flags &= DCACHE_REFERENCED | DCACHE_LRU_LIST | DCACHE_DISCONNECTED; in fast_dput()
733 if (d_flags == (DCACHE_REFERENCED | DCACHE_LRU_LIST) && !d_unhashed(dentry)) in fast_dput()
813 if (unlikely(dentry->d_flags & DCACHE_DISCONNECTED)) in dput()
816 if (unlikely(dentry->d_flags & DCACHE_OP_DELETE)) { in dput()
821 if (!(dentry->d_flags & DCACHE_REFERENCED)) in dput()
822 dentry->d_flags |= DCACHE_REFERENCED; in dput()
914 (alias->d_flags & DCACHE_DISCONNECTED)) { in __d_find_alias()
1007 if (unlikely(dentry->d_flags & DCACHE_DENTRY_KILLED)) { in shrink_dentry_list()
1008 bool can_free = dentry->d_flags & DCACHE_MAY_FREE; in shrink_dentry_list()
1084 if (dentry->d_flags & DCACHE_REFERENCED) { in dentry_lru_isolate()
1085 dentry->d_flags &= ~DCACHE_REFERENCED; in dentry_lru_isolate()
1241 if (unlikely(dentry->d_flags & DCACHE_DENTRY_CURSOR)) in d_walk()
1291 } while (unlikely(child->d_flags & DCACHE_DENTRY_KILLED)); in d_walk()
1375 dentry->d_flags |= DCACHE_MOUNTED; in d_set_mounted()
1414 if (dentry->d_flags & DCACHE_SHRINK_LIST) { in select_collect()
1417 if (dentry->d_flags & DCACHE_LRU_LIST) in select_collect()
1647 dentry->d_flags = 0; in __d_alloc()
1691 dentry->d_flags |= DCACHE_RCUACCESS; in d_alloc()
1710 dentry->d_flags |= DCACHE_RCUACCESS | DCACHE_DENTRY_CURSOR; in d_alloc_cursor()
1743 WARN_ON_ONCE(dentry->d_flags & (DCACHE_OP_HASH | in d_set_d_op()
1753 dentry->d_flags |= DCACHE_OP_HASH; in d_set_d_op()
1755 dentry->d_flags |= DCACHE_OP_COMPARE; in d_set_d_op()
1757 dentry->d_flags |= DCACHE_OP_REVALIDATE; in d_set_d_op()
1759 dentry->d_flags |= DCACHE_OP_WEAK_REVALIDATE; in d_set_d_op()
1761 dentry->d_flags |= DCACHE_OP_DELETE; in d_set_d_op()
1763 dentry->d_flags |= DCACHE_OP_PRUNE; in d_set_d_op()
1765 dentry->d_flags |= DCACHE_OP_REAL; in d_set_d_op()
1781 dentry->d_flags |= DCACHE_FALLTHRU; in d_set_fallthru()
2088 if (likely(!(parent->d_flags & DCACHE_OP_COMPARE))) { in d_same_name()
2184 if (unlikely(parent->d_flags & DCACHE_OP_COMPARE)) { in __d_lookup_rcu()
2323 if (dir->d_flags & DCACHE_OP_HASH) { in d_hash_and_lookup()
2370 dentry->d_flags &= ~DCACHE_CANT_MOUNT; in d_delete()
2531 new->d_flags |= DCACHE_PAR_LOOKUP; in d_alloc_parallel()
2548 dentry->d_flags &= ~DCACHE_PAR_LOOKUP; in __d_lookup_done()
2845 dentry->d_flags |= DCACHE_RCUACCESS; in __d_move()
3547 if (!(dentry->d_flags & DCACHE_GENOCIDE)) { in d_genocide_kill()
3548 dentry->d_flags |= DCACHE_GENOCIDE; in d_genocide_kill()