Home
last modified time | relevance | path

Searched refs:AllocatePageSize (Results 1 - 25 of 37) sorted by relevance

12

/third_party/node/deps/v8/src/base/platform/
H A 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(), acces in Allocate()
[all...]
H A Dplatform-posix.cc280 size_t OS::AllocatePageSize() { in AllocatePageSize() function in v8::base::OS
292 return OS::AllocatePageSize(); in CommitPageSize()
312 DCHECK_EQ(1 << 14, AllocatePageSize()); in GetRandomMmapAddr()
316 raw_addr = RoundDown(raw_addr, AllocatePageSize()); in GetRandomMmapAddr()
401 size_t page_size = AllocatePageSize(); in Allocate()
407 request_size = RoundUp(request_size, OS::AllocatePageSize()); in Allocate()
435 DCHECK_EQ(0, size % AllocatePageSize()); in AllocateShared()
441 DCHECK_EQ(0, reinterpret_cast<uintptr_t>(address) % AllocatePageSize()); in Free()
442 DCHECK_EQ(0, size % AllocatePageSize()); in Free()
451 DCHECK_EQ(0, size % AllocatePageSize()); in AllocateShared()
[all...]
H A 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()
H A 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()
H A 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()
[all...]
H A 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/
H A 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()
H A Dallocation.h136 V8_EXPORT_PRIVATE size_t AllocatePageSize();
150 // AllocatePageSize(). Returns the address of the allocated memory, with the
159 // be multiples of AllocatePageSize().
215 DCHECK(IsAligned(address, page_allocator->AllocatePageSize())); in VirtualMemory()
333 // Below, AllocatePageSize is short for
334 // ReservationParams::page_allocator->AllocatePageSize().
336 // - The reservation size must be AllocatePageSize-aligned.
338 // and the base bias size must be AllocatePageSize-aligned.
/third_party/node/deps/v8/src/heap/cppgc/
H A 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()
H A Dcaged-heap.cc32 kCagedHeapReservationSize % platform_allocator.AllocatePageSize()); in ReserveCagedHeap()
H A Dvirtual-memory.cc19 const size_t page_size = page_allocator_->AllocatePageSize(); in VirtualMemory()
H A Dpage-memory.cc107 allocator.AllocatePageSize())), in NormalPageMemoryRegion()
143 allocator.AllocatePageSize())), in LargePageMemoryRegion()
/third_party/node/deps/v8/src/init/
H A 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/
H A 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()
H A Dread-only-spaces.cc86 size_t size = RoundUp(chunk->size(), page_allocator_->AllocatePageSize()); in ~SingleCopyReadOnlyArtifacts()
227 size_t size = RoundUp(page->size(), page_allocator->AllocatePageSize()); in Initialize()
/third_party/node/deps/v8/src/wasm/
H A 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/
H A Dpage-allocator.h25 size_t AllocatePageSize() override { return allocate_page_size_; }
H A Dvirtual-address-space-page-allocator.h32 size_t AllocatePageSize() override { return vas_->allocation_granularity(); }
H A Dbounded-page-allocator.h58 size_t AllocatePageSize() override { return allocate_page_size_; }
H A Dpage-allocator.cc35 : allocate_page_size_(base::OS::AllocatePageSize()), in PageAllocator()
H A Dbounded-page-allocator.cc19 DCHECK(IsAligned(allocate_page_size, page_allocator->AllocatePageSize())); in BoundedPageAllocator()
/third_party/node/deps/v8/src/base/sanitizer/
H A Dlsan-page-allocator.cc19 allocate_page_size_(page_allocator_->AllocatePageSize()), in LsanPageAllocator()
H A Dlsan-page-allocator.h23 size_t AllocatePageSize() override { return allocate_page_size_; }
/third_party/node/deps/v8/src/zone/
H A Daccounting-allocator.cc31 platform_allocator->AllocatePageSize())); in ReserveAddressSpace()
/third_party/node/deps/v8/src/snapshot/embedded/
H A Dembedded-data.cc129 static_cast<uint32_t>(page_allocator->AllocatePageSize()); in CreateOffHeapOffHeapInstructionStream()
179 static_cast<uint32_t>(page_allocator->AllocatePageSize()); in FreeOffHeapOffHeapInstructionStream()

Completed in 16 milliseconds

12