/src/sbin/fsck_lfs/ |
fsck_vars.h | 70 extern char *typemap; /* ptr to inode type table */
|
vars.c | 71 char *typemap; /* ptr to inode type table */ variable in typeref:typename:char *
|
setup.c | 139 typemap = erealloc(typemap, len * sizeof(char)); 144 memset(typemap + maxino, 0, (len - maxino) * sizeof(char)); 448 typemap = ecalloc(maxino, sizeof(char));
|
pass2.c | 123 typemap[ULFS_WINO] = LFS_DT_WHT; 437 if (lfs_dir_gettype(fs, dirp) != typemap[lfs_dir_getino(fs, dirp)]) { 442 pwarn("dir has %d, typemap has %d\n", 443 lfs_dir_gettype(fs, dirp), typemap[lfs_dir_getino(fs, dirp)]); 444 lfs_dir_settype(fs, dirp, typemap[lfs_dir_getino(fs, dirp)]);
|
pass1.c | 322 typemap[inumber] = LFS_IFTODT(mode);
|
dir.c | 399 lfs_dir_settype(fs, dirp, typemap[idesc->id_parent]); 417 lfs_dir_settype(fs, dirp, typemap[idesc->id_parent]);
|
inode.c | 641 typemap[ino] = LFS_IFTODT(type);
|
/src/sbin/fsck_ext2fs/ |
fsck.h | 210 extern u_char *typemap; /* ptr to inode type table */
|
pass2.c | 439 inot2ext2dt(typemap[fs2h32(dirp->e2d_ino)])) { 441 inot2ext2dt(typemap[fs2h32(dirp->e2d_ino)]);
|
main.c | 121 u_char *typemap; variable in typeref:typename:u_char *
|
setup.c | 263 typemap = calloc((unsigned int)(maxino + 1), sizeof(char)); 264 if (typemap == NULL) { 265 printf("cannot alloc %u bytes for typemap\n",
|
pass1.c | 300 typemap[inumber] = E2IFTODT(mode);
|
dir.c | 358 newent.e2d_type = inot2ext2dt(typemap[idesc->id_parent]); 389 dirp->e2d_type = inot2ext2dt(typemap[idesc->id_parent]);
|
inode.c | 733 typemap[ino] = E2IFTODT(type);
|
/src/sbin/fsdb/ |
fsdb.c | 1246 static struct typemap { struct 1263 struct typemap *tp;
|
/src/lib/libc/time/ |
zic.c | 2553 int typemap[TZ_MAX_TYPES]; local in function:writezone 2622 Use TYPEMAP to swap OLD0 and THISDEFAULTTYPE so that 2624 of OLD0. TYPEMAP also omits unused types. */ 2687 typemap[i == old0 ? thisdefaulttype 2764 putc(typemap[pretranstype], fp); 2766 putc(typemap[types[i]], fp); 2768 putc(typemap[unspecifiedtype], fp);
|