Home
last modified time | relevance | path

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

/dports/sysutils/syslinux/syslinux-6.03/core/mem/
H A 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))
H A 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()
H A Dinit.c36 if (len >= 2 * sizeof(struct arena_header)) { in scan_highmem_area()
H A Dfree.c75 ((struct arena_header *)ptr - 1); in bios_free()
/dports/sysutils/syslinux/syslinux-6.03/dos/
H A Dmalloc.h23 struct arena_header { struct
40 #define ARENA_SIZE_MASK (sizeof(struct arena_header)-1) argument
50 struct arena_header a;
H 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()
H A Dfree.c68 ((struct arena_header *)ptr - 1); in free()
/dports/sysutils/syslinux/syslinux-6.03/com32/lib/
H A Dmalloc.h23 struct arena_header { struct
40 #define ARENA_SIZE_MASK (~(uintptr_t)(sizeof(struct arena_header)-1)) argument
50 struct arena_header a;