| /freebsd-13.1/tests/sys/fs/fusefs/ |
| H A D | readdir.cc | 84 ents[0].d_type = DT_DIR; in TEST_F() 89 ents[1].d_type = DT_DIR; in TEST_F() 102 EXPECT_EQ(DT_DIR, de->d_type); in TEST_F() 110 EXPECT_EQ(DT_DIR, de->d_type); in TEST_F() 210 ents0[0].d_type = DT_DIR; in TEST_F() 216 ents0[1].d_type = DT_DIR; in TEST_F() 220 ents1[0].d_type = DT_DIR; in TEST_F()
|
| /freebsd-13.1/sys/fs/devfs/ |
| H A D | devfs_devs.c | 247 if (de->de_dirent->d_type != DT_DIR) in devfs_parent_dirent() 273 dd->de_dirent->d_type = DT_DIR; in devfs_vmkdir() 289 de->de_dirent->d_type = DT_DIR; in devfs_vmkdir() 296 de->de_dirent->d_type = DT_DIR; in devfs_vmkdir() 340 KASSERT(de->de_dirent->d_type == DT_DIR, in devfs_rmdir_empty() 465 else if (de->de_dirent->d_type == DT_DIR) in devfs_purge() 593 de = devfs_find(dd, s, q - s, DT_DIR); in devfs_populate_loop() 600 KASSERT(dd->de_dirent->d_type == DT_DIR && in devfs_populate_loop()
|
| /freebsd-13.1/sbin/fsck_ffs/ |
| H A D | pass2.c | 308 if (dirp->d_type != DT_DIR) { in pass2check() 310 dirp->d_type = DT_DIR; in pass2check() 318 proto.d_type = DT_DIR; in pass2check() 349 proto.d_type = DT_DIR; in pass2check() 367 if (dirp->d_type != DT_DIR) { in pass2check() 369 dirp->d_type = DT_DIR; in pass2check()
|
| H A D | dir.c | 59 0, 12, DT_DIR, 1, ".", 60 0, DIRBLKSIZ - 12, DT_DIR, 2, ".."
|
| /freebsd-13.1/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | zpl.h | 146 file_inode(file)->i_ino, DT_DIR) == 0); in zpl_dir_emit_dot() 153 parent_ino(file_dentry(file)), DT_DIR) == 0); in zpl_dir_emit_dotdot()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerIOPosix.cpp | 71 else if ((E->d_type == DT_DIR || in ListFilesInDirRecursive() 94 else if ((E->d_type == DT_DIR || in IterateDirRecursive()
|
| /freebsd-13.1/sys/sys/ |
| H A D | dirent.h | 100 #define DT_DIR 4 macro
|
| /freebsd-13.1/sys/ufs/ufs/ |
| H A D | dir.h | 94 #define DT_DIR 4 macro
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zpl_ctldir.c | 65 strlen(ZFS_SNAPDIR_NAME), ZFSCTL_INO_SNAPDIR, DT_DIR)) in zpl_root_iterate() 73 strlen(ZFS_SHAREDIR_NAME), ZFSCTL_INO_SHARES, DT_DIR)) in zpl_root_iterate() 272 ZFSCTL_INO_SHARES - id, DT_DIR)) in zpl_snapdir_iterate()
|
| /freebsd-13.1/stand/libsa/ |
| H A D | ufsread.c | 131 dt = DT_DIR; in lookup() 143 if (dt != DT_DIR) { in lookup()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/ |
| H A D | OProfileWrapper.cpp | 127 if (Entry->d_type == DT_DIR) { in checkForOProfileProcEntry()
|
| /freebsd-13.1/sbin/newfs/ |
| H A D | mkfs.c | 856 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 1, "." }, 857 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." }, 858 { UFS_ROOTINO + 1, sizeof(struct direct), DT_DIR, 5, ".snap" }, 864 { UFS_ROOTINO + 1, sizeof(struct direct), DT_DIR, 1, "." }, 865 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." },
|
| /freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_ctldir.c | 270 entry.d_type = DT_DIR; in sfs_readdir_common() 284 entry.d_type = DT_DIR; in sfs_readdir_common() 690 entry.d_type = DT_DIR; in zfsctl_root_readdir() 1077 entry.d_type = DT_DIR; in zfsctl_snapdir_readdir()
|
| /freebsd-13.1/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-13.1/sys/contrib/openzfs/cmd/zfs/ |
| H A D | zfs_project.c | 243 if (!ret && zpc->zpc_recursive && ent->d_type == DT_DIR) in zfs_project_handle_dir()
|
| /freebsd-13.1/contrib/apr/file_io/unix/ |
| H A D | dir.c | 120 case DT_DIR: in filetype_from_dirent_type()
|
| /freebsd-13.1/sys/fs/smbfs/ |
| H A D | smbfs_io.c | 109 de.d_type = DT_DIR; in smbfs_readvdir() 157 de.d_type = (ctx->f_attr.fa_attr & SMB_FA_DIR) ? DT_DIR : DT_REG; in smbfs_readvdir()
|
| /freebsd-13.1/libexec/flua/modules/ |
| H A D | lfs.c | 446 lua_pushinteger(L, DT_DIR); in luaopen_lfs()
|
| /freebsd-13.1/sys/fs/udf/ |
| H A D | udf_vnops.c | 844 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-13.1/stand/lua/ |
| H A D | core.lua | 258 if ftype ~= lfs.DT_DIR then
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_device_path_os.c | 464 if (ep->d_type != DT_DIR) { /* skip "." and ".." dirs */ in dm_get_underlying_path()
|
| /freebsd-13.1/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | directory_iterator.cpp | 37 case DT_DIR: in get_file_type()
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | fts.c | 787 #ifdef DT_DIR in fts_build() 789 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
|
| H A D | fts-compat11.c | 791 #ifdef DT_DIR in fts_build() 793 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
|
| H A D | fts-compat.c | 808 #ifdef DT_DIR in fts_build() 810 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
|