Home
last modified time | relevance | path

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

123

/freebsd-13.1/tests/sys/fs/fusefs/
H A Dreaddir.cc84 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 Ddevfs_devs.c247 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 Dpass2.c308 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 Ddir.c59 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 Dzpl.h146 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 DFuzzerIOPosix.cpp71 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 Ddirent.h100 #define DT_DIR 4 macro
/freebsd-13.1/sys/ufs/ufs/
H A Ddir.h94 #define DT_DIR 4 macro
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_ctldir.c65 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 Dufsread.c131 dt = DT_DIR; in lookup()
143 if (dt != DT_DIR) { in lookup()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp127 if (Entry->d_type == DT_DIR) { in checkForOProfileProcEntry()
/freebsd-13.1/sbin/newfs/
H A Dmkfs.c856 { 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 Dzfs_ctldir.c270 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 Dt_glob.c135 dir.d_type = f->dir ? DT_DIR : DT_REG; in gl_readdir()
/freebsd-13.1/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_project.c243 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 Ddir.c120 case DT_DIR: in filetype_from_dirent_type()
/freebsd-13.1/sys/fs/smbfs/
H A Dsmbfs_io.c109 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 Dlfs.c446 lua_pushinteger(L, DT_DIR); in luaopen_lfs()
/freebsd-13.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-13.1/stand/lua/
H A Dcore.lua258 if ftype ~= lfs.DT_DIR then
/freebsd-13.1/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_device_path_os.c464 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 Ddirectory_iterator.cpp37 case DT_DIR: in get_file_type()
/freebsd-13.1/lib/libc/gen/
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-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-compat.c808 #ifdef DT_DIR in fts_build()
810 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()

123