Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/Support/rpmalloc/
H A Drpmalloc.c2139 size_t heap_span_count = ((aligned_heap_size * request_heap_count) + local
2142 size_t block_size = _memory_span_size * heap_span_count;
2143 size_t span_count = heap_span_count;
2146 if (_memory_global_reserve_count >= heap_span_count) {
2147 span = _rpmalloc_global_get_reserved_spans(heap_span_count);
2161 heap_span_count = ((aligned_heap_size * request_heap_count) +
2173 _rpmalloc_span_initialize(span, span_count, heap_span_count, align_offset);
2194 if (span_count > heap_span_count) {
2196 size_t remain_count = span_count - heap_span_count;
2201 (span_t *)pointer_offset(span, heap_span_count * _memory_span_size);