Home
last modified time | relevance | path

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

123

/freebsd/tests/sys/fs/fusefs/
H A Dreaddir.cc82 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 Ddevfs_devs.c251 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 Dpass2.c302 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 Ddir.c51 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 DFuzzerIOPosix.cpp71 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 Ddir.h91 #define DT_DIR 4 macro
/freebsd/sys/sys/
H A Ddirent.h97 #define DT_DIR 4 macro
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_ctldir.c72 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 Dufsread.c128 dt = DT_DIR; in lookup()
140 if (dt != DT_DIR) { in lookup()
/freebsd/tools/test/stress2/misc/
H A Dkinfo2.sh143 if (dp->d_type == DT_DIR &&
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp127 if (Entry->d_type == DT_DIR) { in checkForOProfileProcEntry()
/freebsd/sbin/newfs/
H A Dmkfs.c884 { 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 Dtarfs_vnops.c346 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 Dzfs_ctldir.c274 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 Dt_glob.c135 dir.d_type = f->dir ? DT_DIR : DT_REG; in gl_readdir()
/freebsd/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_project.c247 if (!ret && zpc->zpc_recursive && ent->d_type == DT_DIR) in zfs_project_handle_dir()
/freebsd/lib/libpam/modules/pam_xdg/
H A Dpam_xdg.c189 if (dp->d_type == DT_DIR) { in remove_dir()
/freebsd/sys/fs/smbfs/
H A Dsmbfs_io.c107 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 Dlfs.c444 lua_pushinteger(L, DT_DIR); in luaopen_lfs()
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dfile_descriptor.h49 case DT_DIR: in get_file_type()
/freebsd/sys/fs/udf/
H A Dudf_vnops.c836 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 Dzutil_device_path_os.c471 if (ep->d_type != DT_DIR) { /* skip "." and ".." dirs */ in dm_get_underlying_path()
/freebsd/stand/lua/
H A Dcore.lua258 if ftype ~= lfs.DT_DIR then
/freebsd/lib/libc/gen/
H A Dfts-compat11.c801 #ifdef DT_DIR in fts_build()
803 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
H A Dfts.c800 #ifdef DT_DIR in fts_build()
802 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()

123