Lines Matching refs:start
24 region_addr_t start; member
60 int region_allocate(region_t region, region_addr_t start, int n) in region_allocate() argument
65 end = start+n; in region_allocate()
66 if ((start < region->min) || (end > region->max)) in region_allocate()
79 if (((start >= r->start) && (start < r->end)) || in region_allocate()
80 ((end > r->start) && (end <= r->end)) || in region_allocate()
81 ((start <= r->start) && (end >= r->end))) in region_allocate()
83 if (end == r->start) { in region_allocate()
84 r->start = start; in region_allocate()
87 if (start == r->end) { in region_allocate()
89 if (end > next->start) in region_allocate()
91 if (end == next->start) { in region_allocate()
101 if (start < r->start) in region_allocate()
110 new_region->start = start; in region_allocate()
111 new_region->end = start + n; in region_allocate()
165 fprintf(f, "(%llu, %llu) ", r->start, r->end); in region_print()
176 region_addr_t start, end; in main() local
184 start = bcode_program[pc++]; in main()
187 start, end); in main()
188 r = region_create(start, end); in main()
195 start = bcode_program[pc++]; in main()
197 ret = region_allocate(r, start, end); in main()
199 start, end, ret); in main()