Home
last modified time | relevance | path

Searched refs:AllocatePageSize (Results 1 – 25 of 36) sorted by relevance

12

/third_party/node/deps/v8/src/base/platform/
Dplatform-fuchsia.cc252 AllocatePageSize(), address, placement, size, in Allocate()
258 CHECK(UnmapVmo(*zx::vmar::root_self(), AllocatePageSize(), address, size)); in Free()
268 return MapVmo(*zx::vmar::root_self(), g_root_vmar_base, AllocatePageSize(), in AllocateShared()
269 address, *vmo, offset, placement, size, AllocatePageSize(), in AllocateShared()
275 CHECK(UnmapVmo(*zx::vmar::root_self(), AllocatePageSize(), address, size)); in FreeShared()
315 *zx::vmar::root_self(), g_root_vmar_base, AllocatePageSize(), hint, in CreateAddressSpaceReservation()
391 *zx::unowned_vmar(vmar_), base(), OS::AllocatePageSize(), address, in CreateSubReservation()
392 PlacementMode::kFixed, size, OS::AllocatePageSize(), max_permission, in CreateSubReservation()
410 *zx::unowned_vmar(vmar_), base(), OS::AllocatePageSize(), address, in Allocate()
411 PlacementMode::kFixed, size, OS::AllocatePageSize(), access); in Allocate()
[all …]
Dplatform-macos.cc72 DCHECK_EQ(0, size % AllocatePageSize()); in AllocateShared()
93 DCHECK(IsAligned(reinterpret_cast<uintptr_t>(address), AllocatePageSize())); in RemapPages()
95 IsAligned(reinterpret_cast<uintptr_t>(new_address), AllocatePageSize())); in RemapPages()
96 DCHECK(IsAligned(size, AllocatePageSize())); in RemapPages()
Dplatform-posix.cc274 size_t OS::AllocatePageSize() { in AllocatePageSize() function in v8::base::OS
286 return OS::AllocatePageSize(); in CommitPageSize()
306 DCHECK_EQ(1 << 14, AllocatePageSize()); in GetRandomMmapAddr()
310 raw_addr = RoundDown(raw_addr, AllocatePageSize()); in GetRandomMmapAddr()
395 size_t page_size = AllocatePageSize(); in Allocate()
401 request_size = RoundUp(request_size, OS::AllocatePageSize()); in Allocate()
429 DCHECK_EQ(0, size % AllocatePageSize()); in AllocateShared()
435 DCHECK_EQ(0, reinterpret_cast<uintptr_t>(address) % AllocatePageSize()); in Free()
436 DCHECK_EQ(0, size % AllocatePageSize()); in Free()
445 DCHECK_EQ(0, size % AllocatePageSize()); in AllocateShared()
[all …]
Dplatform-cygwin.cc101 size_t page_size = AllocatePageSize(); in Allocate()
151 DCHECK_EQ(0, static_cast<uintptr_t>(address) % AllocatePageSize()); in Free()
152 DCHECK_EQ(0, size % AllocatePageSize()); in Free()
Dplatform-win32.cc774 size_t OS::AllocatePageSize() { in AllocatePageSize() function in v8::base::OS
935 size_t page_size = AllocatePageSize(); in Allocate()
951 DCHECK_EQ(0, reinterpret_cast<uintptr_t>(address) % AllocatePageSize()); in Free()
952 DCHECK_EQ(0, size % AllocatePageSize()); in Free()
960 DCHECK_EQ(0, reinterpret_cast<uintptr_t>(hint) % AllocatePageSize()); in AllocateShared()
961 DCHECK_EQ(0, size % AllocatePageSize()); in AllocateShared()
962 DCHECK_EQ(0, offset % AllocatePageSize()); in AllocateShared()
1057 size_t page_size = AllocatePageSize(); in CreateAddressSpaceReservation()
1219 DCHECK_EQ(0, size % OS::AllocatePageSize()); in CreateSubReservation()
1220 DCHECK_EQ(0, reinterpret_cast<uintptr_t>(address) % OS::AllocatePageSize()); in CreateSubReservation()
Dplatform-starboard.cc122 size_t OS::AllocatePageSize() { return kSbMemoryPageSize; } in AllocatePageSize() function in v8::base::OS
158 size_t page_size = AllocatePageSize(); in Allocate()
164 request_size = RoundUp(request_size, OS::AllocatePageSize()); in Allocate()
/third_party/node/deps/v8/src/utils/
Dallocation.cc184 size_t AllocatePageSize() { in AllocatePageSize() function
185 return GetPlatformPageAllocator()->AllocatePageSize(); in AllocatePageSize()
202 DCHECK(IsAligned(size, page_allocator->AllocatePageSize())); in AllocatePages()
210 size_t request_size = size + alignment - page_allocator->AllocatePageSize(); in AllocatePages()
219 DCHECK(IsAligned(size, page_allocator->AllocatePageSize())); in FreePages()
253 size_t page_size = page_allocator_->AllocatePageSize(); in VirtualMemory()
311 RoundUp(region.size(), page_allocator->AllocatePageSize())); in Free()
324 RoundUp(region.size(), page_allocator->AllocatePageSize())); in FreeReadOnly()
356 const size_t allocate_page_size = params.page_allocator->AllocatePageSize(); in InitReservation()
Dallocation.h136 V8_EXPORT_PRIVATE size_t AllocatePageSize();
215 DCHECK(IsAligned(address, page_allocator->AllocatePageSize())); in VirtualMemory()
/third_party/node/deps/v8/src/heap/cppgc/
Dgc-info-table.cc64 nullptr, MaxTableSize(), page_allocator_->AllocatePageSize(), in GCInfoTable()
77 page_allocator_->AllocatePageSize()); in MaxTableSize()
85 RoundUp(memory_wanted, page_allocator_->AllocatePageSize()) / kEntrySize; in InitialTableLimit()
97 CHECK_EQ(0u, new_committed_size % page_allocator_->AllocatePageSize()); in Resize()
Dvirtual-memory.cc19 const size_t page_size = page_allocator_->AllocatePageSize(); in VirtualMemory()
Dcaged-heap.cc32 kCagedHeapReservationSize % platform_allocator.AllocatePageSize()); in ReserveCagedHeap()
Dpage-memory.cc107 allocator.AllocatePageSize())), in NormalPageMemoryRegion()
143 allocator.AllocatePageSize())), in LargePageMemoryRegion()
/third_party/node/deps/v8/src/init/
Disolate-allocator.cc27 platform_page_allocator->AllocatePageSize()); in GetIsolateRootBiasPageSize()
51 RoundUp(size_t{1} << kPageSizeBits, page_allocator->AllocatePageSize()); in PtrComprCageReservationParams()
177 size_t page_size = page_allocator_->AllocatePageSize(); in CommitPagesForIsolate()
/third_party/node/deps/v8/src/heap/
Dcode-range.cc114 DCHECK_LE(kMinExpectedOSPageSize, page_allocator->AllocatePageSize()); in InitReservation()
125 const size_t allocate_page_size = page_allocator->AllocatePageSize(); in InitReservation()
193 const size_t kAllocatePageSize = page_allocator()->AllocatePageSize(); in RemapEmbeddedBuiltins()
/third_party/node/deps/v8/src/wasm/
Dstacks.h95 size_ = RoundUp(size_, allocator->AllocatePageSize()); in StackMemory()
97 allocator->AllocatePages(nullptr, size_, allocator->AllocatePageSize(), in StackMemory()
/third_party/node/deps/v8/src/base/
Dvirtual-address-space-page-allocator.h32 size_t AllocatePageSize() override { return vas_->allocation_granularity(); } in AllocatePageSize() function
Dpage-allocator.h25 size_t AllocatePageSize() override { return allocate_page_size_; } in NON_EXPORTED_BASE()
Dbounded-page-allocator.h58 size_t AllocatePageSize() override { return allocate_page_size_; } in AllocatePageSize() function
Dpage-allocator.cc35 : allocate_page_size_(base::OS::AllocatePageSize()), in PageAllocator()
Dbounded-page-allocator.cc19 DCHECK(IsAligned(allocate_page_size, page_allocator->AllocatePageSize())); in BoundedPageAllocator()
/third_party/node/deps/v8/src/base/sanitizer/
Dlsan-page-allocator.h23 size_t AllocatePageSize() override { return allocate_page_size_; } in AllocatePageSize() function
Dlsan-page-allocator.cc19 allocate_page_size_(page_allocator_->AllocatePageSize()), in LsanPageAllocator()
/third_party/node/deps/v8/src/zone/
Daccounting-allocator.cc31 platform_allocator->AllocatePageSize())); in ReserveAddressSpace()
/third_party/node/deps/v8/src/snapshot/embedded/
Dembedded-data.cc129 static_cast<uint32_t>(page_allocator->AllocatePageSize()); in CreateOffHeapOffHeapInstructionStream()
179 static_cast<uint32_t>(page_allocator->AllocatePageSize()); in FreeOffHeapOffHeapInstructionStream()
/third_party/node/deps/v8/src/objects/
Dbacking-store.cc86 DCHECK_EQ(0, start % AllocatePageSize()); in GetReservedRegion()
519 DCHECK_EQ(0, wasm::kWasmPageSize % AllocatePageSize()); in AllocateWasmMemory()

12