Home
last modified time | relevance | path

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

/lk-master/lib/heap/cmpctmalloc/
A Dcmpctmalloc.c47 #define HEAP_ALLOC_VIRTUAL_BITS 22 macro
52 STATIC_ASSERT(HEAP_GROW_SIZE <= (1u << HEAP_ALLOC_VIRTUAL_BITS));
60 #define NUMBER_OF_BUCKETS (1 + 15 + (HEAP_ALLOC_VIRTUAL_BITS - 7) * 8)
687 if (size + sizeof(header_t) > (1u << HEAP_ALLOC_VIRTUAL_BITS)) return large_alloc(size); in cmpct_alloc()
698 size_t growby = MIN(1u << HEAP_ALLOC_VIRTUAL_BITS, in cmpct_alloc()

Completed in 5 milliseconds