Lines Matching defs:mapop
645 gnttab_unmap_grant_ref_t mapop[SEGMF_MAX_GREFS];
662 bzero(mapop, sizeof (gnttab_unmap_grant_ref_t) * cnt);
673 mapop[n].handle = map[i].u.g.g_handle;
674 mapop[n].host_addr = map[i].u.g.g_ptep;
675 mapop[n].dev_bus_addr = 0;
686 e = HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, &mapop, n);
711 gnttab_map_grant_ref_t mapop[SEGMF_MAX_GREFS];
727 bzero(mapop, sizeof (gnttab_map_grant_ref_t) * cnt);
736 mapop[i].host_addr = map[i].u.g.g_ptep;
737 mapop[i].dom = data->domid;
738 mapop[i].ref = map[i].u.g.g_gref;
739 mapop[i].flags = GNTMAP_host_map | GNTMAP_application_map |
742 mapop[i].flags |= GNTMAP_readonly;
745 e = xen_map_gref(GNTTABOP_map_grant_ref, mapop, cnt, B_TRUE);
746 if ((e != 0) || (mapop[0].status != GNTST_okay)) {
752 ASSERT(mapop[i].status == GNTST_okay);
753 map[i].u.g.g_handle = mapop[i].handle;