/netbsd-src/sbin/fsck_lfs/ |
H A D | pass3.c | 49 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE)) in pass3() 51 if (statemap[inp->i_number] == DCLEAR) in pass3() 53 if (statemap[inp->i_number] == FCLEAR) in pass3() 58 statemap[inp->i_parent] != DSTATE || in pass3() 66 statemap[orphan] = DFOUND; in pass3()
|
H A D | pass1.c | 145 statemap[inumber] = USTATE; in pass1() 151 statemap[inumber] = USTATE; in pass1() 202 statemap[inumber] = USTATE; in checkinode() 220 statemap[inumber] = USTATE; in checkinode() 295 statemap[inumber] = DCLEAR; in checkinode() 297 statemap[inumber] = DSTATE; in checkinode() 300 statemap[inumber] = FSTATE; in checkinode() 310 statemap[inumber] = (mode == LFS_IFDIR ? DCLEAR : FCLEAR); in checkinode() 340 statemap[inumber] = FCLEAR; in checkinode() 342 statemap[inumber] = USTATE; in checkinode()
|
H A D | inode.c | 458 statemap[idesc->id_number] = USTATE; in clri() 573 switch (statemap[ino]) { in blkerror() 576 statemap[ino] = FCLEAR; in blkerror() 580 statemap[ino] = DCLEAR; in blkerror() 588 err(EEXIT, "BAD STATE %d TO BLKERR", statemap[ino]); in blkerror() 607 else if (statemap[request] != USTATE) in allocino() 610 if (statemap[ino] == USTATE) in allocino() 617 statemap[ino] = DSTATE; in allocino() 621 statemap[ino] = FSTATE; in allocino() 661 statemap[ino] = USTATE; in freeino()
|
H A D | pass2.c | 74 switch (statemap[ULFS_ROOTINO]) { in pass2() 120 errx(EEXIT, "BAD STATE %d FOR ROOT INODE", statemap[ULFS_ROOTINO]); in pass2() 122 statemap[ULFS_WINO] = FSTATE; in pass2() 385 switch (statemap[lfs_dir_getino(fs, dirp)]) { in pass2check() 398 if (statemap[lfs_dir_getino(fs, dirp)] == FCLEAR) in pass2check() 410 statemap[lfs_dir_getino(fs, dirp)] = in pass2check() 453 statemap[lfs_dir_getino(fs, dirp)], in pass2check()
|
H A D | dir.c | 116 statemap[inp->i_number] = DFOUND; in propagate() 118 statemap[inp->i_child->i_number] == DSTATE) in propagate() 498 if (statemap[lfdir] != DFOUND) { in linkup() 715 if (statemap[parent] != DSTATE && statemap[parent] != DFOUND) { in allocdir() 720 statemap[ino] = statemap[parent]; in allocdir() 721 if (statemap[ino] == DSTATE) { in allocdir()
|
H A D | setup.c | 138 statemap = erealloc(statemap, len * sizeof(char)); in reset_maxino() 143 memset(statemap + maxino, USTATE, (len - maxino) * sizeof(char)); in reset_maxino() 447 statemap = ecalloc(maxino, sizeof(char)); in setup()
|
H A D | pass4.c | 91 switch (statemap[inumber]) { in pass4() 139 statemap[inumber], (unsigned long long)inumber); in pass4()
|
H A D | utilities.c | 198 (statemap[curdir] != DSTATE && statemap[curdir] != DFOUND)) { in getpathname()
|
H A D | vars.c | 69 char *statemap; /* ptr to inode state table */ variable
|
H A D | fsck_vars.h | 68 extern char *statemap; /* ptr to inode state table */
|
H A D | main.c | 320 free(statemap); in checkfilesys()
|
/netbsd-src/sbin/fsck_ext2fs/ |
H A D | pass3.c | 82 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE)) in pass3() 84 if (statemap[inp->i_number] == DCLEAR) in pass3() 89 statemap[inp->i_parent] != DSTATE || in pass3() 97 statemap[orphan] = DFOUND; in pass3()
|
H A D | inode.c | 590 statemap[idesc->id_number] = USTATE; in clri() 665 switch (statemap[ino]) { in blkerror() 668 statemap[ino] = FCLEAR; in blkerror() 672 statemap[ino] = DCLEAR; in blkerror() 680 errexit("BAD STATE %d TO BLKERR", statemap[ino]); in blkerror() 697 else if (statemap[request] != USTATE) in allocino() 702 if (statemap[ino] == USTATE) in allocino() 709 statemap[ino] = DSTATE; in allocino() 713 statemap[ino] = FSTATE; in allocino() 721 statemap[ino] = USTATE; in allocino() [all …]
|
H A D | pass1.c | 199 statemap[inumber] = USTATE; in checkinode() 293 statemap[inumber] = DCLEAR; in checkinode() 295 statemap[inumber] = DSTATE; in checkinode() 298 statemap[inumber] = FSTATE; in checkinode() 321 statemap[inumber] = FCLEAR; in checkinode() 323 statemap[inumber] = USTATE; in checkinode()
|
H A D | pass2.c | 97 switch (statemap[EXT2_ROOTINO]) { in pass2() 139 errexit("BAD STATE %d FOR ROOT INODE", statemap[EXT2_ROOTINO]); in pass2() 384 switch (statemap[fs2h32(dirp->e2d_ino)]) { in pass2check() 396 if (statemap[fs2h32(dirp->e2d_ino)] == FCLEAR) in pass2check() 408 statemap[fs2h32(dirp->e2d_ino)] = in pass2check() 453 statemap[fs2h32(dirp->e2d_ino)], fs2h32(dirp->e2d_ino)); in pass2check()
|
H A D | dir.c | 136 statemap[inp->i_number] = DFOUND; in propagate() 138 statemap[inp->i_child->i_number] == DSTATE) in propagate() 469 if (statemap[lfdir] != DFOUND) { in linkup() 655 if (statemap[parent] != DSTATE && statemap[parent] != DFOUND) { in allocdir() 660 statemap[ino] = statemap[parent]; in allocdir() 661 if (statemap[ino] == DSTATE) { in allocdir()
|
H A D | pass4.c | 92 switch (statemap[inumber]) { in pass4() 132 statemap[inumber], (unsigned long long)inumber); in pass4()
|
H A D | main.c | 120 char *statemap; variable 349 free(statemap); in checkfilesys()
|
H A D | pass5.c | 148 switch (statemap[j]) { in pass5() 167 statemap[j], j); in pass5()
|
H A D | pass1b.c | 99 if (statemap[inumber] != USTATE && in pass1b()
|
H A D | utilities.c | 421 (statemap[curdir] != DSTATE && statemap[curdir] != DFOUND)) { in getpathname()
|
H A D | fsck.h | 209 extern char *statemap; /* ptr to inode state table */
|
H A D | setup.c | 257 statemap = calloc((unsigned int)(maxino + 2), sizeof(char)); in setup() 258 if (statemap == NULL) { in setup()
|