Home
last modified time | relevance | path

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

12

/fs/
Ddcache.c314 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 …]
Ddcookies.c103 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()
Dnamei.c817 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 …]
Dnsfs.c93 dentry->d_flags |= DCACHE_RCUACCESS; in __ns_get_path()
/fs/nfs/
Dunlink.c136 !(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()
Dgetroot.c124 !(ret->d_flags & DCACHE_NFSFS_RENAMED)) { in nfs_get_root()
Ddir.c1307 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/
Dxfs_dquot_buf.c92 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/
Dexpfs.c75 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/
Dfsnotify.c78 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/
Dautofs_i.h179 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/
Ddcache.c403 if (!(dentry->d_flags & DCACHE_DISCONNECTED) && in ocfs2_dentry_iput()
410 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
/fs/ecryptfs/
Ddentry.c53 if (lower_dentry->d_flags & DCACHE_OP_REVALIDATE) in ecryptfs_d_revalidate()
/fs/xfs/
Dxfs_qm_syscalls.c685 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()
Dxfs_qm.c180 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/
Ddentry.c65 if ((lower_dentry->d_flags & DCACHE_OP_REVALIDATE)) { in sdcardfs_d_revalidate()
Dinode.c198 if (err == -EBUSY && lower_dentry->d_flags & DCACHE_NFSFS_RENAMED) in sdcardfs_unlink()
/fs/overlayfs/
Dsuper.c351 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/
Dhooks.c105 dentry->d_flags |= DCACHE_ENCRYPTED_WITH_KEY; in __fscrypt_prepare_lookup()
Dcrypto.c337 cached_with_key = dentry->d_flags & DCACHE_ENCRYPTED_WITH_KEY; in fscrypt_d_revalidate()
/fs/quota/
Dquota.c618 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/
Ddir.c848 !(direntry->d_flags & DCACHE_NEED_AUTOMOUNT)) { in cifs_d_revalidate()
850 direntry->d_flags |= DCACHE_NEED_AUTOMOUNT; in cifs_d_revalidate()
/fs/afs/
Ddir.c682 dentry->d_flags |= DCACHE_NFSFS_RENAMED; in afs_d_revalidate()
704 if (dentry->d_flags & DCACHE_NFSFS_RENAMED) in afs_d_delete()
/fs/nfsd/
Dnfsfh.c269 (dentry->d_flags & DCACHE_DISCONNECTED)) { in nfsd_set_fh_dentry()
/fs/fat/
Dnamei_vfat.c717 return IS_ROOT(dentry) && (dentry->d_flags & DCACHE_DISCONNECTED); in vfat_d_anon_disconn()

12