Lines Matching refs:last_blk
42 blk64_t last_blk, first_free = 0; in flexbg_offset() local
64 last_blk = ext2fs_group_last_block2(fs, last_grp); in flexbg_offset()
67 if (ext2fs_get_free_blocks2(fs, start_blk, last_blk, size, in flexbg_offset()
71 if (ext2fs_get_free_blocks2(fs, start_blk, last_blk, elem_size, in flexbg_offset()
75 if (ext2fs_get_free_blocks2(fs, 0, last_blk, elem_size, bmap, in flexbg_offset()
87 blk64_t group_blk, start_blk, last_blk, new_blk, blk; in ext2fs_allocate_group_table() local
92 last_blk = ext2fs_group_last_block2(fs, group); in ext2fs_allocate_group_table()
111 retval = ext2fs_get_free_blocks2(fs, group_blk, last_blk, in ext2fs_allocate_group_table()
117 (last_blk - start_blk + 1)); in ext2fs_allocate_group_table()
118 if (start_blk >= last_blk) in ext2fs_allocate_group_table()
130 last_blk = ext2fs_group_last_block2(fs, last_grp); in ext2fs_allocate_group_table()
134 retval = ext2fs_get_free_blocks2(fs, start_blk, last_blk, in ext2fs_allocate_group_table()
138 last_blk, 1, bmap, &new_blk); in ext2fs_allocate_group_table()
161 last_blk = ext2fs_group_last_block2(fs, last_grp); in ext2fs_allocate_group_table()
165 retval = ext2fs_get_free_blocks2(fs, start_blk, last_blk, in ext2fs_allocate_group_table()
169 last_blk, 1, bmap, &new_blk); in ext2fs_allocate_group_table()
198 last_blk = ext2fs_group_last_block2(fs, last_grp); in ext2fs_allocate_group_table()
202 retval = ext2fs_get_free_blocks2(fs, group_blk, last_blk, in ext2fs_allocate_group_table()