Lines Matching refs:start_blk
38 static blk64_t flexbg_offset(ext2_filsys fs, dgrp_t group, blk64_t start_blk,
57 if (start_blk && start_blk < ext2fs_blocks_count(fs->super) &&
58 ext2fs_get_free_blocks2(fs, start_blk, start_blk + size, elem_size,
62 start_blk = ext2fs_group_first_block2(fs, flexbg_size * flexbg);
69 if (ext2fs_get_free_blocks2(fs, start_blk, last_blk, size,
73 if (ext2fs_get_free_blocks2(fs, start_blk, last_blk, elem_size,
88 blk64_t group_blk, start_blk, last_blk, new_blk;
112 1, bmap, &start_blk);
115 start_blk += fs->inode_blocks_per_group;
116 start_blk += ((fs->stride * group) %
117 (last_blk - start_blk + 1));
118 if (start_blk >= last_blk)
119 start_blk = group_blk;
121 start_blk = group_blk;
142 start_blk = flexbg_offset(fs, group, prev_block, bmap,
148 retval = ext2fs_get_free_blocks2(fs, start_blk, last_blk,
175 start_blk = flexbg_offset(fs, group, prev_block, bmap,
181 retval = ext2fs_get_free_blocks2(fs, start_blk, last_blk,