Home
last modified time | relevance | path

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

/external/syslinux/core/mem/
Dmalloc.h46 struct arena_header { struct
60 #define ARENA_PADDING ((2 * sizeof(struct arena_header)) - \
61 (sizeof(struct arena_header) + \
70 struct arena_header a;
75 #define ARENA_SIZE_MASK (~(uintptr_t)(sizeof(struct arena_header)-1))
Dmalloc.c30 if ( fsize >= size+2*sizeof(struct arena_header) ) { in __malloc_from_block()
78 size = (size + 2 * sizeof(struct arena_header) - 1) & ARENA_SIZE_MASK; in bios_malloc()
144 ((struct arena_header *)ptr - 1); in bios_realloc()
158 newsize = (size + 2 * sizeof(struct arena_header) - 1) & ARENA_SIZE_MASK; in bios_realloc()
185 if (xsize >= newsize + 2 * sizeof(struct arena_header)) { in bios_realloc()
228 oldsize -= sizeof(struct arena_header); in bios_realloc()
Dinit.c36 if (len >= 2 * sizeof(struct arena_header)) { in scan_highmem_area()
Dfree.c75 ((struct arena_header *)ptr - 1); in bios_free()
/external/syslinux/dos/
Dmalloc.h23 struct arena_header { struct
40 #define ARENA_SIZE_MASK (sizeof(struct arena_header)-1) argument
50 struct arena_header a;
Dmalloc.c48 if (fsize >= size + 2 * sizeof(struct arena_header)) { in __malloc_from_block()
89 size = (size + 2 * sizeof(struct arena_header) - 1) & ~ARENA_SIZE_MASK; in malloc()
Dfree.c68 ((struct arena_header *)ptr - 1); in free()
/external/syslinux/com32/lib/
Dmalloc.h23 struct arena_header { struct
40 #define ARENA_SIZE_MASK (~(uintptr_t)(sizeof(struct arena_header)-1)) argument
50 struct arena_header a;