Lines Matching refs:Vmo
64 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()
132 if (Data->Vmo != ZX_HANDLE_INVALID) in unmap()
133 CHECK_EQ(_zx_handle_close(Data->Vmo), ZX_OK); in unmap()
142 DCHECK_NE(Data->Vmo, ZX_HANDLE_INVALID); in releasePagesToOS()
144 _zx_vmo_op_range(Data->Vmo, ZX_VMO_OP_DECOMMIT, Offset, Size, NULL, 0); in releasePagesToOS()