Lines Matching refs:s_blocks_count
118 *new_size = rfs->new_fs->super->s_blocks_count;
218 if (blk >= fs->super->s_blocks_count)
261 (gdp->bg_block_bitmap < fs->super->s_blocks_count)) {
268 (gdp->bg_inode_bitmap < fs->super->s_blocks_count)) {
275 (gdp->bg_inode_table >= fs->super->s_blocks_count))
280 if (blk >= fs->super->s_blocks_count)
309 fs->super->s_blocks_count = new_size;
312 fs->group_desc_count = ext2fs_div_ceil(fs->super->s_blocks_count -
337 rem = (fs->super->s_blocks_count - fs->super->s_first_data_block) %
342 fs->super->s_blocks_count -= rem;
360 blk = old_fs->super->s_blocks_count;
361 if (blk > fs->super->s_blocks_count)
363 (blk - fs->super->s_blocks_count);
366 (fs->super->s_blocks_count - blk);
372 old_fs->super->s_blocks_count;
374 fs->super->s_blocks_count / 100.0);
387 retval = ext2fs_resize_block_bitmap(fs->super->s_blocks_count-1,
450 old_numblocks = (old_fs->super->s_blocks_count -
456 numblocks = (fs->super->s_blocks_count -
503 numblocks = (fs->super->s_blocks_count -
787 if (old_fs->super->s_blocks_count > fs->super->s_blocks_count)
810 for (blk = fs->super->s_blocks_count;
811 blk < old_fs->super->s_blocks_count; blk++) {
1039 if (rfs->new_fs->super->s_blocks_count >
1040 rfs->old_fs->super->s_blocks_count)
1041 rfs->new_blk = rfs->old_fs->super->s_blocks_count;
1050 if (rfs->new_blk >= fs->super->s_blocks_count) {
1067 (rfs->new_blk < rfs->old_fs->super->s_blocks_count) &&
1135 blk < old_fs->super->s_blocks_count; blk++) {
1329 orig_size = rfs->old_fs->super->s_blocks_count;
1330 if (orig_size < rfs->new_fs->super->s_blocks_count)
1331 rfs->old_fs->super->s_blocks_count =
1332 rfs->new_fs->super->s_blocks_count;
1440 rfs->old_fs->super->s_blocks_count = orig_size;
1784 blk < fs->super->s_blocks_count; blk++) {
1802 (blk == fs->super->s_blocks_count-1)) {
1921 data_needed = fs->super->s_blocks_count -
2052 if (blks_needed >= fs->super->s_blocks_count)
2053 return fs->super->s_blocks_count;
2060 blks_needed += (fs->super->s_blocks_count - blks_needed)/500;