Home
last modified time | relevance | path

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

/lk-master/lib/heap/cmpctmalloc/
A Dcmpctmalloc.c60 #define NUMBER_OF_BUCKETS (1 + 15 + (HEAP_ALLOC_VIRTUAL_BITS - 7) * 8) macro
78 free_t *free_lists[NUMBER_OF_BUCKETS];
81 #define BUCKET_WORDS (((NUMBER_OF_BUCKETS) + 31) >> 5)
110 for (int i = 0; i < NUMBER_OF_BUCKETS; i++) { in cmpct_dump()
163 DEBUG_ASSERT(answer < NUMBER_OF_BUCKETS); in size_to_index_helper()
208 for (index = ROUNDUP(index + 1, 32); index <= NUMBER_OF_BUCKETS; index += 32) { in find_nonempty_bucket()
619 bucket < NUMBER_OF_BUCKETS; in cmpct_trim()
847 for (int i = 0; i < NUMBER_OF_BUCKETS; i++) { in cmpct_init()

Completed in 4 milliseconds