Lines Matching refs:start
24 region_addr_t start; member
62 int region_allocate(region_t region, region_addr_t start, int n) in region_allocate() argument
67 end = start+n; in region_allocate()
68 if ((start < region->min) || (end > region->max)) in region_allocate()
73 if (region->last && region->last->end == start && in region_allocate()
78 if (region->last && start > region->last->end && in region_allocate()
93 if (((start >= r->start) && (start < r->end)) || in region_allocate()
94 ((end > r->start) && (end <= r->end)) || in region_allocate()
95 ((start <= r->start) && (end >= r->end))) in region_allocate()
97 if (end == r->start) { in region_allocate()
98 r->start = start; in region_allocate()
101 if (start == r->end) { in region_allocate()
103 if (end > next->start) in region_allocate()
105 if (end == next->start) { in region_allocate()
117 if (start < r->start) in region_allocate()
127 new_region->start = start; in region_allocate()
128 new_region->end = start + n; in region_allocate()
184 fprintf(f, "(%llu, %llu) ", r->start, r->end); in region_print()
195 region_addr_t start, end; in main() local
203 start = bcode_program[pc++]; in main()
206 start, end); in main()
207 r = region_create(start, end); in main()
214 start = bcode_program[pc++]; in main()
216 ret = region_allocate(r, start, end); in main()
218 start, end, ret); in main()