Lines Matching refs:first_free
317 blk64_t first_free = ext2fs_blocks_count(fs->super); in check_block_bitmaps() local
470 if (first_free > i) in check_block_bitmaps()
471 first_free = i; in check_block_bitmaps()
472 } else if (i > first_free) { in check_block_bitmaps()
473 e2fsck_discard_blocks(ctx, first_free, in check_block_bitmaps()
474 (i - first_free)); in check_block_bitmaps()
475 first_free = ext2fs_blocks_count(fs->super); in check_block_bitmaps()
485 if (!bitmap && i >= first_free) in check_block_bitmaps()
486 e2fsck_discard_blocks(ctx, first_free, in check_block_bitmaps()
487 (i - first_free) + 1); in check_block_bitmaps()
489 first_free = ext2fs_blocks_count(fs->super); in check_block_bitmaps()
580 ext2_ino_t first_free = fs->super->s_inodes_per_group + 1; in check_inode_bitmaps() local
642 first_free = 1; in check_inode_bitmaps()
711 if (inodes > first_free) { in check_inode_bitmaps()
712 e2fsck_discard_inodes(ctx, group, first_free, in check_inode_bitmaps()
713 inodes - first_free); in check_inode_bitmaps()
714 first_free = fs->super->s_inodes_per_group + 1; in check_inode_bitmaps()
719 if (first_free > inodes) in check_inode_bitmaps()
720 first_free = inodes; in check_inode_bitmaps()
728 if (!bitmap && inodes >= first_free) in check_inode_bitmaps()
729 e2fsck_discard_inodes(ctx, group, first_free, in check_inode_bitmaps()
730 inodes - first_free + 1); in check_inode_bitmaps()
744 first_free = fs->super->s_inodes_per_group + 1; in check_inode_bitmaps()