Home
last modified time | relevance | path

Searched refs:DT_DIR (Results 1 – 25 of 65) sorted by relevance

123

/kernel/linux/linux-5.10/fs/hmdfs/
Dfile_root.c84 DT_DIR); in hmdfs_device_iterate()
93 DT_DIR); in hmdfs_device_iterate()
116 strlen(remote_device_name), ino_start++, DT_DIR)) in hmdfs_device_iterate()
144 sizeof(DEVICE_VIEW_ROOT) - 1, ino_start, DT_DIR)) in hmdfs_root_iterate()
151 ino_start, DT_DIR)) in hmdfs_root_iterate()
158 ino_start, DT_DIR)) in hmdfs_root_iterate()
Dfile_merge.c243 if (d_type == DT_DIR && insert_res == DT_DIR) { in hmdfs_actor_merge()
245 } else if (d_type == DT_DIR && in hmdfs_actor_merge()
252 cache_entry->file_type = DT_DIR; in hmdfs_actor_merge()
272 if (ret && d_type == DT_DIR && cache_entry->file_type == DT_DIR && in hmdfs_actor_merge()
Dinode_merge.c312 return DT_DIR; in check_filename()
379 mdi->type = S_ISDIR(mode) ? DT_DIR : DT_REG; in is_valid_comrade()
383 if (mdi->type == DT_DIR && S_ISDIR(mode)) { in is_valid_comrade()
472 else if (*type == DT_DIR) in hmdfs_get_real_dname()
Dfile_cloud.c228 file_type = DT_DIR; in analysis_dentry_file_from_cloud()
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
Dread.c80 assert(de->d_type == DT_DIR); in f()
84 assert(de->d_type == DT_DIR); in f()
106 case DT_DIR: in f()
Dfd-001-lookup.c116 assert(de->d_type == DT_DIR); in main()
120 assert(de->d_type == DT_DIR); in main()
Dfd-003-kthread.c106 assert(de->d_type == DT_DIR); in test_readdir()
110 assert(de->d_type == DT_DIR); in test_readdir()
/kernel/linux/linux-5.10/fs/
Dfs_types.c11 [FT_DIR] = DT_DIR,
52 [DT_DIR] = FT_DIR,
/kernel/linux/linux-5.10/include/linux/
Dfs_types.h37 #define DT_DIR 4 macro
/kernel/liteos_m/kal/libc/newlib/porting/include/
Ddirent.h48 #define DT_DIR 4 macro
/kernel/linux/linux-5.10/fs/openpromfs/
Dinode.c277 if (!dir_emit(ctx, ".", 1, inode->i_ino, DT_DIR)) in openpromfs_readdir()
285 dp->parent->unique_id), DT_DIR)) in openpromfs_readdir()
301 child->unique_id, DT_DIR)) in openpromfs_readdir()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_test.c56 if (!(dp->d_type & DT_DIR)) in check_all_cpu_dscr_defaults()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_dir2_readdir.c26 DT_UNKNOWN, DT_REG, DT_DIR, DT_CHR, DT_BLK,
88 if (!dir_emit(ctx, ".", 1, dp->i_ino, DT_DIR)) in xfs_dir2_sf_getdents()
98 if (!dir_emit(ctx, "..", 2, ino, DT_DIR)) in xfs_dir2_sf_getdents()
/kernel/linux/linux-5.10/fs/hfs/
Ddir.c94 be32_to_cpu(entry.thread.ParID), DT_DIR)) in hfs_readdir()
126 be32_to_cpu(entry.dir.DirID), DT_DIR)) in hfs_readdir()
/kernel/linux/linux-5.10/fs/jffs2/
Dbuild.c83 if (fd->type == DT_DIR) { in jffs2_build_inode_pass1()
186 if (fd->type == DT_DIR) { in jffs2_build_filesystem()
/kernel/linux/linux-5.10/fs/squashfs/
Ddir.c27 DT_UNKNOWN, DT_DIR, DT_REG, DT_LNK, DT_BLK, DT_CHR, DT_FIFO, DT_SOCK
/kernel/linux/linux-5.10/fs/9p/
Dvfs_dir.c57 rettype = DT_DIR; in dt_type()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Ddir.c56 if (dtype != DT_UNKNOWN && dtype != DT_DIR) in xchk_dir_check_ftype()
133 if (xfs_sb_version_hasftype(&mp->m_sb) && type != DT_DIR) in xchk_dir_actor()
144 if (xfs_sb_version_hasftype(&mp->m_sb) && type != DT_DIR) in xchk_dir_actor()
/kernel/linux/linux-5.10/fs/freevxfs/
Dvxfs_lookup.c229 if (!dir_emit(ctx, "..", 2, VXFS_INO(ip)->vii_dotdot, DT_DIR)) in vxfs_readdir()
/kernel/linux/linux-5.10/fs/hfsplus/
Ddir.c182 be32_to_cpu(entry.thread.parentID), DT_DIR)) in hfsplus_readdir()
222 be32_to_cpu(entry.folder.id), DT_DIR)) in hfsplus_readdir()
/kernel/linux/linux-5.10/fs/hpfs/
Ddir.c144 if (!dir_emit(ctx, "..", 2, hpfs_inode->i_parent_dir, DT_DIR)) in hpfs_readdir()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-buildid-cache.c98 if (dent->d_type != DT_DIR) in build_id_cache__kcore_existing()
/kernel/linux/linux-5.10/tools/perf/util/
Dtrace-event-info.c157 if (dent->d_type == DT_DIR && \
Dcpumap.c455 if (dent1->d_type != DT_DIR || sscanf(dent1->d_name, "node%u", &mem) < 1) in cpu__setup_cpunode_map()
/kernel/linux/linux-5.10/fs/cifs/
Dreaddir.c181 fattr->cf_dtype = DT_DIR; in cifs_fill_common_info()
279 fattr->cf_dtype = DT_DIR; in cifs_posix_to_fattr()

123