Lines Matching refs:start

24     size_t heap_size = region->end - region->start;  in register_heap()
26 region->heap = multi_heap_register((void *)region->start, heap_size); in register_heap()
72 if (b->start == (intptr_t)(a->start + a->size) && b->type == a->type ) { in heap_caps_init()
74 b->start = a->start; in heap_caps_init()
102 heap->start = region->start; in heap_caps_init()
103 heap->end = region->start + region->size; in heap_caps_init()
114 region->start, region->size, region->size / 1024, type->name); in heap_caps_init()
151 esp_err_t heap_caps_add_region(intptr_t start, intptr_t end) in heap_caps_add_region() argument
153 if (start == 0) { in heap_caps_add_region()
160 if (region->start <= start && (intptr_t)(region->start + region->size) > start) { in heap_caps_add_region()
162 return heap_caps_add_region_with_caps(caps, start, end); in heap_caps_add_region()
170 bool heap_caps_check_add_region_allowed(intptr_t heap_start, intptr_t heap_end, intptr_t start, int… in heap_caps_check_add_region_allowed() argument
200 …bool condition_2 = start < heap_start && end > heap_start; // if true then region not allow… in heap_caps_check_add_region_allowed()
201 …bool condition_4 = start < heap_end && end > heap_end; // if true then region not allow… in heap_caps_check_add_region_allowed()
202 …bool condition_6 = start == heap_start && end == heap_end; // if true then region not allow… in heap_caps_check_add_region_allowed()
207 esp_err_t heap_caps_add_region_with_caps(const uint32_t caps[], intptr_t start, intptr_t end) in heap_caps_add_region_with_caps() argument
210 if (caps == NULL || start == 0 || end == 0 || end <= start) { in heap_caps_add_region_with_caps()
218 if (!heap_caps_check_add_region_allowed(heap->start, heap->end, start, end)) { in heap_caps_add_region_with_caps()
230 p_new->start = start; in heap_caps_add_region_with_caps()
233 p_new->heap = multi_heap_register((void *)start, end - start); in heap_caps_add_region_with_caps()