| /freebsd-14.2/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-14.2/sys/fs/devfs/ |
| H A D | devfs_devs.c | 248 if (de->de_dirent->d_type != DT_DIR) in devfs_parent_dirent() 274 dd->de_dirent->d_type = DT_DIR; in devfs_vmkdir() 290 de->de_dirent->d_type = DT_DIR; in devfs_vmkdir() 297 de->de_dirent->d_type = DT_DIR; in devfs_vmkdir() 341 KASSERT(de->de_dirent->d_type == DT_DIR, in devfs_rmdir_empty() 461 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-14.2/sbin/fsck_ffs/ |
| H A D | pass2.c | 308 if (dirp->d_type != DT_DIR) { in pass2check() 311 dirp->d_type = DT_DIR; in pass2check() 318 proto.d_type = DT_DIR; in pass2check() 355 proto.d_type = DT_DIR; in pass2check() 387 if (dirp->d_type != DT_DIR) { in pass2check() 389 dirp->d_type = DT_DIR; in pass2check()
|
| H A D | dir.c | 57 0, 12, DT_DIR, 1, ".", 58 0, DIRBLKSIZ - 12, DT_DIR, 2, ".." 953 inoinfo(ino)->ino_type = DT_DIR; in allocdir() 974 inoinfo(ino)->ino_type = DT_DIR; in allocdir()
|
| /freebsd-14.2/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-14.2/sys/ufs/ufs/ |
| H A D | dir.h | 93 #define DT_DIR 4 macro
|
| /freebsd-14.2/sys/sys/ |
| H A D | dirent.h | 99 #define DT_DIR 4 macro
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | zpl.h | 160 file_inode(file)->i_ino, DT_DIR) == 0); in zpl_dir_emit_dot() 167 parent_ino(file_dentry(file)), DT_DIR) == 0); in zpl_dir_emit_dotdot()
|
| /freebsd-14.2/stand/libsa/ |
| H A D | ufsread.c | 128 dt = DT_DIR; in lookup() 140 if (dt != DT_DIR) { in lookup()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zpl_ctldir.c | 68 strlen(ZFS_SNAPDIR_NAME), ZFSCTL_INO_SNAPDIR, DT_DIR)) in zpl_root_iterate() 76 strlen(ZFS_SHAREDIR_NAME), ZFSCTL_INO_SHARES, DT_DIR)) in zpl_root_iterate() 288 ZFSCTL_INO_SHARES - id, DT_DIR)) in zpl_snapdir_iterate()
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | kinfo2.sh | 143 if (dp->d_type == DT_DIR &&
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/ |
| H A D | OProfileWrapper.cpp | 127 if (Entry->d_type == DT_DIR) { in checkForOProfileProcEntry()
|
| /freebsd-14.2/sbin/newfs/ |
| H A D | mkfs.c | 894 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 1, "." }, 895 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." }, 896 { UFS_ROOTINO + 1, sizeof(struct direct), DT_DIR, 5, ".snap" }, 902 { UFS_ROOTINO + 1, sizeof(struct direct), DT_DIR, 1, "." }, 903 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." },
|
| /freebsd-14.2/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-14.2/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() 1099 entry.d_type = DT_DIR; in zfsctl_snapdir_readdir()
|
| /freebsd-14.2/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-14.2/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-14.2/lib/libpam/modules/pam_xdg/ |
| H A D | pam_xdg.c | 189 if (dp->d_type == DT_DIR) { in remove_dir()
|
| /freebsd-14.2/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-14.2/libexec/flua/modules/ |
| H A D | lfs.c | 444 lua_pushinteger(L, DT_DIR); in luaopen_lfs()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | file_descriptor.h | 49 case DT_DIR: in get_file_type()
|
| /freebsd-14.2/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-14.2/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-14.2/stand/lua/ |
| H A D | core.lua | 256 if ftype ~= lfs.DT_DIR then
|
| /freebsd-14.2/lib/libc/gen/ |
| H A D | fts.c | 801 #ifdef DT_DIR in fts_build() 803 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
|