/freebsd/tests/sys/fs/fusefs/ |
H A D | readdir.cc | 82 ents[0].d_type = DT_DIR; in TEST_F() 87 ents[1].d_type = DT_DIR; in TEST_F() 100 EXPECT_EQ(DT_DIR, de->d_type); in TEST_F() 108 EXPECT_EQ(DT_DIR, de->d_type); in TEST_F() 208 ents0[0].d_type = DT_DIR; in TEST_F() 214 ents0[1].d_type = DT_DIR; in TEST_F() 218 ents1[0].d_type = DT_DIR; in TEST_F()
|
/freebsd/sys/fs/devfs/ |
H A D | devfs_devs.c | 251 if (de->de_dirent->d_type != DT_DIR) in devfs_parent_dirent() 277 dd->de_dirent->d_type = DT_DIR; in devfs_vmkdir() 293 de->de_dirent->d_type = DT_DIR; in devfs_vmkdir() 300 de->de_dirent->d_type = DT_DIR; in devfs_vmkdir() 344 KASSERT(de->de_dirent->d_type == DT_DIR, in devfs_rmdir_empty() 464 else if (de->de_dirent->d_type == DT_DIR) in devfs_purge() 596 de = devfs_find(dd, s, q - s, DT_DIR); in devfs_populate_loop() 603 KASSERT(dd->de_dirent->d_type == DT_DIR && in devfs_populate_loop()
|
/freebsd/sbin/fsck_ffs/ |
H A D | pass2.c | 302 if (dirp->d_type != DT_DIR) { in pass2check() 305 dirp->d_type = DT_DIR; in pass2check() 312 proto.d_type = DT_DIR; in pass2check() 349 proto.d_type = DT_DIR; in pass2check() 381 if (dirp->d_type != DT_DIR) { in pass2check() 383 dirp->d_type = DT_DIR; in pass2check()
|
H A D | dir.c | 51 0, 12, DT_DIR, 1, ".", 52 0, DIRBLKSIZ - 12, DT_DIR, 2, ".." 947 inoinfo(ino)->ino_type = DT_DIR; in allocdir() 968 inoinfo(ino)->ino_type = DT_DIR; in allocdir()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerIOPosix.cpp | 71 else if ((E->d_type == DT_DIR || in ListFilesInDirRecursive() 93 else if ((E->d_type == DT_DIR || in IterateDirRecursive()
|
/freebsd/sys/ufs/ufs/ |
H A D | dir.h | 91 #define DT_DIR 4 macro
|
/freebsd/sys/sys/ |
H A D | dirent.h | 97 #define DT_DIR 4 macro
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zpl_ctldir.c | 72 strlen(ZFS_SNAPDIR_NAME), ZFSCTL_INO_SNAPDIR, DT_DIR)) in zpl_root_iterate() 80 strlen(ZFS_SHAREDIR_NAME), ZFSCTL_INO_SHARES, DT_DIR)) in zpl_root_iterate() 273 ZFSCTL_INO_SHARES - id, DT_DIR)) in zpl_snapdir_iterate()
|
/freebsd/stand/libsa/ |
H A D | ufsread.c | 128 dt = DT_DIR; in lookup() 140 if (dt != DT_DIR) { in lookup()
|
/freebsd/tools/test/stress2/misc/ |
H A D | kinfo2.sh | 143 if (dp->d_type == DT_DIR &&
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/ |
H A D | OProfileWrapper.cpp | 127 if (Entry->d_type == DT_DIR) { in checkForOProfileProcEntry()
|
/freebsd/sbin/newfs/ |
H A D | mkfs.c | 884 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 1, "." }, 885 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." }, 886 { UFS_ROOTINO + 1, sizeof(struct direct), DT_DIR, 5, ".snap" }, 892 { UFS_ROOTINO + 1, sizeof(struct direct), DT_DIR, 1, "." }, 893 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." },
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_vnops.c | 346 cde.d_type = DT_DIR; in tarfs_readdir() 369 cde.d_type = DT_DIR; in tarfs_readdir() 413 cde.d_type = DT_DIR; in tarfs_readdir()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_ctldir.c | 274 entry.d_type = DT_DIR; in sfs_readdir_common() 288 entry.d_type = DT_DIR; in sfs_readdir_common() 706 entry.d_type = DT_DIR; in zfsctl_root_readdir() 1095 entry.d_type = DT_DIR; in zfsctl_snapdir_readdir()
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_glob.c | 135 dir.d_type = f->dir ? DT_DIR : DT_REG; in gl_readdir()
|
/freebsd/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_project.c | 247 if (!ret && zpc->zpc_recursive && ent->d_type == DT_DIR) in zfs_project_handle_dir()
|
/freebsd/lib/libpam/modules/pam_xdg/ |
H A D | pam_xdg.c | 189 if (dp->d_type == DT_DIR) { in remove_dir()
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_io.c | 107 de.d_type = DT_DIR; in smbfs_readvdir() 155 de.d_type = (ctx->f_attr.fa_attr & SMB_FA_DIR) ? DT_DIR : DT_REG; in smbfs_readvdir()
|
/freebsd/libexec/flua/modules/ |
H A D | lfs.c | 444 lua_pushinteger(L, DT_DIR); in luaopen_lfs()
|
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | file_descriptor.h | 49 case DT_DIR: in get_file_type()
|
/freebsd/sys/fs/udf/ |
H A D | udf_vnops.c | 836 dir.d_type = DT_DIR; in udf_readdir() 848 dir.d_type = DT_DIR; in udf_readdir() 862 DT_DIR : DT_UNKNOWN; in udf_readdir()
|
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/ |
H A D | zutil_device_path_os.c | 471 if (ep->d_type != DT_DIR) { /* skip "." and ".." dirs */ in dm_get_underlying_path()
|
/freebsd/stand/lua/ |
H A D | core.lua | 258 if ftype ~= lfs.DT_DIR then
|
/freebsd/lib/libc/gen/ |
H A D | fts-compat11.c | 801 #ifdef DT_DIR in fts_build() 803 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
|
H A D | fts.c | 800 #ifdef DT_DIR in fts_build() 802 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
|