Lines Matching refs:block_nr
315 blk_t *block_nr,
324 if (HOLE_BLKADDR(*block_nr))
329 if (!ext2fs_test_block_bitmap(ctx->block_dup_map, *block_nr))
334 p->pctx->blk = *block_nr;
340 add_dupe(ctx, p->ino, *block_nr, p->inode);
542 blk_t *block_nr,
556 if (HOLE_BLKADDR(*block_nr))
559 if (ext2fs_test_block_bitmap(ctx->block_dup_map, *block_nr)) {
560 n = dict_lookup(&blk_dict, INT_TO_VOIDPTR(*block_nr));
563 decrement_badcount(ctx, *block_nr, p);
567 *block_nr);
569 ext2fs_unmark_block_bitmap(ctx->block_found_map, *block_nr);
570 ext2fs_block_alloc_stats(fs, *block_nr, -1);
643 blk_t *block_nr,
658 if (HOLE_BLKADDR(*block_nr))
661 if (ext2fs_test_block_bitmap(ctx->block_dup_map, *block_nr)) {
662 n = dict_lookup(&blk_dict, INT_TO_VOIDPTR(*block_nr));
680 printf("Cloning block %u to %u\n", *block_nr,
683 retval = io_channel_read_blk(fs->io, *block_nr, 1,
695 decrement_badcount(ctx, *block_nr, p);
696 *block_nr = new_block;
704 *block_nr);