Lines Matching refs:allocation_length
32 size_t* allocation_length) { in TryAllocateBackingStore() argument
43 *allocation_length = in TryAllocateBackingStore()
49 DCHECK_GE(*allocation_length, size); in TryAllocateBackingStore()
50 DCHECK_GE(*allocation_length, kWasmPageSize); in TryAllocateBackingStore()
60 if (memory_tracker->ReserveAddressSpace(*allocation_length)) break; in TryAllocateBackingStore()
84 *allocation_base = AllocatePages(nullptr, *allocation_length, kWasmPageSize, in TryAllocateBackingStore()
88 memory_tracker->ReleaseReservation(*allocation_length); in TryAllocateBackingStore()
112 *allocation_length, memory, size); in TryAllocateBackingStore()
164 size_t allocation_length, in RegisterAllocation() argument
169 allocated_address_space_ += allocation_length; in RegisterAllocation()
173 AllocationData{allocation_base, allocation_length, in RegisterAllocation()
185 size_t num_bytes = find_result->second.allocation_length; in ReleaseAllocation()
228 allocation->second.allocation_length; in HasFullGuardRegions()
236 CHECK(FreePages(allocation.allocation_base, allocation.allocation_length)); in FreeMemoryIfIsWasmMemory()
273 size_t allocation_length = 0; in NewArrayBuffer() local
282 &allocation_base, &allocation_length); in NewArrayBuffer()
289 &allocation_base, &allocation_length); in NewArrayBuffer()