Home
last modified time | relevance | path

Searched refs:d_type (Results 1 – 25 of 67) sorted by relevance

123

/mirbsd/src/sbin/fsck_ffs/
Dpass2.c265 dirp->d_type = typemap[dirp->d_ino]; in pass2check()
280 if (newinofmt && dirp->d_type != DT_DIR) { in pass2check()
282 dirp->d_type = DT_DIR; in pass2check()
291 proto.d_type = DT_DIR; in pass2check()
293 proto.d_type = 0; in pass2check()
300 tmp = proto.d_type; in pass2check()
301 proto.d_type = proto.d_namlen; in pass2check()
334 proto.d_type = DT_DIR; in pass2check()
336 proto.d_type = 0; in pass2check()
343 tmp = proto.d_type; in pass2check()
[all …]
Ddir.c127 tdp->d_namlen = tdp->d_type; in dirscan()
128 tdp->d_type = tmp; in dirscan()
140 tdp->d_namlen = tdp->d_type; in dirscan()
141 tdp->d_type = tmp; in dirscan()
180 dp->d_type = 0; in fsck_readdir()
240 namlen = dp->d_type; in dircheck()
243 type = dp->d_type; in dircheck()
247 type = dp->d_type; in dircheck()
340 dirp->d_type = typemap[idesc->id_parent]; in mkentry()
342 dirp->d_type = 0; in mkentry()
[all …]
/mirbsd/src/sys/arch/i386/include/
Dsegments.h176 #define ISMEMSDP(s) ((s->d_type) >= SDT_MEMRO && \
177 (s->d_type) <= SDT_MEMERAC)
180 #define IS286GDP(s) ((s->d_type) >= SDT_SYS286CGT && \
181 (s->d_type) < SDT_SYS286TGT)
184 #define IS386GDP(s) ((s->d_type) >= SDT_SYS386CGT && \
185 (s->d_type) < SDT_SYS386TGT)
/mirbsd/src/usr.sbin/makefs/nbsrc/sys/ufs/ufs/
Ddir.h84 u_int8_t d_type; /* file type, see below */ member
120 DIRECTSIZ((dp)->d_type) : DIRECTSIZ((dp)->d_namlen))
124 DIRECTSIZ((dp)->d_type) : DIRECTSIZ((dp)->d_namlen))
/mirbsd/src/usr.bin/xlint/lint1/
Ddecl.c332 if (dcs->d_type != NULL || dcs->d_atyp != NOTSPEC || in addscl()
364 if (dcs->d_type != NULL || dcs->d_atyp != NOTSPEC || in addtype()
373 dcs->d_type = tp; in addtype()
384 if (dcs->d_type != NULL || dcs->d_atyp != NOTSPEC || in addtype()
395 dcs->d_type = tp; in addtype()
399 if (dcs->d_type != NULL && !dcs->d_type->t_typedef) { in addtype()
417 if (dcs->d_type != NULL && dcs->d_type->t_typedef) { in addtype()
419 dcs->d_type = tdeferr(dcs->d_type, t); in addtype()
718 dcs->d_type = NULL; in clrtyp()
771 tp = dcs->d_type; in deftyp()
[all …]
/mirbsd/src/gnu/usr.bin/cvs/src/
Dignore.c433 dp->d_type != DT_UNKNOWN || in ignore_files()
440 dp->d_type == DT_DIR in ignore_files()
441 || (dp->d_type == DT_UNKNOWN && S_ISDIR (sb.st_mode)) in ignore_files()
461 dp->d_type == DT_LNK in ignore_files()
462 || (dp->d_type == DT_UNKNOWN && S_ISLNK (sb.st_mode)) in ignore_files()
Dfind_names.c462 if (dp->d_type != DT_DIR) in find_dirs()
464 if (dp->d_type != DT_UNKNOWN && dp->d_type != DT_LNK) in find_dirs()
487 if (dp->d_type != DT_DIR) in find_dirs()
490 if (dp->d_type == DT_LNK) in find_dirs()
Dimport.c508 (dp->d_type == DT_DIR in import_descend()
509 || (dp->d_type == DT_UNKNOWN && isdir (dp->d_name))) in import_descend()
527 dp->d_type == DT_LNK in import_descend()
528 || (dp->d_type == DT_UNKNOWN && islink (dp->d_name)) in import_descend()
/mirbsd/src/sys/ufs/ufs/
Ddir.h82 u_int8_t d_type; /* file type, see below */ member
117 ((sizeof(struct direct) - (MAXNAMLEN+1)) + (((dp)->d_type+1 + 3) &~ 3)) : \
Dufs_lookup.c337 namlen = ep->d_type;
645 namlen = ep->d_type;
691 newdirp->d_type = IFTODT(ip->i_ffs_mode);
693 newdirp->d_type = 0;
696 newdirp->d_namlen = newdirp->d_type;
697 newdirp->d_type = tmp; }
1062 ep->d_type = newtype;
1125 namlen = dp->d_type;
/mirbsd/src/sys/arch/i386/stand/installboot/
Dinstallboot.c281 if (dl.d_type == 0) in main()
329 if (dl.d_type != 0 && dl.d_type != DTYPE_FLOPPY && in main()
330 dl.d_type != DTYPE_VND && !force_mbr) { in main()
643 if ((dl->d_type != 0 && dl->d_type != DTYPE_FLOPPY && in loadblocknums()
644 dl->d_type != DTYPE_VND) || (userspec && nsectors != 99)) { in loadblocknums()
/mirbsd/src/lib/libc/gen/
Dscandir.c118 p->d_type = d->d_type; in scandir()
Ddisklabel.c96 dp->d_type = gettype(cq, dktypenames); in getdiskbyname()
98 getnumdflt(dp->d_type, "dt", 0); in getdiskbyname()
/mirbsd/src/sys/miscfs/procfs/
Dprocfs_vnops.c968 d.d_type = pt->pt_type;
1006 d.d_type = DT_DIR;
1013 d.d_type = DT_LNK;
1020 d.d_type = DT_LNK;
1029 d.d_type = DT_REG;
1040 d.d_type = DT_REG;
1055 d.d_type = DT_REG;
/mirbsd/src/sys/miscfs/specfs/
Dspec_vnops.c174 if (securelevel >= 2 && cdevsw[maj].d_type == D_DISK)
192 if (cdevsw[maj].d_type == D_TTY)
207 (ap->a_mode & FWRITE) && bdevsw[maj].d_type == D_DISK)
442 return ((bdevsw[maj].d_type == D_TAPE) ? 0 : 1);
488 if (cdevsw[major(dev)].d_type & D_KQFILTER)
/mirbsd/src/sbin/restore/
Ddirs.c174 nulldir.d_type = DT_DIR; in extractdirs()
358 dp->d_namlen = dp->d_type; in putdir()
361 dp->d_namlen = dp->d_type; in putdir()
363 dp->d_type = DT_UNKNOWN; in putdir()
448 ndp->d_type = DT_UNKNOWN; in dcvt()
/mirbsd/src/include/
Ddisktab.h45 char *d_type; /* drive type */ member
/mirbsd/src/sys/compat/linux/
Dlinux_dirent.h51 u_char d_type; member
/mirbsd/src/sys/sys/
Ddirent.h49 u_int8_t d_type; /* file type, see below */ member
Ddisklabel.h78 u_int16_t d_type; /* drive type */ member
/mirbsd/src/sbin/disklabel/
Ddisklabel.c909 if ((unsigned) lp->d_type < DKMAXTYPES) in makedisktab()
910 (void)fprintf(f, "%s:", dktypenames[lp->d_type]); in makedisktab()
912 (void)fprintf(f, "unknown%d:", lp->d_type); in makedisktab()
1084 if ((unsigned) lp->d_type < DKMAXTYPES) in display()
1085 fprintf(f, "type: %s\n", dktypenames[lp->d_type]); in display()
1087 fprintf(f, "type: %d\n", lp->d_type); in display()
1349 lp->d_type = cpp - dktypenames; in getasciilabel()
1352 v = GETNUM(lp->d_type, tp, 0, &errstr); in getasciilabel()
1356 lp->d_type = v; in getasciilabel()
/mirbsd/src/sys/ntfs/
Dntfs_vnops.c626 cde->d_type = DT_DIR;
640 cde->d_type = DT_DIR;
691 cde->d_type = (iep->ie_fflag & NTFS_FFLAG_DIR) ? DT_DIR : DT_REG;
693 dprintf(("%s\n", (cde->d_type == DT_DIR) ? "dir":"reg"));
/mirbsd/src/sys/compat/common/
Dvfs_syscalls_43.c432 dp->d_type = dp->d_namlen;
440 dp->d_type = 0;
/mirbsd/src/sys/miscfs/fdesc/
Dfdesc_vnops.c688 d.d_type = ft->ft_type;
703 d.d_type = DT_DIR;
712 d.d_type = DT_UNKNOWN;
/mirbsd/src/sys/dev/
Dcons.c243 if (cdevsw[major(dev)].d_type & D_KQFILTER)

123