DT_DIR
dp->d_type != DT_DIR &&
#ifdef DT_DIR
dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN)
0, 12, DT_DIR, 1, ".",
0, DIRBLKSIZ - 12, DT_DIR, 2, ".."
if (newinofmt && dirp->d_type != DT_DIR) {
dirp->d_type = DT_DIR;
proto.d_type = DT_DIR;
proto.d_type = DT_DIR;
if (newinofmt && dirp->d_type != DT_DIR) {
dirp->d_type = DT_DIR;
{ UFS_ROOTINO, sizeof(struct direct), DT_DIR, 1, "." },
{ UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." },
{ LOSTFOUNDINO, sizeof(struct direct), DT_DIR, 10, "lost+found" },
{ LOSTFOUNDINO, sizeof(struct direct), DT_DIR, 1, "." },
{ UFS_ROOTINO, sizeof(struct direct), DT_DIR, 2, ".." },
nulldir.d_type = DT_DIR;
case DT_DIR:
dt = DT_DIR;
if (dt != DT_DIR)
d->d_type = DT_DIR;
d->d_type = (dd.de.attr & FA_DIR) ? DT_DIR : DT_REG;
static int dtmap[] = { DT_UNKNOWN, DT_REG, DT_DIR, DT_CHR,
return(DT_DIR);
return(DT_DIR);
if (vop_write_dirent(&error, uio, ino, DT_DIR, strlen(name), name))
node->d_dir.d_type = DT_DIR;
DT_DIR, 1, ".");
DT_DIR, 2, "..");
DT_DIR, 2, "..");
DT_DIR, /* EXT2_FT_DIR */
return(DT_DIR);
r = vop_write_dirent(&error, uio, ip->obj_id, DT_DIR, 1, ".");
DT_DIR, 2, "..");
ip->obj_id, DT_DIR, 2, "..");
return (DT_DIR);
r = vop_write_dirent(&error, uio, inum, DT_DIR, 1, ".");
r = vop_write_dirent(&error, uio, inum, DT_DIR, 2, "..");
(dep->de_flag & DE_DIR) ? DT_DIR : DT_REG,
if (vop_write_dirent(&error, uio, hp->h_no, DT_DIR, 1, "."))
if (vop_write_dirent(&error, uio, hp->h_fn.fn_parent, DT_DIR, 2, ".."))
dirbuf.d_type = DT_DIR;
dirbuf.d_type = DT_DIR;
DT_DIR, 1, "."))
DT_DIR, 2, ".."))
(iep->ie_fflag & NTFS_FFLAG_DIR) ? DT_DIR : DT_REG,
d_type = DT_DIR;
d_type = DT_DIR;
d_type = DT_DIR;
{ DT_DIR, N("."), Pproc, NULL },
{ DT_DIR, N(".."), Proot, NULL },
DT_DIR, 2, ".."))
(ctx->f_attr.fa_attr & SMB_FA_DIR) ? DT_DIR : DT_REG,
if (vop_write_dirent(&error, uio, np->n_ino, DT_DIR, 1, "."))
if (vop_write_dirent(&error, uio, node->tn_id, DT_DIR, 1, "."))
if (vop_write_dirent(&error, uio, d_ino, DT_DIR, 2, ".."))
d_type = DT_DIR;
if (vop_write_dirent(&error, uio, node->hash_id, DT_DIR,
DT_DIR, 2, "..")) {
DT_DIR : DT_UNKNOWN;
ufs_dirrewrite(xp, dp, newparent, DT_DIR, 0);
0, 12, DT_DIR, 1, ".",
0, DIRBLKSIZ - 12, DT_DIR, 2, ".."
return (DT_DIR);
r = vop_write_dirent(&error, uio, inum, DT_DIR, 1, ".");
r = vop_write_dirent(&error, uio, inum, DT_DIR, 2, "..");