Home
last modified time | relevance | path

Searched refs:vmar (Results 1 – 3 of 3) sorted by relevance

/third_party/node/deps/v8/src/base/platform/
Dplatform-fuchsia.cc91 void* MapVmo(const zx::vmar& vmar, void* vmar_base, size_t page_size, in MapVmo() argument
116 zx_status_t status = vmar.map(options, vmar_offset, vmo, 0, size, &result); in MapVmo()
123 status = vmar.map(options, 0, vmo, 0, size, &result); in MapVmo()
133 void* CreateAndMapVmo(const zx::vmar& vmar, void* vmar_base, size_t page_size, in CreateAndMapVmo() argument
153 return MapVmo(vmar, vmar_base, page_size, address, vmo, 0, placement, size, in CreateAndMapVmo()
157 bool UnmapVmo(const zx::vmar& vmar, size_t page_size, void* address, in UnmapVmo() argument
161 return vmar.unmap(reinterpret_cast<uintptr_t>(address), size) == ZX_OK; in UnmapVmo()
164 bool SetPermissionsInternal(const zx::vmar& vmar, size_t page_size, in SetPermissionsInternal() argument
170 return vmar.protect(prot, reinterpret_cast<uintptr_t>(address), size) == in SetPermissionsInternal()
174 bool DiscardSystemPagesInternal(const zx::vmar& vmar, size_t page_size, in DiscardSystemPagesInternal() argument
[all …]
Dplatform.h478 AddressSpaceReservation(void* base, size_t size, zx_handle_t vmar) in AddressSpaceReservation() argument
479 : base_(base), size_(size), vmar_(vmar) {} in AddressSpaceReservation()
/third_party/skia/src/ports/
DSkFontMgr_fuchsia.cpp26 zx::vmar::root_self()->unmap(reinterpret_cast<uintptr_t>(buffer), size); in UnmapMemory()
49 zx_status_t status = zx::vmar::root_self()->map(ZX_VM_PERM_READ, 0, data.vmo, 0, size, &buffer); in MakeSkDataFromBuffer()