Home
last modified time | relevance | path

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

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc/
A Drealloc.c38 if (unlikely(((unsigned long)new_size > (unsigned long)(MALLOC_HEADER_SIZE*-2)))) in realloc()
49 new_size = HEAP_ADJUST_SIZE (new_size + MALLOC_HEADER_SIZE); in realloc()
75 void *new_mem = malloc (new_size - MALLOC_HEADER_SIZE); in realloc()
78 memcpy (new_mem, mem, size - MALLOC_HEADER_SIZE); in realloc()
A Dmalloc.h114 #define MALLOC_HEADER_SIZE \ macro
121 (MALLOC_SET_SIZE (base, size), (void *)((char *)base + MALLOC_HEADER_SIZE))
126 #define MALLOC_BASE(addr) ((void *)((char *)addr - MALLOC_HEADER_SIZE))
A Dmalloc.c71 size += MALLOC_HEADER_SIZE; in __malloc_from_heap()
221 if (unlikely(((unsigned long)size > (unsigned long)(MALLOC_HEADER_SIZE*-2)))) in malloc()

Completed in 4 milliseconds