Searched refs:typemap (Results 1 - 15 of 15) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/fsck_lfs/
H A Dfsck_vars.h69 extern char *typemap; /* ptr to inode type table */
H A Dvars.c73 char *typemap; /* ptr to inode type table */ variable
H A Dpass2.c118 typemap[WINO] = DT_WHT;
410 if (dirp->d_type != typemap[dirp->d_ino]) {
414 pwarn("dir has %d, typemap has %d\n",
415 dirp->d_type, typemap[dirp->d_ino]);
416 dirp->d_type = typemap[dirp->d_ino];
H A Dsetup.c141 typemap = erealloc(typemap, len * sizeof(char));
146 memset(typemap + maxino, 0, (len - maxino) * sizeof(char));
446 typemap = ecalloc(maxino, sizeof(char));
H A Dpass1.c295 typemap[inumber] = IFTODT(mode);
H A Ddir.c378 dirp->d_type = typemap[idesc->id_parent];
392 dirp->d_type = typemap[idesc->id_parent];
H A Dinode.c621 typemap[ino] = IFTODT(type);
/netbsd-6-1-5-RELEASE/sbin/fsck_ext2fs/
H A Dfsck.h210 u_char *typemap; /* ptr to inode type table */ variable
H A Dpass2.c439 inot2ext2dt(typemap[fs2h32(dirp->e2d_ino)])) {
441 inot2ext2dt(typemap[fs2h32(dirp->e2d_ino)]);
H A Dsetup.c248 typemap = calloc((unsigned int)(maxino + 1), sizeof(char));
249 if (typemap == NULL) {
250 printf("cannot alloc %u bytes for typemap\n",
H A Dpass1.c300 typemap[inumber] = E2IFTODT(mode);
H A Ddir.c358 newent.e2d_type = inot2ext2dt(typemap[idesc->id_parent]);
389 dirp->e2d_type = inot2ext2dt(typemap[idesc->id_parent]);
H A Dinode.c713 typemap[ino] = E2IFTODT(type);
/netbsd-6-1-5-RELEASE/sbin/fsdb/
H A Dfsdb.c1042 static struct typemap { struct
1056 struct typemap *tp;
/netbsd-6-1-5-RELEASE/lib/libc/time/
H A Dzic.c1602 int typemap[TZ_MAX_TYPES]; local
1689 typemap[i] = writetype[i] ? thistypecnt++ : -1;
1739 uc = typemap[types[i]];

Completed in 96 milliseconds