/linux-6.12.1/fs/ |
D | dcache.c | 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() [all …]
|
D | namei.c | 867 if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE)) in d_revalidate() 925 if (likely(!(dentry->d_flags & DCACHE_OP_WEAK_REVALIDATE))) in complete_walk() 1415 flags = smp_load_acquire(&path->dentry->d_flags); in __traverse_mounts() 1429 flags = path->dentry->d_flags; in __traverse_mounts() 1440 flags = smp_load_acquire(&path->dentry->d_flags); in __traverse_mounts() 1459 unsigned flags = smp_load_acquire(&path->dentry->d_flags); in traverse_mounts() 1511 unsigned int flags = dentry->d_flags; in __follow_mount_rcu() 1528 flags = dentry->d_flags; in __follow_mount_rcu() 1538 flags = dentry->d_flags; in __follow_mount_rcu() 2388 if (unlikely(parent->d_flags & DCACHE_OP_HASH)) { in link_path_walk() [all …]
|
/linux-6.12.1/include/linux/ |
D | dcache.h | 84 unsigned int d_flags; /* protected by d_lock */ member 364 return (dentry->d_flags & DCACHE_CANT_MOUNT); in cant_mount() 370 dentry->d_flags |= DCACHE_CANT_MOUNT; in dont_mount() 378 return dentry->d_flags & DCACHE_PAR_LOOKUP; in d_in_lookup() 391 return dentry->d_flags & DCACHE_MANAGED_DENTRY; in d_managed() 396 return dentry->d_flags & DCACHE_MOUNTED; in d_mountpoint() 404 return dentry->d_flags & DCACHE_ENTRY_TYPE; in __d_entry_type() 571 if (unlikely(dentry->d_flags & DCACHE_OP_REAL)) in d_real()
|
D | fscrypt.h | 239 if (dentry->d_flags & DCACHE_NOKEY_NAME) { in fscrypt_handle_d_move() 240 dentry->d_flags &= ~DCACHE_NOKEY_NAME; in fscrypt_handle_d_move() 247 dentry->d_flags &= ~DCACHE_OP_REVALIDATE; in fscrypt_handle_d_move() 277 return dentry->d_flags & DCACHE_NOKEY_NAME; in fscrypt_is_nokey_name() 293 dentry->d_flags |= DCACHE_NOKEY_NAME; in fscrypt_prepare_dentry() 295 } else if (dentry->d_flags & DCACHE_OP_REVALIDATE && in fscrypt_prepare_dentry() 304 dentry->d_flags &= ~DCACHE_OP_REVALIDATE; in fscrypt_prepare_dentry()
|
D | fsnotify_backend.h | 619 dentry->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_update_flags() 621 dentry->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_update_flags()
|
D | fsnotify.h | 88 if (!(dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED)) in fsnotify_parent()
|
/linux-6.12.1/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() 246 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_cancel_async_unlink() 249 dentry->d_flags &= ~DCACHE_NFSFS_RENAMED; in nfs_cancel_async_unlink() 460 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 | 1888 dentry, dentry->d_flags); in nfs_dentry_delete() 1894 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_dentry_delete() 1927 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_dentry_iput() 1938 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_d_release() 2526 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_safe_remove() 2573 if (WARN_ON(dentry->d_flags & DCACHE_NFSFS_RENAMED) || in nfs_unlink() 2749 if (WARN_ON(new_dentry->d_flags & DCACHE_NFSFS_RENAMED) || in nfs_rename()
|
/linux-6.12.1/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.12.1/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() 471 if (result->d_flags & DCACHE_DISCONNECTED) { in exportfs_decode_fh_raw()
|
/linux-6.12.1/fs/overlayfs/ |
D | util.c | 162 return dentry->d_flags & OVL_D_REVALIDATE; in ovl_dentry_remote() 171 dentry->d_flags |= realdentry->d_flags & OVL_D_REVALIDATE; in ovl_dentry_update_reval() 188 flags |= upperdentry->d_flags; in ovl_dentry_init_flags() 190 flags |= lowerstack[i].dentry->d_flags; in ovl_dentry_init_flags() 193 dentry->d_flags &= ~mask; in ovl_dentry_init_flags() 194 dentry->d_flags |= flags & mask; in ovl_dentry_init_flags() 200 return dentry->d_flags & (DCACHE_NEED_AUTOMOUNT | in ovl_dentry_weird() 675 bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED; in ovl_already_copied_up_locked() 687 bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED; in ovl_already_copied_up()
|
D | export.c | 658 if ((real->d_flags & DCACHE_DISCONNECTED) || d_unhashed(real)) in ovl_get_dentry() 705 !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) { in ovl_lower_fh_to_d()
|
/linux-6.12.1/fs/autofs/ |
D | autofs_i.h | 190 dentry->d_flags |= (DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT); in __managed_dentry_set_managed() 202 dentry->d_flags &= ~(DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT); in __managed_dentry_clear_managed()
|
/linux-6.12.1/fs/ecryptfs/ |
D | dentry.c | 39 if (lower_dentry->d_flags & DCACHE_OP_REVALIDATE) in ecryptfs_d_revalidate()
|
/linux-6.12.1/fs/notify/ |
D | fsnotify.c | 142 child->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_set_children_dentry_flags() 164 dentry->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_clear_child_dentry_flag() 222 bool parent_watched = dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_parent()
|
/linux-6.12.1/fs/ocfs2/ |
D | dcache.c | 392 if (!(dentry->d_flags & DCACHE_DISCONNECTED) && in ocfs2_dentry_iput() 399 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
|
/linux-6.12.1/block/partitions/ |
D | osf.c | 38 __le32 d_headswitch, d_trkseek, d_flags; in osf_partition() member
|
/linux-6.12.1/arch/alpha/boot/tools/ |
D | mkbb.c | 52 u32 d_headswitch, d_trkseek, d_flags; member
|
/linux-6.12.1/include/uapi/linux/ |
D | dqblk_xfs.h | 55 __s8 d_flags; /* FS_{USER,PROJ,GROUP}_QUOTA */ member
|
/linux-6.12.1/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.12.1/fs/smb/client/ |
D | dir.c | 781 !(direntry->d_flags & DCACHE_NEED_AUTOMOUNT)) { 783 direntry->d_flags |= DCACHE_NEED_AUTOMOUNT;
|
/linux-6.12.1/fs/crypto/ |
D | fname.c | 588 if (!(dentry->d_flags & DCACHE_NOKEY_NAME)) in fscrypt_d_revalidate()
|
/linux-6.12.1/fs/ceph/ |
D | dir.c | 253 ((dentry->d_flags & DCACHE_NOKEY_NAME) && in __dcache_readdir() 1187 if (dentry->d_flags & DCACHE_DISCONNECTED) in ceph_link() 1215 if (old_dentry->d_flags & DCACHE_DISCONNECTED) in ceph_link() 1969 !!(dentry->d_flags & DCACHE_NOKEY_NAME)); in ceph_d_revalidate()
|
/linux-6.12.1/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()
|