Lines Matching refs:end
24 size_t heap_size = region->end - region->start; in register_heap()
103 heap->end = region->start + region->size; in heap_caps_init()
151 esp_err_t heap_caps_add_region(intptr_t start, intptr_t end) in heap_caps_add_region() argument
162 return heap_caps_add_region_with_caps(caps, start, end); in heap_caps_add_region()
170 …caps_check_add_region_allowed(intptr_t heap_start, intptr_t heap_end, intptr_t start, intptr_t end) 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()
231 p_new->end = end; 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()