Home
last modified time | relevance | path

Searched refs:mapop (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c645 gnttab_unmap_grant_ref_t mapop[SEGMF_MAX_GREFS]; in segmf_release_grefs() local
662 bzero(mapop, sizeof (gnttab_unmap_grant_ref_t) * cnt); in segmf_release_grefs()
673 mapop[n].handle = map[i].u.g.g_handle; in segmf_release_grefs()
674 mapop[n].host_addr = map[i].u.g.g_ptep; in segmf_release_grefs()
675 mapop[n].dev_bus_addr = 0; in segmf_release_grefs()
686 e = HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, &mapop, n); in segmf_release_grefs()
711 gnttab_map_grant_ref_t mapop[SEGMF_MAX_GREFS]; in segmf_fault_gref_range() local
727 bzero(mapop, sizeof (gnttab_map_grant_ref_t) * cnt); in segmf_fault_gref_range()
736 mapop[i].host_addr = map[i].u.g.g_ptep; in segmf_fault_gref_range()
737 mapop[i].dom = data->domid; in segmf_fault_gref_range()
[all …]
/titanic_41/usr/src/uts/intel/sys/
H A Dhypervisor.h141 extern int xen_map_gref(uint_t cmd, gnttab_map_grant_ref_t *mapop,
/titanic_41/usr/src/uts/common/xen/os/
H A Dxvdi.c517 gnttab_map_grant_ref_t mapop; in xvdi_map_ring() local
535 mapop.host_addr = (uint64_t)(uintptr_t)ringva; in xvdi_map_ring()
536 mapop.flags = GNTMAP_host_map; in xvdi_map_ring()
537 mapop.ref = gref; in xvdi_map_ring()
538 mapop.dom = oeid; in xvdi_map_ring()
539 err = xen_map_gref(GNTTABOP_map_grant_ref, &mapop, 1, B_FALSE); in xvdi_map_ring()
545 if (mapop.status != 0) { in xvdi_map_ring()
550 ring->xr_grant_hdl = mapop.handle; in xvdi_map_ring()
/titanic_41/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Dxpv_support.c286 xen_map_gref(uint_t cmd, gnttab_map_grant_ref_t *mapop, uint_t count, in xen_map_gref() argument
292 rc = HYPERVISOR_grant_table_op(cmd, mapop, count); in xen_map_gref()
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxen_machdep.c1306 xen_map_gref(uint_t cmd, gnttab_map_grant_ref_t *mapop, uint_t count, in xen_map_gref() argument
1317 mapop[i].flags |= (PT_FOREIGN <<_GNTMAP_guest_avail0); in xen_map_gref()
1322 rc = HYPERVISOR_grant_table_op(cmd, mapop, count); in xen_map_gref()