Home
last modified time | relevance | path

Searched refs:Vmar (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/
H A Dguarded_pool_allocator_fuchsia.cpp52 Size, &GuardedPagePoolPlatformData.Vmar, &Addr); in reserveGuardedPool()
54 _zx_object_set_property(GuardedPagePoolPlatformData.Vmar, ZX_PROP_NAME, in reserveGuardedPool()
60 const zx_handle_t Vmar = GuardedPagePoolPlatformData.Vmar; in unreserveGuardedPool() local
61 assert(Vmar != ZX_HANDLE_INVALID && Vmar != _zx_vmar_root_self()); in unreserveGuardedPool()
62 check(_zx_vmar_destroy(Vmar) == ZX_OK, "Failed to destroy a vmar"); in unreserveGuardedPool()
63 check(_zx_handle_close(Vmar) == ZX_OK, "Failed to close a vmar"); in unreserveGuardedPool()
64 GuardedPagePoolPlatformData.Vmar = ZX_HANDLE_INVALID; in unreserveGuardedPool()
75 const zx_handle_t Vmar = GuardedPagePoolPlatformData.Vmar; in allocateInGuardedPool() local
76 assert(Vmar != ZX_HANDLE_INVALID && Vmar != _zx_vmar_root_self()); in allocateInGuardedPool()
80 Status = _zx_vmar_map(Vmar, in allocateInGuardedPool()
[all …]
H A Dguarded_pool_allocator_fuchsia.h17 zx_handle_t Vmar; member
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dfuchsia.cpp47 DCHECK_EQ(Data->Vmar, ZX_HANDLE_INVALID); in allocateVmar()
52 Size, &Data->Vmar, &Data->VmarBase); in allocateVmar()
70 const zx_handle_t Vmar = (Data && Data->Vmar != ZX_HANDLE_INVALID) in map() local
71 ? Data->Vmar in map()
109 Status = _zx_vmar_map(Vmar, MapFlags, Offset, Vmo, VmoSize, Size, &P); in map()
117 Status = _zx_vmar_op_range(Vmar, ZX_VMAR_OP_COMMIT, P, Size, in map()
146 const zx_handle_t Vmar = Data->Vmar; in unmap() local
147 DCHECK_NE(Vmar, _zx_vmar_root_self()); in unmap()
149 CHECK_EQ(_zx_vmar_destroy(Vmar), ZX_OK); in unmap()
150 CHECK_EQ(_zx_handle_close(Vmar), ZX_OK); in unmap()
[all …]
H A Dfuchsia.h22 zx_handle_t Vmar; member