Searched refs:arena_header (Results 1 – 8 of 8) sorted by relevance
46 struct arena_header { struct60 #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))
30 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()
36 if (len >= 2 * sizeof(struct arena_header)) { in scan_highmem_area()
75 ((struct arena_header *)ptr - 1); in bios_free()
23 struct arena_header { struct40 #define ARENA_SIZE_MASK (sizeof(struct arena_header)-1) argument50 struct arena_header a;
48 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()
68 ((struct arena_header *)ptr - 1); in free()
23 struct arena_header { struct40 #define ARENA_SIZE_MASK (~(uintptr_t)(sizeof(struct arena_header)-1)) argument50 struct arena_header a;