Lines Matching refs:Vmo
63 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()
104 CHECK_EQ(_zx_handle_close(Vmo), ZX_OK); in map()
133 if (Data->Vmo != ZX_HANDLE_INVALID) in unmap()
134 CHECK_EQ(_zx_handle_close(Data->Vmo), ZX_OK); in unmap()
153 DCHECK_NE(Data->Vmo, ZX_HANDLE_INVALID); in releasePagesToOS()
155 _zx_vmo_op_range(Data->Vmo, ZX_VMO_OP_DECOMMIT, Offset, Size, NULL, 0); in releasePagesToOS()