Searched refs:header (Results 1 – 2 of 2) sorted by relevance
/malloc/ |
A D | tst-interpose-aux.c | 133 if (header->allocation_index >= allocation_index) in get_header() 135 op, ptr, header->allocation_index, allocation_index); in get_header() 136 if (allocations[header->allocation_index] != header) in get_header() 138 op, ptr, allocations[header->allocation_index]); in get_header() 139 return header; in get_header() 180 size_t index = header->allocation_index; in free_internal() 181 int result = mprotect (header, header->allocation_size, PROT_NONE); in free_internal() 183 fail ("%s: mprotect (%p, %zu): %m", op, header, header->allocation_size); in free_internal() 201 free_internal ("realloc", header); in realloc_internal() 239 struct allocation_header *header = get_header ("free", ptr); in free() local [all …]
|
A D | memusage.c | 67 struct header struct 349 struct header *result = NULL; in malloc() 379 result = (struct header *) (*mallocp)(len + sizeof (struct header)); in malloc() 399 struct header *result = NULL; in realloc() 400 struct header *real; in realloc() 424 real = ((struct header *) old) - 1; in realloc() 467 result = (struct header *) (*reallocp)(real, len + sizeof (struct header)); in realloc() 494 struct header *result; in calloc() 525 result = (struct header *) (*mallocp)(size + sizeof (struct header)); in calloc() 545 struct header *real; in free() [all …]
|
Completed in 6 milliseconds