/linux-6.6.21/fs/ |
D | dcache.c | 346 flags = READ_ONCE(dentry->d_flags); in __d_set_inode_and_type() 349 smp_store_release(&dentry->d_flags, flags); in __d_set_inode_and_type() 354 unsigned flags = READ_ONCE(dentry->d_flags); in __d_clear_type_and_inode() 357 WRITE_ONCE(dentry->d_flags, flags); in __d_clear_type_and_inode() 359 if (dentry->d_flags & DCACHE_LRU_LIST) in __d_clear_type_and_inode() 374 if (dentry->d_flags & DCACHE_NORCU) in dentry_free() 423 #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_… 427 dentry->d_flags |= DCACHE_LRU_LIST; in d_lru_add() 437 dentry->d_flags &= ~DCACHE_LRU_LIST; in d_lru_del() 448 dentry->d_flags &= ~(DCACHE_SHRINK_LIST | DCACHE_LRU_LIST); in d_shrink_del() [all …]
|
D | namei.c | 861 if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE)) in d_revalidate() 919 if (likely(!(dentry->d_flags & DCACHE_OP_WEAK_REVALIDATE))) in complete_walk() 1391 flags = smp_load_acquire(&path->dentry->d_flags); in __traverse_mounts() 1405 flags = path->dentry->d_flags; in __traverse_mounts() 1416 flags = smp_load_acquire(&path->dentry->d_flags); in __traverse_mounts() 1435 unsigned flags = smp_load_acquire(&path->dentry->d_flags); in traverse_mounts() 1487 unsigned int flags = dentry->d_flags; in __follow_mount_rcu() 1504 flags = dentry->d_flags; in __follow_mount_rcu() 1514 flags = dentry->d_flags; in __follow_mount_rcu() 2291 if (unlikely(parent->d_flags & DCACHE_OP_HASH)) { in link_path_walk() [all …]
|
/linux-6.6.21/include/linux/ |
D | dcache.h | 84 unsigned int d_flags; /* protected by d_lock */ member 345 return (dentry->d_flags & DCACHE_CANT_MOUNT); in cant_mount() 351 dentry->d_flags |= DCACHE_CANT_MOUNT; in dont_mount() 359 return dentry->d_flags & DCACHE_PAR_LOOKUP; in d_in_lookup() 372 return dentry->d_flags & DCACHE_MANAGED_DENTRY; in d_managed() 377 return dentry->d_flags & DCACHE_MOUNTED; in d_mountpoint() 385 return dentry->d_flags & DCACHE_ENTRY_TYPE; in __d_entry_type() 496 return dentry->d_flags & DCACHE_FALLTHRU; in d_is_fallthru() 576 if (unlikely(dentry->d_flags & DCACHE_OP_REAL)) in d_real()
|
D | fsnotify_backend.h | 590 dentry->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_update_flags() 592 dentry->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_update_flags()
|
D | fscrypt.h | 217 dentry->d_flags &= ~DCACHE_NOKEY_NAME; in fscrypt_handle_d_move() 246 return dentry->d_flags & DCACHE_NOKEY_NAME; in fscrypt_is_nokey_name()
|
D | fsnotify.h | 69 if (!(dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED)) in fsnotify_parent()
|
/linux-6.6.21/fs/nfs/ |
D | unlink.c | 143 !(alias->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_call_unlink() 146 alias->d_flags |= DCACHE_NFSFS_RENAMED; in nfs_call_unlink() 192 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_async_unlink() 194 dentry->d_flags |= DCACHE_NFSFS_RENAMED; in nfs_async_unlink() 230 dentry->d_flags &= ~DCACHE_NFSFS_RENAMED; in nfs_complete_unlink() 244 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_cancel_async_unlink() 247 dentry->d_flags &= ~DCACHE_NFSFS_RENAMED; in nfs_cancel_async_unlink() 458 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_sillyrename()
|
D | getroot.c | 121 !(root->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_get_root()
|
D | dir.c | 1863 dentry, dentry->d_flags); in nfs_dentry_delete() 1869 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_dentry_delete() 1902 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_dentry_iput() 1913 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_d_release() 2450 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_safe_remove() 2497 if (WARN_ON(dentry->d_flags & DCACHE_NFSFS_RENAMED) || in nfs_unlink() 2682 if (WARN_ON(new_dentry->d_flags & DCACHE_NFSFS_RENAMED) || in nfs_rename()
|
/linux-6.6.21/fs/afs/ |
D | dir_silly.c | 32 old->d_flags |= DCACHE_NFSFS_RENAMED; in afs_silly_rename_edit_dir() 111 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in afs_sillyrename() 261 !(alias->d_flags & DCACHE_NFSFS_RENAMED)) { in afs_silly_iput() 262 alias->d_flags |= DCACHE_NFSFS_RENAMED; in afs_silly_iput()
|
/linux-6.6.21/fs/exportfs/ |
D | expfs.c | 77 while (dentry->d_flags & DCACHE_DISCONNECTED) { in dentry_connected() 94 while (dentry->d_flags & DCACHE_DISCONNECTED) { in clear_disconnected() 100 dentry->d_flags &= ~DCACHE_DISCONNECTED; in clear_disconnected() 218 while (dentry->d_flags & DCACHE_DISCONNECTED) { in reconnect_path() 483 if (result->d_flags & DCACHE_DISCONNECTED) { in exportfs_decode_fh_raw()
|
/linux-6.6.21/fs/overlayfs/ |
D | util.c | 136 return dentry->d_flags & OVL_D_REVALIDATE; in ovl_dentry_remote() 145 dentry->d_flags |= realdentry->d_flags & OVL_D_REVALIDATE; in ovl_dentry_update_reval() 162 flags |= upperdentry->d_flags; in ovl_dentry_init_flags() 164 flags |= lowerstack[i].dentry->d_flags; in ovl_dentry_init_flags() 167 dentry->d_flags &= ~mask; in ovl_dentry_init_flags() 168 dentry->d_flags |= flags & mask; in ovl_dentry_init_flags() 174 return dentry->d_flags & (DCACHE_NEED_AUTOMOUNT | in ovl_dentry_weird() 612 bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED; in ovl_already_copied_up_locked() 624 bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED; in ovl_already_copied_up()
|
D | export.c | 680 if ((real->d_flags & DCACHE_DISCONNECTED) || d_unhashed(real)) in ovl_get_dentry() 727 !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) { in ovl_lower_fh_to_d()
|
/linux-6.6.21/fs/autofs/ |
D | autofs_i.h | 184 dentry->d_flags |= (DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT); in __managed_dentry_set_managed() 196 dentry->d_flags &= ~(DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT); in __managed_dentry_clear_managed()
|
/linux-6.6.21/fs/ecryptfs/ |
D | dentry.c | 39 if (lower_dentry->d_flags & DCACHE_OP_REVALIDATE) in ecryptfs_d_revalidate()
|
/linux-6.6.21/fs/notify/ |
D | fsnotify.c | 133 child->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_update_child_dentry_flags() 135 child->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_update_child_dentry_flags() 185 bool parent_watched = dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_parent()
|
/linux-6.6.21/fs/ocfs2/ |
D | dcache.c | 399 if (!(dentry->d_flags & DCACHE_DISCONNECTED) && in ocfs2_dentry_iput() 406 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
|
/linux-6.6.21/fs/crypto/ |
D | hooks.c | 107 dentry->d_flags |= DCACHE_NOKEY_NAME; in __fscrypt_prepare_lookup() 137 dentry->d_flags |= DCACHE_NOKEY_NAME; in fscrypt_prepare_lookup_partial()
|
D | fname.c | 594 if (!(dentry->d_flags & DCACHE_NOKEY_NAME)) in fscrypt_d_revalidate()
|
/linux-6.6.21/block/partitions/ |
D | osf.c | 38 __le32 d_headswitch, d_trkseek, d_flags; in osf_partition() member
|
/linux-6.6.21/arch/alpha/boot/tools/ |
D | mkbb.c | 52 u32 d_headswitch, d_trkseek, d_flags; member
|
/linux-6.6.21/include/uapi/linux/ |
D | dqblk_xfs.h | 55 __s8 d_flags; /* FS_{USER,PROJ,GROUP}_QUOTA */ member
|
/linux-6.6.21/fs/smb/client/ |
D | dir.c | 758 !(direntry->d_flags & DCACHE_NEED_AUTOMOUNT)) { 760 direntry->d_flags |= DCACHE_NEED_AUTOMOUNT;
|
/linux-6.6.21/fs/quota/ |
D | quota.c | 680 dst->d_flags = FS_USER_QUOTA; in copy_to_xfs_dqblk() 682 dst->d_flags = FS_PROJ_QUOTA; in copy_to_xfs_dqblk() 684 dst->d_flags = FS_GROUP_QUOTA; in copy_to_xfs_dqblk()
|
/linux-6.6.21/fs/ceph/ |
D | dir.c | 246 ((dentry->d_flags & DCACHE_NOKEY_NAME) && in __dcache_readdir() 1150 if (dentry->d_flags & DCACHE_DISCONNECTED) in ceph_link() 1178 if (old_dentry->d_flags & DCACHE_DISCONNECTED) in ceph_link() 1889 !!(dentry->d_flags & DCACHE_NOKEY_NAME)); in ceph_d_revalidate()
|