Searched refs:max_malloc_size (Results 1 – 2 of 2) sorted by relevance
39 static uptr max_malloc_size; variable46 max_malloc_size = Min(common_flags()->max_allocation_size_mb << 20, in InitializeAllocator()49 max_malloc_size = kMaxAllowedMallocSize; in InitializeAllocator()82 ReportAllocationSizeTooBig(size, max_malloc_size, &stack); in ReportAllocationSizeTooBig()89 if (size > max_malloc_size) in Allocate()127 if (new_size > max_malloc_size) { in Reallocate()
132 static uptr max_malloc_size; variable138 max_malloc_size = Min(common_flags()->max_allocation_size_mb << 20, in MsanAllocatorInit()141 max_malloc_size = kMaxAllowedMallocSize; in MsanAllocatorInit()156 if (size > max_malloc_size) { in MsanAllocate()161 ReportAllocationSizeTooBig(size, max_malloc_size, stack); in MsanAllocate()