Home
last modified time | relevance | path

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

12

/dragonfly/contrib/cvs-1.12/src/
H A Dfind_names.c461 #ifdef DT_DIR in find_dirs()
462 if (dp->d_type != DT_DIR) in find_dirs()
478 #ifdef DT_DIR in find_dirs()
486 #ifdef DT_DIR in find_dirs()
487 if (dp->d_type != DT_DIR) in find_dirs()
497 #ifdef DT_DIR in find_dirs()
H A Dignore.c432 #ifdef DT_DIR in ignore_files()
439 #ifdef DT_DIR in ignore_files()
440 dp->d_type == DT_DIR in ignore_files()
460 #ifdef DT_DIR in ignore_files()
H A Dimport.c486 #ifdef DT_DIR in import_descend()
487 (dp->d_type == DT_DIR in import_descend()
505 #ifdef DT_DIR in import_descend()
/dragonfly/sbin/fsck/
H A Dpass2.c253 if (newinofmt && dirp->d_type != DT_DIR) { in pass2check()
255 dirp->d_type = DT_DIR; in pass2check()
264 proto.d_type = DT_DIR; in pass2check()
307 proto.d_type = DT_DIR; in pass2check()
336 if (newinofmt && dirp->d_type != DT_DIR) { in pass2check()
338 dirp->d_type = DT_DIR; in pass2check()
H A Ddir.c52 0, 12, DT_DIR, 1, ".",
53 0, DIRBLKSIZ - 12, DT_DIR, 2, ".."
/dragonfly/sys/vfs/procfs/
H A Dprocfs_vnops.c131 { DT_DIR, N("."), Pproc, NULL },
132 { DT_DIR, N(".."), Proot, NULL },
1041 d_type = DT_DIR; in procfs_readdir_root_callback()
1047 d_type = DT_DIR; in procfs_readdir_root_callback()
1085 d_type = DT_DIR; in procfs_readdir_root_callback()
/dragonfly/sys/sys/
H A Ddirent.h95 #define DT_DIR 4 macro
/dragonfly/sys/vfs/ufs/
H A Ddir.h92 #define DT_DIR 4 macro
H A Dufs_vnops.c122 0, 12, DT_DIR, 1, ".",
123 0, DIRBLKSIZ - 12, DT_DIR, 2, ".."
1210 ufs_dirrewrite(xp, dp, newparent, DT_DIR, 0); in ufs_rename()
/dragonfly/stand/boot/common/
H A Dufsread.c132 dt = DT_DIR; in boot2_ufs_lookup()
146 if (dt != DT_DIR) in boot2_ufs_lookup()
/dragonfly/sys/vfs/ntfs/
H A Dntfs_vnops.c546 DT_DIR, 1, ".")) in ntfs_readdir()
559 DT_DIR, 2, "..")) in ntfs_readdir()
598 (iep->ie_fflag & NTFS_FFLAG_DIR) ? DT_DIR : DT_REG, in ntfs_readdir()
/dragonfly/sys/vfs/smbfs/
H A Dsmbfs_io.c98 if (vop_write_dirent(&error, uio, np->n_ino, DT_DIR, 1, ".")) in smbfs_readvdir()
108 DT_DIR, 2, "..")) in smbfs_readvdir()
158 (ctx->f_attr.fa_attr & SMB_FA_DIR) ? DT_DIR : DT_REG, in smbfs_readvdir()
/dragonfly/test/stress/stress2/misc/
H A Dkinfo2.sh134 if (dp->d_type == DT_DIR &&
/dragonfly/sbin/newfs/
H A Dmkfs.c935 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 1, "." },
936 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." },
938 { LOSTFOUNDINO, sizeof(struct direct), DT_DIR, 10, "lost+found" },
955 { LOSTFOUNDINO, sizeof(struct direct), DT_DIR, 1, "." },
956 { UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." },
/dragonfly/sys/vfs/udf/
H A Dudf_vnops.c703 if (vop_write_dirent(&error, uio, node->hash_id, DT_DIR, in udf_readdir()
720 DT_DIR, 2, "..")) { in udf_readdir()
730 DT_DIR : DT_UNKNOWN; in udf_readdir()
/dragonfly/sys/vfs/hpfs/
H A Dhpfs_vnops.c750 (dep->de_flag & DE_DIR) ? DT_DIR : DT_REG, in hpfs_de_uiomove()
800 if (vop_write_dirent(&error, uio, hp->h_no, DT_DIR, 1, ".")) in hpfs_readdir()
810 if (vop_write_dirent(&error, uio, hp->h_fn.fn_parent, DT_DIR, 2, "..")) in hpfs_readdir()
/dragonfly/sys/vfs/tmpfs/
H A Dtmpfs_subr.c726 if (vop_write_dirent(&error, uio, node->tn_id, DT_DIR, 1, ".")) in tmpfs_dir_getdotdent()
763 if (vop_write_dirent(&error, uio, d_ino, DT_DIR, 2, "..")) in tmpfs_dir_getdotdotdent()
918 d_type = DT_DIR; in tmpfs_dir_getdents()
/dragonfly/sys/vfs/hammer2/
H A Dhammer2_subr.c54 return (DT_DIR); in hammer2_get_dtype()
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_subr.c60 return (DT_DIR); in hammer2_get_dtype()
/dragonfly/contrib/grep/lib/
H A Dfts.c103 # undef DT_DIR
110 # define DT_DIR 3 macro
1245 case DT_DIR: in set_stat_type()
1552 && ! DT_MUST_BE(dp, DT_DIR)); in fts_build()
/dragonfly/gnu/usr.bin/grep/libgreputils/
H A Ddirent.h48 # define DT_DIR 4 /* directory */ macro
/dragonfly/contrib/cvs-1.12/lib/
H A Dglob.c93 ((d)->d_type == DT_DIR || DIRENT_MIGHT_BE_SYMLINK (d))
1198 bool isdir = (DIRENT_MUST_BE (d, DT_DIR) in glob_in_dir()
/dragonfly/lib/libc/gen/
H A Dfts.c772 #ifdef DT_DIR in fts_build()
774 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
/dragonfly/sys/vfs/devfs/
H A Ddevfs_vnops.c366 DT_DIR, 1, "."); in devfs_vop_readdir()
381 DT_DIR, 2, ".."); in devfs_vop_readdir()
385 DT_DIR, 2, ".."); in devfs_vop_readdir()
/dragonfly/sys/vfs/autofs/
H A Dautofs_vnops.c291 if (vop_write_dirent(&error, uio, ino, DT_DIR, strlen(name), name)) in autofs_write_dirent()

12