Home
last modified time | relevance | path

Searched refs:d_is_dir (Results 1 – 25 of 40) sorted by relevance

12

/linux-5.19.10/fs/overlayfs/
Dexport.c207 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()
Dutil.c142 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()
Ddir.c31 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()
Dnamei.c71 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()
Dinode.c1043 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()
Dcopy_up.c469 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()
Dfile.c135 if (d_is_dir(file_dentry(file))) { in ovl_real_fdget()
/linux-5.19.10/fs/jffs2/
Ddir.c259 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()
Dsuper.c140 BUG_ON(!d_is_dir(child)); in jffs2_get_parent()
/linux-5.19.10/security/landlock/
Dfs.c173 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/
Dlibfs.c277 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()
Dnamei.c2967 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()
Dnamespace.c2333 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/
Dinode.c305 if (d_is_dir(dentry)) in securityfs_remove()
/linux-5.19.10/fs/nfsd/
Dnfsfh.c136 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/
Dinode.c354 if (d_is_dir(dentry)) in start_creating()
825 d_is_dir(old_dentry), in debugfs_rename()
/linux-5.19.10/include/linux/
Ddcache.h408 static inline bool d_is_dir(const struct dentry *dentry) in d_is_dir() function
/linux-5.19.10/fs/reiserfs/
Dxattr.c277 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/
Dexpfs.c449 if (d_is_dir(result)) { in exportfs_decode_fh_raw()
/linux-5.19.10/arch/s390/hypfs/
Dinode.c74 if (d_is_dir(dentry)) in hypfs_remove()
/linux-5.19.10/fs/coda/
Ddir.c316 if (d_is_dir(new_dentry)) { in coda_rename()
/linux-5.19.10/fs/ceph/
Dexport.c370 if (!d_is_dir(child)) { in ceph_get_parent()
/linux-5.19.10/fs/hfsplus/
Ddir.c544 if (d_is_dir(new_dentry)) in hfsplus_rename()
/linux-5.19.10/fs/cachefiles/
Dnamei.c293 if (!d_is_dir(rep)) { in cachefiles_bury_object()
/linux-5.19.10/security/tomoyo/
Dfile.c928 if (!d_is_dir(path1->dentry)) in tomoyo_path2_perm()

12