Home | History | Annotate | Download | only in e2fsck

Lines Matching refs:ino

25 static errcode_t e2fsck_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino);
28 errcode_t e2fsck_rebuild_extents_later(e2fsck_t ctx, ext2_ino_t ino)
34 (ino != EXT2_ROOT_INO && ino < ctx->fs->super->s_first_ino))
38 return e2fsck_rebuild_extents(ctx, ino);
49 ext2fs_mark_inode_bitmap2(ctx->inodes_to_rebuild, ino);
54 int e2fsck_ino_will_be_rebuilt(e2fsck_t ctx, ext2_ino_t ino)
58 return ext2fs_test_inode_bitmap2(ctx->inodes_to_rebuild, ino);
68 ext2_ino_t ino;
78 retval = ext2fs_extent_open(fs, list->ino, &handle);
93 printf("ino=%d free=%llu bf=%llu\n", list->ino,
115 printf("R: ino=%d len=%u\n", list->ino,
135 printf("R: ino=%d pblk=%llu lblk=%llu len=%u\n", list->ino,
160 printf("ino=%d free=%llu bf=%llu\n", list->ino, *blocknr,
178 printf("R: ino=%d len=%u\n", list->ino, last->e_len);
200 printf("R: ino=%d pblk=%llu lblk=%llu len=%u\n", list->ino, *blocknr,
209 ext2_ino_t ino)
220 list->ino = ino;
222 e2fsck_read_inode_full(ctx, ino, EXT2_INODE(&inode), sizeof(inode),
238 retval = ext2fs_block_iterate3(ctx->fs, ino, BLOCK_FLAG_READ_ONLY, 0,
253 quota_data_sub(ctx->qctx, &inode, ino,
261 retval = ext2fs_extent_open2(ctx->fs, ino, EXT2_INODE(&inode), &handle);
291 printf("W: ino=%d pblk=%llu lblk=%llu len=%u\n", ino,
311 quota_data_add(ctx->qctx, &inode, ino, delta);
315 printf("rebuild: ino=%d extents=%d->%d\n", ino, list->ext_read,
318 e2fsck_write_inode(ctx, ino, EXT2_INODE(&inode), "rebuild_extents");
327 static errcode_t e2fsck_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino)
334 (ino != EXT2_ROOT_INO && ino < ctx->fs->super->s_first_ino))
344 err = rebuild_extent_tree(ctx, &list, ino);
358 ext2_ino_t ino = 0;
382 ctx->inodes_to_rebuild, ino + 1,
383 ctx->fs->super->s_inodes_count, &ino);
386 pctx.ino = ino;
391 pctx.errcode = rebuild_extent_tree(ctx, &list, ino);
398 100.0 * (float) ino /
400 ino);
412 errcode_t e2fsck_check_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino,
427 return e2fsck_rebuild_extents_later(ctx, ino);
433 eti.ino = ino;
436 retval = ext2fs_extent_open2(fs, ino, inode, &ehandle);
445 pctx->ino = ino;
549 return e2fsck_rebuild_extents_later(ctx, eti->ino);