Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary64.h179 CompactPtrT *free_array = GetFreeArray(region_beg); in ReturnToAllocator() local
194 free_array[old_num_chunks + i] = chunks[i]; in ReturnToAllocator()
205 CompactPtrT *free_array = GetFreeArray(region_beg); in GetFromAllocator() local
228 chunks[i] = free_array[base_idx + i]; in GetFromAllocator()
516 static void ReleaseFreeMemoryToOS(CompactPtrT *free_array, in ReleaseFreeMemoryToOS() argument
570 counters.Inc(free_array[i] >> page_size_scaled_log); in ReleaseFreeMemoryToOS()
575 free_array[i] >> page_size_scaled_log, in ReleaseFreeMemoryToOS()
576 (free_array[i] + chunk_size_scaled - 1) >> page_size_scaled_log); in ReleaseFreeMemoryToOS()
833 CompactPtrT *free_array = GetFreeArray(region_beg); in PopulateFreeArray() local
836 free_array[total_freed_chunks - 1 - i] = PointerToCompactPtr(0, chunk); in PopulateFreeArray()
[all …]