Lines Matching refs:map_op
1753 struct gnttab_map_grant_ref map_op; in xnb_connect_rings() local
1776 map_op.host_addr = (uint64_t)((long)xnbp->xnb_tx_ring_addr); in xnb_connect_rings()
1777 map_op.flags = GNTMAP_host_map; in xnb_connect_rings()
1778 map_op.ref = xnbp->xnb_tx_ring_ref; in xnb_connect_rings()
1779 map_op.dom = xnbp->xnb_peer; in xnb_connect_rings()
1781 if (xen_map_gref(GNTTABOP_map_grant_ref, &map_op, 1, B_FALSE) != 0 || in xnb_connect_rings()
1782 map_op.status != 0) { in xnb_connect_rings()
1786 xnbp->xnb_tx_ring_handle = map_op.handle; in xnb_connect_rings()
1798 map_op.host_addr = (uint64_t)((long)xnbp->xnb_rx_ring_addr); in xnb_connect_rings()
1799 map_op.flags = GNTMAP_host_map; in xnb_connect_rings()
1800 map_op.ref = xnbp->xnb_rx_ring_ref; in xnb_connect_rings()
1801 map_op.dom = xnbp->xnb_peer; in xnb_connect_rings()
1803 if (xen_map_gref(GNTTABOP_map_grant_ref, &map_op, 1, B_FALSE) != 0 || in xnb_connect_rings()
1804 map_op.status != 0) { in xnb_connect_rings()
1808 xnbp->xnb_rx_ring_handle = map_op.handle; in xnb_connect_rings()