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,
179 printf("R: ino=%d len=%u\n", list->ino, last->e_len);
201 printf("R: ino=%d pblk=%llu lblk=%llu len=%u\n", list->ino, *blocknr,
210 ext2_ino_t ino)
221 list->ino = ino;
223 e2fsck_read_inode_full(ctx, ino, EXT2_INODE(&inode), sizeof(inode),
239 retval = ext2fs_block_iterate3(ctx->fs, ino, BLOCK_FLAG_READ_ONLY, 0,
254 quota_data_sub(ctx->qctx, &inode, ino,
262 retval = ext2fs_extent_open2(ctx->fs, ino, EXT2_INODE(&inode), &handle);
292 printf("W: ino=%d pblk=%llu lblk=%llu len=%u\n", ino,
312 quota_data_add(ctx->qctx, &inode, ino, delta);
316 printf("rebuild: ino=%d extents=%d->%d\n", ino, list->ext_read,
319 e2fsck_write_inode(ctx, ino, EXT2_INODE(&inode), "rebuild_extents");
328 static errcode_t e2fsck_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino)
335 (ino != EXT2_ROOT_INO && ino < ctx->fs->super->s_first_ino))
345 err = rebuild_extent_tree(ctx, &list, ino);
359 ext2_ino_t ino = 0;
383 ctx->inodes_to_rebuild, ino + 1,
384 ctx->fs->super->s_inodes_count, &ino);
387 pctx.ino = ino;
392 pctx.errcode = rebuild_extent_tree(ctx, &list, ino);
399 100.0 * (float) ino /
401 ino);
413 errcode_t e2fsck_check_rebuild_extents(e2fsck_t ctx, ext2_ino_t ino,
428 return e2fsck_rebuild_extents_later(ctx, ino);
434 eti.ino = ino;
437 retval = ext2fs_extent_open2(fs, ino, inode, &ehandle);
446 pctx->ino = ino;
553 return e2fsck_rebuild_extents_later(ctx, eti->ino);