Home
last modified time | relevance | path

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

123

/freebsd-14.2/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-14.2/sys/fs/devfs/
H A Ddevfs_devs.c248 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 Dpass2.c308 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 Ddir.c57 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 DFuzzerIOPosix.cpp71 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 Ddir.h93 #define DT_DIR 4 macro
/freebsd-14.2/sys/sys/
H A Ddirent.h99 #define DT_DIR 4 macro
/freebsd-14.2/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzpl.h160 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 Dufsread.c128 dt = DT_DIR; in lookup()
140 if (dt != DT_DIR) { in lookup()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_ctldir.c68 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 Dkinfo2.sh143 if (dp->d_type == DT_DIR &&
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileWrapper.cpp127 if (Entry->d_type == DT_DIR) { in checkForOProfileProcEntry()
/freebsd-14.2/sbin/newfs/
H A Dmkfs.c894 { 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 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-14.2/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()
1099 entry.d_type = DT_DIR; in zfsctl_snapdir_readdir()
/freebsd-14.2/contrib/netbsd-tests/lib/libc/gen/
H A Dt_glob.c135 dir.d_type = f->dir ? DT_DIR : DT_REG; in gl_readdir()
/freebsd-14.2/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-14.2/lib/libpam/modules/pam_xdg/
H A Dpam_xdg.c189 if (dp->d_type == DT_DIR) { in remove_dir()
/freebsd-14.2/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-14.2/libexec/flua/modules/
H A Dlfs.c444 lua_pushinteger(L, DT_DIR); in luaopen_lfs()
/freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/
H A Dfile_descriptor.h49 case DT_DIR: in get_file_type()
/freebsd-14.2/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-14.2/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-14.2/stand/lua/
H A Dcore.lua256 if ftype ~= lfs.DT_DIR then
/freebsd-14.2/lib/libc/gen/
H A Dfts.c801 #ifdef DT_DIR in fts_build()
803 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()

123