Home
last modified time | relevance | path

Searched refs:gnts (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/xen/blkback/
H A Dblkback.c2695 struct gnttab_map_grant_ref gnts[XBB_MAX_RING_PAGES]; in xbb_connect_ring() local
2714 for (ring_idx = 0, gnt = gnts; in xbb_connect_ring()
2724 error = HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, gnts, in xbb_connect_ring()
2729 for (ring_idx = 0, gnt = gnts; in xbb_connect_ring()
2744 if (gnts[i].status != GNTST_okay) in xbb_connect_ring()
2747 unmap[j].host_addr = gnts[i].host_addr; in xbb_connect_ring()
2748 unmap[j].dev_bus_addr = gnts[i].dev_bus_addr; in xbb_connect_ring()
2749 unmap[j++].handle = gnts[i].handle; in xbb_connect_ring()
/freebsd/sys/dev/xen/netback/
H A Dnetback.c639 struct gnttab_unmap_grant_ref gnts[XNB_NUM_RING_TYPES]; in xnb_disconnect() local
666 gnts[i].host_addr = xnb->ring_configs[i].gnt_addr; in xnb_disconnect()
667 gnts[i].dev_bus_addr = xnb->ring_configs[i].bus_addr; in xnb_disconnect()
668 gnts[i].handle = xnb->ring_configs[i].handle; in xnb_disconnect()
670 error = HYPERVISOR_grant_table_op(GNTTABOP_unmap_grant_ref, gnts, in xnb_disconnect()