Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/heap/
Dmulti_heap_poisoning.c55 } poison_head_t; typedef
61 #define POISON_OVERHEAD (sizeof(poison_head_t) + sizeof(poison_tail_t))
68 static uint8_t *poison_allocated_region(poison_head_t *head, size_t alloc_size) in poison_allocated_region()
92 static poison_head_t *verify_allocated_region(void *data, bool print_errors) in verify_allocated_region()
94 poison_head_t *head = (poison_head_t *)((intptr_t)data - sizeof(poison_head_t)); in verify_allocated_region()
199 poison_head_t *head = multi_heap_aligned_alloc_impl_offs(heap, size + POISON_OVERHEAD, in multi_heap_aligned_alloc()
200 alignment, sizeof(poison_head_t)); in multi_heap_aligned_alloc()
230 poison_head_t *head = multi_heap_malloc_impl(heap, size + POISON_OVERHEAD); in multi_heap_malloc()
252 poison_head_t *head = verify_allocated_region(p, true); in multi_heap_free()
272 poison_head_t *head = NULL; in multi_heap_realloc()
[all …]