| /src/sbin/fsck_lfs/ |
| fsck_vars.h | 71 extern int16_t *lncntp; /* ptr to link count table */
|
| pass3.c | 65 lncntp[lfdir]--;
|
| vars.c | 72 int16_t *lncntp; /* ptr to link count table */ variable in typeref:typename:int16_t *
|
| pass2.c | 195 lncntp[inp->i_parent]--; 202 lncntp[inp->i_dotdot]++; 203 lncntp[inp->i_parent]--; 273 lncntp[lfs_dir_getino(fs, dirp)]--; 296 lncntp[lfs_dir_getino(fs, dirp)]--; 335 lncntp[lfs_dir_getino(fs, dirp)]--; 412 lncntp[lfs_dir_getino(fs, dirp)] = lfs_dino_getnlink(fs, dp); 448 lncntp[lfs_dir_getino(fs, dirp)]--;
|
| pass4.c | 95 n = lncntp[inumber]; 120 const char * msg = (lncntp[inumber] ?
|
| setup.c | 140 lncntp = erealloc(lncntp, len * sizeof(int16_t)); 145 memset(lncntp + maxino, 0, (len - maxino) * sizeof(int16_t)); 449 lncntp = ecalloc(maxino, sizeof(int16_t));
|
| dir.c | 493 adjust(&idesc, lncntp[oldlfdir] + 1); 494 lncntp[oldlfdir] = 0; 508 lncntp[orphan]--; 517 lncntp[lfdir]++; 711 lncntp[ino] = lfs_dino_getnlink(fs, dp); 722 lncntp[ino] = lfs_dino_getnlink(fs, dp); 723 lncntp[parent]++;
|
| main.c | 325 free((char *)lncntp);
|
| pass1.c | 286 lncntp[inumber] = lfs_dino_getnlink(fs, dp);
|
| /src/sbin/fsck_ext2fs/ |
| pass3.c | 96 lncntp[lfdir]--;
|
| pass2.c | 204 lncntp[inp->i_parent]--; 211 lncntp[inp->i_dotdot]++; 212 lncntp[inp->i_parent]--; 282 lncntp[fs2h32(dirp->e2d_ino)]--; 309 lncntp[fs2h32(dirp->e2d_ino)]--; 352 lncntp[fs2h32(dirp->e2d_ino)]--; 410 lncntp[fs2h32(dirp->e2d_ino)] = fs2h16(dp->e2di_nlink); 448 lncntp[fs2h32(dirp->e2d_ino)]--;
|
| pass4.c | 96 n = lncntp[inumber];
|
| fsck.h | 211 extern int16_t *lncntp; /* ptr to link count table */
|
| main.c | 122 int16_t *lncntp; variable in typeref:typename:int16_t * 350 free((char *)lncntp);
|
| dir.c | 465 adjust(&idesc, lncntp[oldlfdir] + 1); 466 lncntp[oldlfdir] = 0; 479 lncntp[orphan]--; 487 lncntp[lfdir]++; 651 lncntp[ino] = fs2h16(dp->e2di_nlink); 662 lncntp[ino] = fs2h16(dp->e2di_nlink); 663 lncntp[parent]++;
|
| setup.c | 269 lncntp = calloc((unsigned)(maxino + 1), sizeof(int16_t)); 270 if (lncntp == NULL) { 271 printf("cannot alloc %u bytes for lncntp\n",
|
| pass1.c | 278 lncntp[inumber] = fs2h16(dp->e2di_nlink);
|