Home
last modified time | relevance | path

Searched refs:Vmo (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingPlatformFuchsia.c62 zx_handle_t Vmo; member
77 zx_status_t Status = _zx_vmo_set_size(Ctx->Vmo, Ctx->Offset + Length); in lprofVMOWriter()
85 Status = _zx_vmo_write(Ctx->Vmo, IOVecs[I].Data, Ctx->Offset, Length); in lprofVMOWriter()
95 _zx_object_set_property(Ctx->Vmo, ZX_PROP_VMO_CONTENT_SIZE, &Ctx->Offset, in lprofVMOWriter()
136 zx_handle_t Vmo = ZX_HANDLE_INVALID; in __llvm_profile_initialize() local
137 Status = _zx_vmo_create(0, ZX_VMO_RESIZABLE, &Vmo); in __llvm_profile_initialize()
148 _zx_object_set_property(Vmo, ZX_PROP_NAME, VmoName, strlen(VmoName)); in __llvm_profile_initialize()
152 struct lprofVMOWriterCtx Ctx = {.Vmo = Vmo, .Offset = 0}; in __llvm_profile_initialize()
156 _zx_handle_close(Vmo); in __llvm_profile_initialize()
161 Status = _zx_vmo_get_size(Vmo, &Len); in __llvm_profile_initialize()
[all …]
/external/scudo/standalone/
Dfuchsia.cpp63 zx_handle_t Vmo; in map() local
65 if (Data && Data->Vmo != ZX_HANDLE_INVALID) { in map()
69 Vmo = Data->Vmo; in map()
71 Status = _zx_vmo_set_size(Vmo, VmoSize + Size); in map()
79 Status = _zx_vmo_create(Size, ZX_VMO_RESIZABLE, &Vmo); in map()
85 _zx_object_set_property(Vmo, ZX_PROP_NAME, Name, strlen(Name)); in map()
95 Status = _zx_vmar_map(Vmar, MapFlags, Offset, Vmo, VmoSize, Size, &P); in map()
99 if (Data->Vmo == ZX_HANDLE_INVALID) in map()
100 Data->Vmo = Vmo; in map()
102 DCHECK_EQ(Data->Vmo, Vmo); in map()
[all …]
Dfuchsia.h22 zx_handle_t Vmo; member
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dfuchsia.cpp64 zx_handle_t Vmo; in map() local
66 if (Data && Data->Vmo != ZX_HANDLE_INVALID) { in map()
70 Vmo = Data->Vmo; in map()
72 Status = _zx_vmo_set_size(Vmo, VmoSize + Size); in map()
80 Status = _zx_vmo_create(Size, ZX_VMO_RESIZABLE, &Vmo); in map()
86 _zx_object_set_property(Vmo, ZX_PROP_NAME, Name, strlen(Name)); in map()
96 Status = _zx_vmar_map(Vmar, MapFlags, Offset, Vmo, VmoSize, Size, &P); in map()
100 DCHECK_EQ(Data->Vmo, ZX_HANDLE_INVALID); in map()
101 Data->Vmo = Vmo; in map()
103 CHECK_EQ(_zx_handle_close(Vmo), ZX_OK); in map()
[all …]
Dfuchsia.h22 zx_handle_t Vmo; member
/external/gwp_asan/gwp_asan/platform_specific/
Dguarded_pool_allocator_fuchsia.cpp25 zx_handle_t Vmo; in map() local
26 zx_status_t Status = _zx_vmo_create(Size, 0, &Vmo); in map()
28 _zx_object_set_property(Vmo, ZX_PROP_NAME, Name, strlen(Name)); in map()
32 0, Vmo, 0, Size, &Addr); in map()
34 _zx_handle_close(Vmo); in map()
70 zx_handle_t Vmo; in allocateInGuardedPool() local
71 zx_status_t Status = _zx_vmo_create(Size, 0, &Vmo); in allocateInGuardedPool()
73 _zx_object_set_property(Vmo, ZX_PROP_NAME, kGwpAsanAliveSlotName, in allocateInGuardedPool()
83 Offset, Vmo, 0, Size, &P); in allocateInGuardedPool()
85 _zx_handle_close(Vmo); in allocateInGuardedPool()
/external/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/
Dguarded_pool_allocator_fuchsia.cpp26 zx_handle_t Vmo; in map() local
27 zx_status_t Status = _zx_vmo_create(Size, 0, &Vmo); in map()
29 _zx_object_set_property(Vmo, ZX_PROP_NAME, Name, strlen(Name)); in map()
33 0, Vmo, 0, Size, &Addr); in map()
35 _zx_handle_close(Vmo); in map()
71 zx_handle_t Vmo; in allocateInGuardedPool() local
72 zx_status_t Status = _zx_vmo_create(Size, 0, &Vmo); in allocateInGuardedPool()
74 _zx_object_set_property(Vmo, ZX_PROP_NAME, kGwpAsanAliveSlotName, in allocateInGuardedPool()
84 Offset, Vmo, 0, Size, &P); in allocateInGuardedPool()
86 _zx_handle_close(Vmo); in allocateInGuardedPool()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_utils.cpp45 _zx_handle_close(Vmo); in ~LogWriter()
58 zx_status_t Status = _zx_vmo_set_size(Vmo, Offset + TotalBytes); in WriteAll()
66 zx_status_t Status = _zx_vmo_write(Vmo, Begin, Offset, TotalBytes); in WriteAll()
74 _zx_object_set_property(Vmo, ZX_PROP_VMO_CONTENT_SIZE, in WriteAll()
84 zx_handle_t Vmo; in Open() local
85 zx_status_t Status = _zx_vmo_create(0, ZX_VMO_RESIZABLE, &Vmo); in Open()
105 _zx_object_set_property(Vmo, ZX_PROP_NAME, VmoName, strlen(VmoName)); in Open()
110 Status =_zx_handle_duplicate(Vmo, ZX_RIGHT_SAME_RIGHTS, &Handle); in Open()
126 new (LW) LogWriter(Vmo); in Open()
Dxray_allocator.h42 zx_handle_t Vmo; in allocate() local
43 zx_status_t Status = _zx_vmo_create(RoundedSize, 0, &Vmo); in allocate()
53 Vmo, 0, sizeof(T), &B); in allocate()
54 _zx_handle_close(Vmo); in allocate()
93 zx_handle_t Vmo; in allocateBuffer() local
94 zx_status_t Status = _zx_vmo_create(RoundedSize, 0, &Vmo); in allocateBuffer()
103 ZX_VM_PERM_READ | ZX_VM_PERM_WRITE, 0, Vmo, 0, S, &B); in allocateBuffer()
104 _zx_handle_close(Vmo); in allocateBuffer()
Dxray_utils.h32 LogWriter(zx_handle_t Vmo) : Vmo(Vmo) {} in LogWriter() argument
50 zx_handle_t Vmo = ZX_HANDLE_INVALID;