Home
last modified time | relevance | path

Searched refs:d_flags (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.1.9/fs/
Ddcache.c346 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 …]
Dnamei.c855 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/
Ddcache.h84 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()
Dfsnotify_backend.h590 dentry->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_update_flags()
592 dentry->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_update_flags()
Dfscrypt.h217 dentry->d_flags &= ~DCACHE_NOKEY_NAME; in fscrypt_handle_d_move()
246 return dentry->d_flags & DCACHE_NOKEY_NAME; in fscrypt_is_nokey_name()
Dfsnotify.h69 if (!(dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED)) in fsnotify_parent()
/linux-6.1.9/fs/nfs/
Dunlink.c142 !(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()
Dgetroot.c121 !(root->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_get_root()
Ddir.c1853 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/
Ddir_silly.c32 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/
Dexpfs.c77 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/
Dutil.c99 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()
Dexport.c670 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/
Dautofs_i.h184 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/
Ddentry.c39 if (lower_dentry->d_flags & DCACHE_OP_REVALIDATE) in ecryptfs_d_revalidate()
/linux-6.1.9/fs/notify/
Dfsnotify.c133 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/
Ddcache.c399 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/
Dosf.c38 __le32 d_headswitch, d_trkseek, d_flags; in osf_partition() member
/linux-6.1.9/arch/alpha/boot/tools/
Dmkbb.c52 u32 d_headswitch, d_trkseek, d_flags; member
/linux-6.1.9/include/uapi/linux/
Ddqblk_xfs.h55 __s8 d_flags; /* FS_{USER,PROJ,GROUP}_QUOTA */ member
/linux-6.1.9/fs/crypto/
Dhooks.c107 dentry->d_flags |= DCACHE_NOKEY_NAME; in __fscrypt_prepare_lookup()
Dfname.c594 if (!(dentry->d_flags & DCACHE_NOKEY_NAME)) in fscrypt_d_revalidate()
/linux-6.1.9/fs/cifs/
Ddir.c748 !(direntry->d_flags & DCACHE_NEED_AUTOMOUNT)) {
750 direntry->d_flags |= DCACHE_NEED_AUTOMOUNT;
/linux-6.1.9/fs/quota/
Dquota.c680 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/
Ddir.c73 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()

12