Home
last modified time | relevance | path

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

12

/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.c779 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 …]
Dlibfs.c112 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/
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()
Ddir.c1478 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/
Dutil.c105 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()
Dexport.c662 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()
Dnamei.c203 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()
Dsuper.c130 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/
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()
Ddir.c1186 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/
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()
/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()
/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()
/fs/ocfs2/
Ddcache.c401 if (!(dentry->d_flags & DCACHE_DISCONNECTED) && in ocfs2_dentry_iput()
408 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
/fs/ecryptfs/
Ddentry.c39 if (lower_dentry->d_flags & DCACHE_OP_REVALIDATE) in ecryptfs_d_revalidate()
/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()
/fs/quota/
Dquota.c676 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/
Dhooks.c107 dentry->d_flags |= DCACHE_NOKEY_NAME; in __fscrypt_prepare_lookup()
Dfname.c540 if (!(dentry->d_flags & DCACHE_NOKEY_NAME)) in fscrypt_d_revalidate()
/fs/fuse/
Ddir.c64 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/
Dinode.c226 } while (unlikely(child->d_flags & DCACHE_DENTRY_KILLED)); in set_gid()
/fs/nfsd/
Dnfsfh.c287 (dentry->d_flags & DCACHE_DISCONNECTED)) { in nfsd_set_fh_dentry()

12