Searched refs:max_malloc_size (Results 1 – 3 of 3) 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()129 if (new_size > max_malloc_size) { in Reallocate()
58 static uptr max_malloc_size; variable64 max_malloc_size = Min(common_flags()->max_allocation_size_mb << 20, in dfsan_allocator_init()67 max_malloc_size = kMaxAllowedMallocSize; in dfsan_allocator_init()81 if (size > max_malloc_size) { in DFsanAllocate()88 ReportAllocationSizeTooBig(size, max_malloc_size, &stack); in DFsanAllocate()
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()