Lines Matching refs:poison_head_t
56 } poison_head_t; typedef
62 #define POISON_OVERHEAD (sizeof(poison_head_t) + sizeof(poison_tail_t))
69 __attribute__((noinline)) static uint8_t *poison_allocated_region(poison_head_t *head, size_t allo… in poison_allocated_region()
93 __attribute__((noinline)) static poison_head_t *verify_allocated_region(void *data, bool print_erro… in verify_allocated_region()
95 poison_head_t *head = (poison_head_t *)((intptr_t)data - sizeof(poison_head_t)); in verify_allocated_region()
220 poison_head_t *head = multi_heap_aligned_alloc_impl_offs(heap, size + POISON_OVERHEAD, in multi_heap_aligned_alloc()
221 alignment, sizeof(poison_head_t)); in multi_heap_aligned_alloc()
251 poison_head_t *head = multi_heap_malloc_impl(heap, size + POISON_OVERHEAD); in multi_heap_malloc()
275 poison_head_t *head = verify_allocated_region(p, true); in multi_heap_free()
295 poison_head_t *head = NULL; in multi_heap_realloc()
296 poison_head_t *new_head; in multi_heap_realloc()
351 return head + sizeof(poison_head_t); in multi_heap_get_block_address()
356 return MULTI_HEAP_GET_BLOCK_OWNER((poison_head_t*)multi_heap_get_block_address_impl(block)); in multi_heap_get_block_owner()
383 poison_head_t *head = verify_allocated_region(p, true); in multi_heap_get_allocated_size()
428 void *data = (void *)((intptr_t)start + sizeof(poison_head_t)); in multi_heap_internal_check_block_poisoning()
429 poison_head_t *head = verify_allocated_region(data, print_errors); in multi_heap_internal_check_block_poisoning()