/linux-6.1.9/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 | 855 if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE)) in d_revalidate() 913 if (likely(!(dentry->d_flags & DCACHE_OP_WEAK_REVALIDATE))) in complete_walk() 1384 flags = smp_load_acquire(&path->dentry->d_flags); in __traverse_mounts() 1398 flags = path->dentry->d_flags; in __traverse_mounts() 1409 flags = smp_load_acquire(&path->dentry->d_flags); in __traverse_mounts() 1428 unsigned flags = smp_load_acquire(&path->dentry->d_flags); in traverse_mounts() 1480 unsigned int flags = dentry->d_flags; in __follow_mount_rcu() 1497 flags = dentry->d_flags; in __follow_mount_rcu() 1507 flags = dentry->d_flags; in __follow_mount_rcu() 2282 if (unlikely(parent->d_flags & DCACHE_OP_HASH)) { in link_path_walk() [all …]
|
/linux-6.1.9/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.1.9/fs/nfs/ |
D | unlink.c | 142 !(alias->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_call_unlink() 145 alias->d_flags |= DCACHE_NFSFS_RENAMED; in nfs_call_unlink() 191 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_async_unlink() 193 dentry->d_flags |= DCACHE_NFSFS_RENAMED; in nfs_async_unlink() 229 dentry->d_flags &= ~DCACHE_NFSFS_RENAMED; in nfs_complete_unlink() 243 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_cancel_async_unlink() 246 dentry->d_flags &= ~DCACHE_NFSFS_RENAMED; in nfs_cancel_async_unlink() 457 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 | 1853 dentry, dentry->d_flags); in nfs_dentry_delete() 1859 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_dentry_delete() 1892 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_dentry_iput() 1903 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_d_release() 2440 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_safe_remove() 2487 if (WARN_ON(dentry->d_flags & DCACHE_NFSFS_RENAMED) || in nfs_unlink() 2672 if (WARN_ON(new_dentry->d_flags & DCACHE_NFSFS_RENAMED) || in nfs_rename()
|
/linux-6.1.9/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.1.9/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() 457 if (result->d_flags & DCACHE_DISCONNECTED) { in exportfs_decode_fh_raw()
|
/linux-6.1.9/fs/overlayfs/ |
D | util.c | 99 return dentry->d_flags & in ovl_dentry_remote() 110 flags |= upperdentry->d_flags; in ovl_dentry_update_reval() 112 flags |= oe->lowerstack[i].dentry->d_flags; in ovl_dentry_update_reval() 115 dentry->d_flags &= ~mask; in ovl_dentry_update_reval() 116 dentry->d_flags |= flags & mask; in ovl_dentry_update_reval() 122 return dentry->d_flags & (DCACHE_NEED_AUTOMOUNT | in ovl_dentry_weird() 527 bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED; in ovl_already_copied_up_locked() 539 bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED; in ovl_already_copied_up()
|
D | export.c | 670 if ((real->d_flags & DCACHE_DISCONNECTED) || d_unhashed(real)) in ovl_get_dentry() 717 !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) { in ovl_lower_fh_to_d()
|
/linux-6.1.9/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.1.9/fs/ecryptfs/ |
D | dentry.c | 39 if (lower_dentry->d_flags & DCACHE_OP_REVALIDATE) in ecryptfs_d_revalidate()
|
/linux-6.1.9/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.1.9/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.1.9/block/partitions/ |
D | osf.c | 38 __le32 d_headswitch, d_trkseek, d_flags; in osf_partition() member
|
/linux-6.1.9/arch/alpha/boot/tools/ |
D | mkbb.c | 52 u32 d_headswitch, d_trkseek, d_flags; member
|
/linux-6.1.9/include/uapi/linux/ |
D | dqblk_xfs.h | 55 __s8 d_flags; /* FS_{USER,PROJ,GROUP}_QUOTA */ member
|
/linux-6.1.9/fs/crypto/ |
D | hooks.c | 107 dentry->d_flags |= DCACHE_NOKEY_NAME; in __fscrypt_prepare_lookup()
|
D | fname.c | 594 if (!(dentry->d_flags & DCACHE_NOKEY_NAME)) in fscrypt_d_revalidate()
|
/linux-6.1.9/fs/cifs/ |
D | dir.c | 748 !(direntry->d_flags & DCACHE_NEED_AUTOMOUNT)) { 750 direntry->d_flags |= DCACHE_NEED_AUTOMOUNT;
|
/linux-6.1.9/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.1.9/fs/fuse/ |
D | dir.c | 73 if ((!delete && (dentry->d_flags & DCACHE_OP_DELETE)) || in fuse_dentry_settime() 74 (delete && !(dentry->d_flags & DCACHE_OP_DELETE))) { in fuse_dentry_settime() 77 dentry->d_flags &= ~DCACHE_OP_DELETE; in fuse_dentry_settime() 79 dentry->d_flags |= DCACHE_OP_DELETE; in fuse_dentry_settime()
|