Searched refs:last_reg (Results 1 – 1 of 1) sorted by relevance
244 struct region *last_reg = alloc->list.last; in reduce_allocation() local245 struct block_group_info *bg = &aux_info.bgs[last_reg->bg]; in reduce_allocation()247 if (last_reg->len > len) { in reduce_allocation()248 free_blocks(bg, last_reg->block + last_reg->len - bg->first_block - 1, len); in reduce_allocation()249 last_reg->len -= len; in reduce_allocation()253 free_blocks(bg, last_reg->block + last_reg->len - bg->first_block - 1, last_reg->len); in reduce_allocation()254 len -= last_reg->len; in reduce_allocation()263 free(last_reg); in reduce_allocation()