Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/
Ddcache.c319 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 …]
Ddcookies.c104 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()
Dnamei.c772 if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE)) in d_revalidate()
829 if (likely(!(dentry->d_flags & DCACHE_OP_WEAK_REVALIDATE))) in complete_walk()
1225 flags = smp_load_acquire(&path->dentry->d_flags); in __traverse_mounts()
1239 flags = path->dentry->d_flags; in __traverse_mounts()
1250 flags = smp_load_acquire(&path->dentry->d_flags); in __traverse_mounts()
1269 unsigned flags = smp_load_acquire(&path->dentry->d_flags); in traverse_mounts()
1322 unsigned int flags = dentry->d_flags; in __follow_mount_rcu()
1339 flags = dentry->d_flags; in __follow_mount_rcu()
1356 flags = dentry->d_flags; in __follow_mount_rcu()
2147 if (unlikely(parent->d_flags & DCACHE_OP_HASH)) { in link_path_walk()
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddcache.h91 unsigned int d_flags; /* protected by d_lock */ member
348 return (dentry->d_flags & DCACHE_CANT_MOUNT); in cant_mount()
354 dentry->d_flags |= DCACHE_CANT_MOUNT; in dont_mount()
362 return dentry->d_flags & DCACHE_PAR_LOOKUP; in d_in_lookup()
378 return dentry->d_flags & DCACHE_MANAGED_DENTRY; in d_managed()
383 return dentry->d_flags & DCACHE_MOUNTED; in d_mountpoint()
391 return dentry->d_flags & DCACHE_ENTRY_TYPE; in __d_entry_type()
502 return dentry->d_flags & DCACHE_FALLTHRU; in d_is_fallthru()
582 if (unlikely(dentry->d_flags & DCACHE_OP_REAL)) in d_real()
Dfsnotify_backend.h464 dentry->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_update_flags()
466 dentry->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_update_flags()
Dfscrypt.h111 dentry->d_flags &= ~DCACHE_NOKEY_NAME; in fscrypt_handle_d_move()
140 return dentry->d_flags & DCACHE_NOKEY_NAME; in fscrypt_is_nokey_name()
Dfsnotify.h60 if (!(dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED)) in fsnotify_parent()
/kernel/linux/linux-5.10/fs/nfs/
Dunlink.c138 !(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()
Dgetroot.c124 !(root->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_get_root()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/overlayfs/
Dutil.c95 return dentry->d_flags & in ovl_dentry_remote()
106 flags |= upperdentry->d_flags; in ovl_dentry_update_reval()
108 flags |= oe->lowerstack[i].dentry->d_flags; in ovl_dentry_update_reval()
111 dentry->d_flags &= ~mask; in ovl_dentry_update_reval()
112 dentry->d_flags |= flags & mask; in ovl_dentry_update_reval()
118 return dentry->d_flags & (DCACHE_NEED_AUTOMOUNT | in ovl_dentry_weird()
495 bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED; in ovl_already_copied_up_locked()
507 bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED; in ovl_already_copied_up()
Dexport.c663 if ((real->d_flags & DCACHE_DISCONNECTED) || d_unhashed(real)) in ovl_get_dentry()
710 !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) { in ovl_lower_fh_to_d()
/kernel/linux/linux-5.10/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()
458 if (result->d_flags & DCACHE_DISCONNECTED) { in exportfs_decode_fh()
/kernel/linux/linux-5.10/fs/autofs/
Dautofs_i.h180 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()
/kernel/linux/linux-5.10/fs/ecryptfs/
Ddentry.c39 if (lower_dentry->d_flags & DCACHE_OP_REVALIDATE) in ecryptfs_d_revalidate()
/kernel/linux/linux-5.10/fs/notify/
Dfsnotify.c135 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()
/kernel/linux/linux-5.10/fs/ocfs2/
Ddcache.c401 if (!(dentry->d_flags & DCACHE_DISCONNECTED) && in ocfs2_dentry_iput()
408 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
/kernel/linux/linux-5.10/block/partitions/
Dosf.c38 __le32 d_headswitch, d_trkseek, d_flags; in osf_partition() member
/kernel/linux/linux-5.10/fs/hmdfs/
Ddentry.c137 if ((lower_dentry->d_flags & DCACHE_OP_REVALIDATE)) { in hmdfs_d_revalidate()
294 if ((comrade->lo_d->d_flags & DCACHE_OP_REVALIDATE)) { in d_revalidate_merge()
/kernel/linux/linux-5.10/arch/alpha/boot/tools/
Dmkbb.c52 u32 d_headswitch, d_trkseek, d_flags; member
/kernel/linux/linux-5.10/include/uapi/linux/
Ddqblk_xfs.h55 __s8 d_flags; /* FS_{USER,PROJ,GROUP}_QUOTA */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Ddqblk_xfs.h27 __s8 d_flags; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Ddqblk_xfs.h40 __s8 d_flags; member
/kernel/linux/linux-5.10/fs/crypto/
Dhooks.c119 dentry->d_flags |= DCACHE_NOKEY_NAME; in __fscrypt_prepare_lookup()
/kernel/linux/linux-5.10/fs/cifs/
Ddir.c777 !(direntry->d_flags & DCACHE_NEED_AUTOMOUNT)) { in cifs_d_revalidate()
779 direntry->d_flags |= DCACHE_NEED_AUTOMOUNT; in cifs_d_revalidate()

12