/fs/ |
D | dcache.c | 319 flags = READ_ONCE(dentry->d_flags); in __d_set_inode_and_type() 322 smp_store_release(&dentry->d_flags, flags); in __d_set_inode_and_type() 327 unsigned flags = READ_ONCE(dentry->d_flags); in __d_clear_type_and_inode() 330 WRITE_ONCE(dentry->d_flags, flags); in __d_clear_type_and_inode() 332 if (dentry->d_flags & DCACHE_LRU_LIST) in __d_clear_type_and_inode() 347 if (dentry->d_flags & DCACHE_NORCU) in dentry_free() 396 #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_… 400 dentry->d_flags |= DCACHE_LRU_LIST; in d_lru_add() 410 dentry->d_flags &= ~DCACHE_LRU_LIST; in d_lru_del() 421 dentry->d_flags &= ~(DCACHE_SHRINK_LIST | DCACHE_LRU_LIST); in d_shrink_del() [all …]
|
D | dcookies.c | 104 d->d_flags |= DCACHE_COOKIE; in alloc_dcookie() 129 if (path->dentry->d_flags & DCACHE_COOKIE) { in get_dcookie() 282 d->d_flags &= ~DCACHE_COOKIE; in free_dcookie()
|
D | namei.c | 779 if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE)) in d_revalidate() 913 if (likely(!(dentry->d_flags & DCACHE_OP_WEAK_REVALIDATE))) { in complete_walk() 1313 flags = smp_load_acquire(&path->dentry->d_flags); in __traverse_mounts() 1327 flags = path->dentry->d_flags; in __traverse_mounts() 1338 flags = smp_load_acquire(&path->dentry->d_flags); in __traverse_mounts() 1357 unsigned flags = smp_load_acquire(&path->dentry->d_flags); in traverse_mounts() 1410 unsigned int flags = dentry->d_flags; in __follow_mount_rcu() 1427 flags = dentry->d_flags; in __follow_mount_rcu() 1444 flags = dentry->d_flags; in __follow_mount_rcu() 2237 if (unlikely(parent->d_flags & DCACHE_OP_HASH)) { in link_path_walk() [all …]
|
D | libfs.c | 112 if (d->d_flags & DCACHE_DENTRY_CURSOR) in scan_positives() 1509 bool needs_encrypt_ops = dentry->d_flags & DCACHE_NOKEY_NAME; in generic_set_encrypted_ci_d_ops()
|
/fs/nfs/ |
D | unlink.c | 138 !(alias->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_call_unlink() 141 alias->d_flags |= DCACHE_NFSFS_RENAMED; in nfs_call_unlink() 187 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_async_unlink() 189 dentry->d_flags |= DCACHE_NFSFS_RENAMED; in nfs_async_unlink() 225 dentry->d_flags &= ~DCACHE_NFSFS_RENAMED; in nfs_complete_unlink() 239 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_cancel_async_unlink() 242 dentry->d_flags &= ~DCACHE_NFSFS_RENAMED; in nfs_cancel_async_unlink() 448 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_sillyrename()
|
D | getroot.c | 124 !(root->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_get_root()
|
D | dir.c | 1478 dentry, dentry->d_flags); in nfs_dentry_delete() 1484 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_dentry_delete() 1522 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_dentry_iput() 1533 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_d_release() 2044 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_safe_remove()
|
/fs/overlayfs/ |
D | util.c | 105 return dentry->d_flags & OVL_D_REVALIDATE; in ovl_dentry_remote() 114 dentry->d_flags |= realdentry->d_flags & OVL_D_REVALIDATE; in ovl_dentry_update_reval() 130 flags |= upperdentry->d_flags; in ovl_dentry_init_flags() 132 flags |= oe->lowerstack[i].dentry->d_flags; in ovl_dentry_init_flags() 135 dentry->d_flags &= ~mask; in ovl_dentry_init_flags() 136 dentry->d_flags |= flags & mask; in ovl_dentry_init_flags() 142 return dentry->d_flags & (DCACHE_NEED_AUTOMOUNT | in ovl_dentry_weird() 519 bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED; in ovl_already_copied_up_locked() 531 bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED; in ovl_already_copied_up()
|
D | export.c | 662 if ((real->d_flags & DCACHE_DISCONNECTED) || d_unhashed(real)) in ovl_get_dentry() 709 !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) { in ovl_lower_fh_to_d()
|
D | namei.c | 203 if (!IS_ERR(ret) && d_flags_negative(smp_load_acquire(&ret->d_flags))) { in ovl_lookup_positive_unlocked() 858 if (upperdentry && upperdentry->d_flags & DCACHE_OP_REAL) { in ovl_lookup()
|
D | super.c | 130 if (d->d_flags & DCACHE_OP_WEAK_REVALIDATE) in ovl_revalidate_real() 132 } else if (d->d_flags & DCACHE_OP_REVALIDATE) { in ovl_revalidate_real() 878 if (!err && path->dentry->d_flags & DCACHE_OP_REAL) { in ovl_mount_dir()
|
/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()
|
D | dir.c | 1186 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in afs_d_delete() 1207 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in afs_d_iput() 1878 if (old_dentry->d_flags & DCACHE_NFSFS_RENAMED) in afs_rename()
|
/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() 458 if (result->d_flags & DCACHE_DISCONNECTED) { in exportfs_decode_fh()
|
/fs/autofs/ |
D | autofs_i.h | 180 dentry->d_flags |= (DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT); in __managed_dentry_set_managed() 192 dentry->d_flags &= ~(DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT); in __managed_dentry_clear_managed()
|
/fs/notify/ |
D | fsnotify.c | 135 child->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_update_child_dentry_flags() 137 child->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_update_child_dentry_flags() 187 bool parent_watched = dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_parent()
|
/fs/ocfs2/ |
D | dcache.c | 401 if (!(dentry->d_flags & DCACHE_DISCONNECTED) && in ocfs2_dentry_iput() 408 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
|
/fs/ecryptfs/ |
D | dentry.c | 39 if (lower_dentry->d_flags & DCACHE_OP_REVALIDATE) in ecryptfs_d_revalidate()
|
/fs/cifs/ |
D | dir.c | 777 !(direntry->d_flags & DCACHE_NEED_AUTOMOUNT)) { in cifs_d_revalidate() 779 direntry->d_flags |= DCACHE_NEED_AUTOMOUNT; in cifs_d_revalidate()
|
/fs/quota/ |
D | quota.c | 676 dst->d_flags = FS_USER_QUOTA; in copy_to_xfs_dqblk() 678 dst->d_flags = FS_PROJ_QUOTA; in copy_to_xfs_dqblk() 680 dst->d_flags = FS_GROUP_QUOTA; in copy_to_xfs_dqblk()
|
/fs/crypto/ |
D | hooks.c | 107 dentry->d_flags |= DCACHE_NOKEY_NAME; in __fscrypt_prepare_lookup()
|
D | fname.c | 540 if (!(dentry->d_flags & DCACHE_NOKEY_NAME)) in fscrypt_d_revalidate()
|
/fs/fuse/ |
D | dir.c | 64 if ((!delete && (dentry->d_flags & DCACHE_OP_DELETE)) || in fuse_dentry_settime() 65 (delete && !(dentry->d_flags & DCACHE_OP_DELETE))) { in fuse_dentry_settime() 68 dentry->d_flags &= ~DCACHE_OP_DELETE; in fuse_dentry_settime() 70 dentry->d_flags |= DCACHE_OP_DELETE; in fuse_dentry_settime()
|
/fs/tracefs/ |
D | inode.c | 226 } while (unlikely(child->d_flags & DCACHE_DENTRY_KILLED)); in set_gid()
|
/fs/nfsd/ |
D | nfsfh.c | 287 (dentry->d_flags & DCACHE_DISCONNECTED)) { in nfsd_set_fh_dentry()
|