/fs/ |
D | dcache.c | 314 flags = READ_ONCE(dentry->d_flags); in __d_set_inode_and_type() 317 WRITE_ONCE(dentry->d_flags, flags); in __d_set_inode_and_type() 322 unsigned flags = READ_ONCE(dentry->d_flags); in __d_clear_type_and_inode() 325 WRITE_ONCE(dentry->d_flags, flags); in __d_clear_type_and_inode() 340 if (!(dentry->d_flags & DCACHE_RCUACCESS)) in dentry_free() 387 #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_… 391 dentry->d_flags |= DCACHE_LRU_LIST; in d_lru_add() 399 dentry->d_flags &= ~DCACHE_LRU_LIST; in d_lru_del() 408 dentry->d_flags &= ~(DCACHE_SHRINK_LIST | DCACHE_LRU_LIST); in d_shrink_del() 416 dentry->d_flags |= DCACHE_SHRINK_LIST | DCACHE_LRU_LIST; in d_shrink_add() [all …]
|
D | dcookies.c | 103 d->d_flags |= DCACHE_COOKIE; in alloc_dcookie() 128 if (path->dentry->d_flags & DCACHE_COOKIE) { in get_dcookie() 276 d->d_flags &= ~DCACHE_COOKIE; in free_dcookie()
|
D | namei.c | 817 if (likely(!(dentry->d_flags & DCACHE_OP_WEAK_REVALIDATE))) in complete_walk() 1206 while (managed = ACCESS_ONCE(path->dentry->d_flags), in follow_managed() 1279 return (dentry->d_flags & DCACHE_MANAGE_TRANSIT) ? in managed_dentry_rcu() 1307 return !(path->dentry->d_flags & DCACHE_NEED_AUTOMOUNT); in __follow_mount_rcu() 1324 !(path->dentry->d_flags & DCACHE_NEED_AUTOMOUNT); in __follow_mount_rcu() 1391 while (managed = ACCESS_ONCE(path->dentry->d_flags), in follow_down() 1492 if (dentry->d_flags & DCACHE_OP_REVALIDATE) { in lookup_dcache() 1589 if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE)) in lookup_fast() 1614 if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE)) in lookup_fast() 1654 if ((dentry->d_flags & DCACHE_OP_REVALIDATE) && in lookup_slow() [all …]
|
D | nsfs.c | 93 dentry->d_flags |= DCACHE_RCUACCESS; in __ns_get_path()
|
/fs/nfs/ |
D | unlink.c | 136 !(alias->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_call_unlink() 139 alias->d_flags |= DCACHE_NFSFS_RENAMED; in nfs_call_unlink() 189 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_async_unlink() 191 dentry->d_flags |= DCACHE_NFSFS_RENAMED; in nfs_async_unlink() 228 dentry->d_flags &= ~DCACHE_NFSFS_RENAMED; in nfs_complete_unlink() 242 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_cancel_async_unlink() 245 dentry->d_flags &= ~DCACHE_NFSFS_RENAMED; in nfs_cancel_async_unlink() 447 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_sillyrename()
|
D | getroot.c | 124 !(ret->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_get_root()
|
D | dir.c | 1307 dentry, dentry->d_flags); in nfs_dentry_delete() 1313 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_dentry_delete() 1347 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_dentry_iput() 1358 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in nfs_d_release() 1845 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) { in nfs_safe_remove()
|
/fs/xfs/libxfs/ |
D | xfs_dquot_buf.c | 92 if (ddq->d_flags != XFS_DQ_USER && in xfs_dqcheck() 93 ddq->d_flags != XFS_DQ_PROJ && in xfs_dqcheck() 94 ddq->d_flags != XFS_DQ_GROUP) { in xfs_dqcheck() 98 str, id, ddq->d_flags); in xfs_dqcheck() 162 d->dd_diskdq.d_flags = type; in xfs_dqcheck()
|
/fs/exportfs/ |
D | expfs.c | 75 while (dentry->d_flags & DCACHE_DISCONNECTED) { in dentry_connected() 92 while (dentry->d_flags & DCACHE_DISCONNECTED) { in clear_disconnected() 98 dentry->d_flags &= ~DCACHE_DISCONNECTED; in clear_disconnected() 215 while (dentry->d_flags & DCACHE_DISCONNECTED) { in reconnect_path() 445 if (result->d_flags & DCACHE_DISCONNECTED) { in exportfs_decode_fh()
|
/fs/notify/ |
D | fsnotify.c | 78 child->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_update_child_dentry_flags() 80 child->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; in __fsnotify_update_child_dentry_flags() 98 if (!(dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED)) in __fsnotify_parent()
|
/fs/autofs4/ |
D | autofs_i.h | 179 dentry->d_flags |= (DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT); in __managed_dentry_set_managed() 191 dentry->d_flags &= ~(DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT); in __managed_dentry_clear_managed()
|
/fs/ocfs2/ |
D | dcache.c | 403 if (!(dentry->d_flags & DCACHE_DISCONNECTED) && in ocfs2_dentry_iput() 410 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
|
/fs/ecryptfs/ |
D | dentry.c | 53 if (lower_dentry->d_flags & DCACHE_OP_REVALIDATE) in ecryptfs_d_revalidate()
|
/fs/xfs/ |
D | xfs_qm_syscalls.c | 685 dqp->q_core.d_flags == XFS_DQ_USER) || in xfs_qm_scall_getquota() 687 dqp->q_core.d_flags == XFS_DQ_GROUP) || in xfs_qm_scall_getquota() 689 dqp->q_core.d_flags == XFS_DQ_PROJ)) { in xfs_qm_scall_getquota()
|
D | xfs_qm.c | 180 radix_tree_delete(xfs_dquot_tree(qi, dqp->q_core.d_flags), in xfs_qm_dqpurge() 874 ddq->d_flags = type; in xfs_qm_reset_dqcounts() 1644 radix_tree_delete(xfs_dquot_tree(qi, dqp->q_core.d_flags), in xfs_qm_dqfree_one()
|
/fs/sdcardfs/ |
D | dentry.c | 65 if ((lower_dentry->d_flags & DCACHE_OP_REVALIDATE)) { in sdcardfs_d_revalidate()
|
D | inode.c | 198 if (err == -EBUSY && lower_dentry->d_flags & DCACHE_NFSFS_RENAMED) in sdcardfs_unlink()
|
/fs/overlayfs/ |
D | super.c | 351 if (d->d_flags & DCACHE_OP_REVALIDATE) { in ovl_dentry_revalidate() 374 if (d->d_flags & DCACHE_OP_WEAK_REVALIDATE) { in ovl_dentry_weak_revalidate() 408 return dentry->d_flags & in ovl_dentry_remote() 415 return dentry->d_flags & (DCACHE_NEED_AUTOMOUNT | in ovl_dentry_weird()
|
/fs/crypto/ |
D | hooks.c | 105 dentry->d_flags |= DCACHE_ENCRYPTED_WITH_KEY; in __fscrypt_prepare_lookup()
|
D | crypto.c | 337 cached_with_key = dentry->d_flags & DCACHE_ENCRYPTED_WITH_KEY; in fscrypt_d_revalidate()
|
/fs/quota/ |
D | quota.c | 618 dst->d_flags = FS_USER_QUOTA; in copy_to_xfs_dqblk() 620 dst->d_flags = FS_PROJ_QUOTA; in copy_to_xfs_dqblk() 622 dst->d_flags = FS_GROUP_QUOTA; in copy_to_xfs_dqblk()
|
/fs/cifs/ |
D | dir.c | 848 !(direntry->d_flags & DCACHE_NEED_AUTOMOUNT)) { in cifs_d_revalidate() 850 direntry->d_flags |= DCACHE_NEED_AUTOMOUNT; in cifs_d_revalidate()
|
/fs/afs/ |
D | dir.c | 682 dentry->d_flags |= DCACHE_NFSFS_RENAMED; in afs_d_revalidate() 704 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in afs_d_delete()
|
/fs/nfsd/ |
D | nfsfh.c | 269 (dentry->d_flags & DCACHE_DISCONNECTED)) { in nfsd_set_fh_dentry()
|
/fs/fat/ |
D | namei_vfat.c | 717 return IS_ROOT(dentry) && (dentry->d_flags & DCACHE_DISCONNECTED); in vfat_d_anon_disconn()
|