Home
last modified time | relevance | path

Searched refs:POISON_OVERHEAD (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/heap/
Dmulti_heap_poisoning.c62 #define POISON_OVERHEAD (sizeof(poison_head_t) + sizeof(poison_tail_t)) macro
215 if (size > SIZE_MAX - POISON_OVERHEAD) { in multi_heap_aligned_alloc()
220 poison_head_t *head = multi_heap_aligned_alloc_impl_offs(heap, size + POISON_OVERHEAD, in multi_heap_aligned_alloc()
246 if(size > SIZE_MAX - POISON_OVERHEAD) { in multi_heap_malloc()
251 poison_head_t *head = multi_heap_malloc_impl(heap, size + POISON_OVERHEAD); in multi_heap_malloc()
281 head->alloc_size + POISON_OVERHEAD); in multi_heap_free()
299 if(size > SIZE_MAX - POISON_OVERHEAD) { in multi_heap_realloc()
317 new_head = multi_heap_realloc_impl(heap, head, size + POISON_OVERHEAD); in multi_heap_realloc()
335 new_head = multi_heap_malloc_impl(heap, size + POISON_OVERHEAD); in multi_heap_realloc()
374 if (*arg > POISON_OVERHEAD) { in subtract_poison_overhead()
[all …]