/linux-5.19.10/fs/overlayfs/ |
D | export.c | 207 if (d_is_dir(dentry) && ovl_upper_mnt(ofs)) in ovl_check_encode_origin() 297 if (d_is_dir(upper ?: lower)) in ovl_obtain_alias() 458 if (!this && layer->idx && ofs->indexdir && !WARN_ON(!d_is_dir(real))) { in ovl_lookup_real_inode() 666 if (!d_is_dir(real)) in ovl_get_dentry() 716 if (!d_is_dir(origin.dentry) || in ovl_lower_fh_to_d() 741 if (index && d_is_dir(index)) { in ovl_lower_fh_to_d() 754 if (d_is_dir(origin.dentry)) { in ovl_lower_fh_to_d()
|
D | util.c | 142 if (d_is_dir(dentry) || in ovl_path_type() 201 WARN_ON_ONCE(d_is_dir(dentry)); in ovl_path_realdata() 458 WARN_ON(!d_is_dir(dentry)); in ovl_dir_version_inc() 600 if (!d_is_dir(path->dentry)) in ovl_path_check_dir_xattr() 813 if (!d_is_dir(lower) && d_inode(lower)->i_nlink > 1) in ovl_need_index() 919 if (d_is_dir(dentry) || !ovl_test_flag(OVL_INDEX, inode)) in ovl_nlink_start()
|
D | dir.c | 31 if (d_is_dir(wdentry)) in ovl_cleanup() 122 if (d_is_dir(dentry)) in ovl_cleanup_and_whiteout() 343 if (ovl_type_merge(dentry->d_parent) && d_is_dir(newdentry) && in ovl_create_upper() 959 !d_is_dir(dentry) || !ovl_type_merge_or_lower(dentry); in ovl_can_move() 1029 if (d_is_dir(dentry)) in ovl_need_absolute_redirect() 1095 bool is_dir = d_is_dir(old); in ovl_rename() 1096 bool new_is_dir = d_is_dir(new); in ovl_rename()
|
D | namei.c | 71 if (!d_is_dir(dentry)) in ovl_acceptable() 495 if (!d_is_dir(index)) in ovl_index_upper() 508 if (!d_is_dir(upper)) { in ovl_index_upper() 565 if (d_is_dir(index) && !ofs->config.nfs_export) in ovl_verify_index() 597 if (!d_is_dir(index) && d_inode(index)->i_nlink == 1) { in ovl_verify_index() 706 bool is_dir = d_is_dir(origin); in ovl_lookup_index()
|
D | inode.c | 1043 if (!d_is_dir(dir)) in ovl_get_trap_inode() 1086 !d_is_dir(lower) && d_inode(lower)->i_nlink > 1) in ovl_hash_bylower()
|
D | copy_up.c | 469 if (WARN_ON(!d_is_dir(dentry))) in ovl_create_index() 1025 if (WARN_ON(disconnected && d_is_dir(dentry))) in ovl_copy_up_flags()
|
D | file.c | 135 if (d_is_dir(file_dentry(file))) { in ovl_real_fdget()
|
/linux-5.19.10/fs/jffs2/ |
D | dir.c | 259 if (d_is_dir(old_dentry)) in jffs2_link() 786 if (d_is_dir(new_dentry)) { in jffs2_rename() 821 if (d_is_dir(new_dentry)) in jffs2_rename() 829 if (d_is_dir(new_dentry)) in jffs2_rename() 839 if (d_is_dir(old_dentry) && !victim_f) in jffs2_rename() 853 if (f->inocache && !d_is_dir(old_dentry)) in jffs2_rename() 871 if (d_is_dir(old_dentry)) in jffs2_rename()
|
D | super.c | 140 BUG_ON(!d_is_dir(child)); in jffs2_get_parent()
|
/linux-5.19.10/security/landlock/ |
D | fs.c | 173 if (!d_is_dir(path->dentry) && in landlock_append_fs_rule() 529 child1_is_directory = d_is_dir(dentry_child1); in check_access_path_dual() 537 child2_is_directory = d_is_dir(dentry_child2); in check_access_path_dual() 696 return d_is_dir(dentry) ? LANDLOCK_ACCESS_FS_REMOVE_DIR : in maybe_remove()
|
/linux-5.19.10/fs/ |
D | libfs.c | 277 if (d_is_dir(this)) in simple_recursive_removal() 291 if (d_is_dir(victim)) in simple_recursive_removal() 302 if (d_is_dir(dentry)) in simple_recursive_removal() 454 bool old_is_dir = d_is_dir(old_dentry); in simple_rename_exchange() 455 bool new_is_dir = d_is_dir(new_dentry); in simple_rename_exchange() 480 int they_are_dirs = d_is_dir(old_dentry); in simple_rename()
|
D | namei.c | 2967 if (!d_is_dir(victim)) in may_delete() 2971 } else if (d_is_dir(victim)) in may_delete() 3498 if (d_is_dir(nd->path.dentry)) in do_open() 4293 else if (d_is_dir(dentry)) in do_unlinkat() 4634 bool is_dir = d_is_dir(old_dentry); in vfs_rename() 4651 new_is_dir = d_is_dir(new_dentry); in vfs_rename() 4837 if (!d_is_dir(new_dentry)) { in do_renameat2() 4844 if (!d_is_dir(old_dentry)) { in do_renameat2()
|
D | namespace.c | 2333 if (d_is_dir(mp->m_dentry) != in graft_tree() 2334 d_is_dir(mnt->mnt.mnt_root)) in graft_tree() 2862 if (d_is_dir(new_path->dentry) != in do_move_mount() 2863 d_is_dir(old_path->dentry)) in do_move_mount()
|
/linux-5.19.10/security/ |
D | inode.c | 305 if (d_is_dir(dentry)) in securityfs_remove()
|
/linux-5.19.10/fs/nfsd/ |
D | nfsfh.c | 136 if (unlikely(!d_is_dir(dentry) && in check_pseudo_root() 272 if (d_is_dir(dentry) && in nfsd_set_fh_dentry()
|
/linux-5.19.10/fs/debugfs/ |
D | inode.c | 354 if (d_is_dir(dentry)) in start_creating() 825 d_is_dir(old_dentry), in debugfs_rename()
|
/linux-5.19.10/include/linux/ |
D | dcache.h | 408 static inline bool d_is_dir(const struct dentry *dentry) in d_is_dir() function
|
/linux-5.19.10/fs/reiserfs/ |
D | xattr.c | 277 if (!d_is_dir(dentry)) in reiserfs_for_each_xattr() 337 if (d_is_dir(dentry)) in delete_one_xattr()
|
/linux-5.19.10/fs/exportfs/ |
D | expfs.c | 449 if (d_is_dir(result)) { in exportfs_decode_fh_raw()
|
/linux-5.19.10/arch/s390/hypfs/ |
D | inode.c | 74 if (d_is_dir(dentry)) in hypfs_remove()
|
/linux-5.19.10/fs/coda/ |
D | dir.c | 316 if (d_is_dir(new_dentry)) { in coda_rename()
|
/linux-5.19.10/fs/ceph/ |
D | export.c | 370 if (!d_is_dir(child)) { in ceph_get_parent()
|
/linux-5.19.10/fs/hfsplus/ |
D | dir.c | 544 if (d_is_dir(new_dentry)) in hfsplus_rename()
|
/linux-5.19.10/fs/cachefiles/ |
D | namei.c | 293 if (!d_is_dir(rep)) { in cachefiles_bury_object()
|
/linux-5.19.10/security/tomoyo/ |
D | file.c | 928 if (!d_is_dir(path1->dentry)) in tomoyo_path2_perm()
|