Searched refs:allocation_header (Results 1 – 1 of 1) sorted by relevance
96 struct __attribute__ ((aligned (__alignof__ (max_align_t)))) allocation_header struct105 static struct allocation_header *allocations[max_allocations]; argument130 static struct allocation_header *get_header (const char *op, void *ptr) in get_header()132 struct allocation_header *header = ((struct allocation_header *) ptr) - 1; in get_header()153 size_t allocation_size = size + sizeof (struct allocation_header); in malloc_internal()166 *allocations[index] = (struct allocation_header) in malloc_internal()178 free_internal (const char *op, struct allocation_header *header) in free_internal()192 struct allocation_header *header = get_header ("realloc", ptr); in realloc_internal()193 size_t old_size = header->allocation_size - sizeof (struct allocation_header); in realloc_internal()239 struct allocation_header *header = get_header ("free", ptr); in free()
Completed in 6 milliseconds