Searched refs:heapClass (Results 1 - 3 of 3) sorted by last modified time
/haiku/src/system/kernel/ |
H A D | heap.cpp | 1159 const heap_class *heapClass, bool allocateOnHeap) 1174 heap->page_size = heapClass->page_size; 1185 uint32 count = heap->page_size / heapClass->min_bin_size; 1186 for (; count >= heapClass->min_count_per_page; count--, lastSize = binSize) { 1190 binSize = (heap->page_size / count) & ~(heapClass->bin_alignment - 1); 1193 if (heap->page_size - count * binSize > heapClass->max_waste_per_page) 2109 static const heap_class heapClass = { local 2129 VIP_HEAP_SIZE, &heapClass, false); 1158 heap_create_allocator(const char *name, addr_t base, size_t size, const heap_class *heapClass, bool allocateOnHeap) argument
|
/haiku/headers/private/kernel/ |
H A D | heap.h | 73 size_t size, const heap_class* heapClass, bool allocateOnHeap);
|
/haiku/src/system/libroot/posix/malloc_debug/ |
H A D | heap.cpp | 784 const heap_class *heapClass) 791 heap->page_size = heapClass->page_size; 798 uint32 count = heap->page_size / heapClass->min_bin_size; 799 for (; count >= heapClass->min_count_per_page; count--, lastSize = binSize) { 803 binSize = (heap->page_size / count) & ~(heapClass->bin_alignment - 1); 806 if (heap->page_size - count * binSize > heapClass->max_waste_per_page) 1886 uint32 heapClass = alignment < B_PAGE_SIZE local 1889 heap_allocator *heap = sHeaps[heapClass]; 783 heap_create_allocator(const char *name, addr_t base, size_t size, const heap_class *heapClass) argument
|
Completed in 30 milliseconds