Home
last modified time | relevance | path

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

12

/Linux-v5.4/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()
/Linux-v5.4/fs/
Dfs_types.c11 [FT_DIR] = DT_DIR,
52 [DT_DIR] = FT_DIR,
/Linux-v5.4/include/linux/
Dfs_types.h37 #define DT_DIR 4 macro
/Linux-v5.4/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()
/Linux-v5.4/fs/xfs/
Dxfs_dir2_readdir.c25 DT_UNKNOWN, DT_REG, DT_DIR, DT_CHR, DT_BLK,
86 if (!dir_emit(ctx, ".", 1, dp->i_ino, DT_DIR)) in xfs_dir2_sf_getdents()
96 if (!dir_emit(ctx, "..", 2, ino, DT_DIR)) in xfs_dir2_sf_getdents()
/Linux-v5.4/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_test.c55 if (!(dp->d_type & DT_DIR)) in check_all_cpu_dscr_defaults()
/Linux-v5.4/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()
/Linux-v5.4/fs/jffs2/
Dbuild.c83 if (fd->type == DT_DIR) { in jffs2_build_inode_pass1()
186 if (fd->type == DT_DIR) { in jffs2_build_filesystem()
/Linux-v5.4/fs/squashfs/
Ddir.c27 DT_UNKNOWN, DT_DIR, DT_REG, DT_LNK, DT_BLK, DT_CHR, DT_FIFO, DT_SOCK
/Linux-v5.4/fs/9p/
Dvfs_dir.c57 rettype = DT_DIR; in dt_type()
/Linux-v5.4/fs/xfs/scrub/
Ddir.c56 if (dtype != DT_UNKNOWN && dtype != DT_DIR) in xchk_dir_check_ftype()
130 if (xfs_sb_version_hasftype(&mp->m_sb) && type != DT_DIR) in xchk_dir_actor()
141 if (xfs_sb_version_hasftype(&mp->m_sb) && type != DT_DIR) in xchk_dir_actor()
/Linux-v5.4/fs/freevxfs/
Dvxfs_lookup.c229 if (!dir_emit(ctx, "..", 2, VXFS_INO(ip)->vii_dotdot, DT_DIR)) in vxfs_readdir()
/Linux-v5.4/fs/adfs/
Ddir.c77 if (!dir_emit(ctx, "..", 2, dir.parent_id, DT_DIR)) in adfs_readdir()
/Linux-v5.4/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()
/Linux-v5.4/fs/hpfs/
Ddir.c144 if (!dir_emit(ctx, "..", 2, hpfs_inode->i_parent_dir, DT_DIR)) in hpfs_readdir()
/Linux-v5.4/tools/perf/util/
Dtrace-event-info.c157 if (dent->d_type == DT_DIR && \
Dcpumap.c437 if (dent1->d_type != DT_DIR || sscanf(dent1->d_name, "node%u", &mem) < 1) in cpu__setup_cpunode_map()
/Linux-v5.4/tools/perf/
Dbuiltin-buildid-cache.c98 if (dent->d_type != DT_DIR) in build_id_cache__kcore_existing()
/Linux-v5.4/fs/omfs/
Ddir.c358 d_type = (oi->i_type == OMFS_DIR) ? DT_DIR : DT_REG; in omfs_fill_chain()
/Linux-v5.4/fs/coda/
Ddir.c335 case CDT_DIR: dt = DT_DIR; break; in CDT2DT()
/Linux-v5.4/fs/romfs/
Dsuper.c94 DT_UNKNOWN, DT_DIR, DT_REG, DT_LNK, DT_BLK, DT_CHR, DT_SOCK, DT_FIFO
/Linux-v5.4/fs/gfs2/
Dinode.c413 dent->de_type = cpu_to_be16(DT_DIR); in gfs2_init_dir()
418 dent->de_type = cpu_to_be16(DT_DIR); in gfs2_init_dir()
1325 return gfs2_dir_mvino(ip, &gfs2_qdotdot, ndip, DT_DIR); in update_moved_ino()
/Linux-v5.4/fs/nfs/
Dnfstrace.h17 TRACE_DEFINE_ENUM(DT_DIR);
29 { DT_DIR, "DIR" }, \

12