Home
last modified time | relevance | path

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

12

/freebsd-12.1/sys/fs/devfs/
H A Ddevfs_devs.c244 if (de->de_dirent->d_type != DT_DIR) in devfs_parent_dirent()
270 dd->de_dirent->d_type = DT_DIR; in devfs_vmkdir()
286 de->de_dirent->d_type = DT_DIR; in devfs_vmkdir()
293 de->de_dirent->d_type = DT_DIR; in devfs_vmkdir()
337 KASSERT(de->de_dirent->d_type == DT_DIR, in devfs_rmdir_empty()
462 else if (de->de_dirent->d_type == DT_DIR) in devfs_purge()
592 de = devfs_find(dd, s, q - s, DT_DIR); in devfs_populate_loop()
599 KASSERT(dd->de_dirent->d_type == DT_DIR && in devfs_populate_loop()
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dreaddir.cc83 ents[0].d_type = DT_DIR; in TEST_F()
88 ents[1].d_type = DT_DIR; in TEST_F()
106 EXPECT_EQ(DT_DIR, de->d_type); in TEST_F()
115 EXPECT_EQ(DT_DIR, de->d_type); in TEST_F()
/freebsd-12.1/sbin/fsck_ffs/
H A Dpass2.c302 if (dirp->d_type != DT_DIR) { in pass2check()
304 dirp->d_type = DT_DIR; in pass2check()
312 proto.d_type = DT_DIR; in pass2check()
343 proto.d_type = DT_DIR; in pass2check()
361 if (dirp->d_type != DT_DIR) { in pass2check()
363 dirp->d_type = DT_DIR; in pass2check()
H A Ddir.c59 0, 12, DT_DIR, 1, ".",
60 0, DIRBLKSIZ - 12, DT_DIR, 2, ".."
/freebsd-12.1/usr.sbin/ctm/mkCTM/
H A Dmkctm.c146 if (de->d_type == DT_DIR) { in Equ()
307 if (de->d_type == DT_DIR) { in Add()
347 if (de->d_type == DT_DIR) { in Del()
418 if (nl[*i]->d_type == DT_REG || nl[*i]->d_type == DT_DIR) in GetNext()
/freebsd-12.1/sys/sys/
H A Ddirent.h100 #define DT_DIR 4 macro
/freebsd-12.1/sys/ufs/ufs/
H A Ddir.h94 #define DT_DIR 4 macro
/freebsd-12.1/sys/fs/nandfs/
H A Dnandfs_dir.c309 if (nandfs_add_dirent(dvp, parent_ino, "..", 2, DT_DIR) || in nandfs_init_dir()
310 nandfs_add_dirent(dvp, ino, ".", 1, DT_DIR)) { in nandfs_init_dir()
/freebsd-12.1/stand/libsa/
H A Dufsread.c131 dt = DT_DIR; in lookup()
143 if (dt != DT_DIR) { in lookup()
/freebsd-12.1/contrib/compiler-rt/lib/fuzzer/
H A DFuzzerIOPosix.cpp72 else if ((E->d_type == DT_DIR || in ListFilesInDirRecursive()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp128 if (Entry->d_type == DT_DIR) { in checkForOProfileProcEntry()
/freebsd-12.1/sbin/newfs/
H A Dmkfs.c848 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 1, "." },
849 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." },
850 { UFS_ROOTINO + 1, sizeof(struct direct), DT_DIR, 5, ".snap" },
856 { UFS_ROOTINO + 1, sizeof(struct direct), DT_DIR, 1, "." },
857 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." },
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_ctldir.c263 entry.d_type = DT_DIR; in sfs_readdir_common()
277 entry.d_type = DT_DIR; in sfs_readdir_common()
693 entry.d_type = DT_DIR;
1093 entry.d_type = DT_DIR;
/freebsd-12.1/contrib/netbsd-tests/lib/libc/gen/
H A Dt_glob.c135 dir.d_type = f->dir ? DT_DIR : DT_REG; in gl_readdir()
/freebsd-12.1/contrib/apr/file_io/unix/
H A Ddir.c111 case DT_DIR: in filetype_from_dirent_type()
/freebsd-12.1/sys/fs/smbfs/
H A Dsmbfs_io.c110 de.d_type = DT_DIR; in smbfs_readvdir()
158 de.d_type = (ctx->f_attr.fa_attr & SMB_FA_DIR) ? DT_DIR : DT_REG; in smbfs_readvdir()
/freebsd-12.1/sys/fs/udf/
H A Dudf_vnops.c844 dir.d_type = DT_DIR; in udf_readdir()
856 dir.d_type = DT_DIR; in udf_readdir()
870 DT_DIR : DT_UNKNOWN; in udf_readdir()
/freebsd-12.1/contrib/libc++/src/filesystem/
H A Ddirectory_iterator.cpp35 case DT_DIR: in get_file_type()
/freebsd-12.1/lib/libc/gen/
H A Dfts-compat11.c791 #ifdef DT_DIR in fts_build()
793 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
H A Dfts.c787 #ifdef DT_DIR in fts_build()
789 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
H A Dfts-compat.c809 #ifdef DT_DIR in fts_build()
811 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
/freebsd-12.1/usr.sbin/cpucontrol/
H A Dcpucontrol.c462 if (direntry->d_type == DT_DIR) in do_update()
/freebsd-12.1/sys/fs/tmpfs/
H A Dtmpfs_subr.c1126 dent.d_type = DT_DIR; in tmpfs_dir_getdotdent()
1173 dent.d_type = DT_DIR; in tmpfs_dir_getdotdotdent()
1276 d.d_type = DT_DIR; in tmpfs_dir_getdents()
/freebsd-12.1/sbin/newfs_nandfs/
H A Dnewfs_nandfs.c638 de->file_type = DT_DIR; in make_dir()
647 de->file_type = DT_DIR; in make_dir()
/freebsd-12.1/sbin/restore/
H A Dinteractive.c626 case DT_DIR: in mkentry()

12