Searched refs:new_region (Results 1 – 1 of 1) sorted by relevance
64 struct region_el *r, *new_region, *prev, *next; in region_allocate() local124 new_region = malloc(sizeof(struct region_el)); in region_allocate()125 if (!new_region) in region_allocate()127 new_region->start = start; in region_allocate()128 new_region->end = start + n; in region_allocate()129 new_region->next = r; in region_allocate()130 if (!new_region->next) in region_allocate()131 region->last = new_region; in region_allocate()133 prev->next = new_region; in region_allocate()135 region->allocated = new_region; in region_allocate()