Lines Matching refs:gop
864 struct gnttab_map_grant_ref *gop, in xenvif_get_requests() argument
881 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
884 xenvif_tx_create_map_op(queue, pending_idx, txp, gop); in xenvif_get_requests()
894 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
897 xenvif_tx_create_map_op(queue, pending_idx, txp, gop); in xenvif_get_requests()
905 return gop; in xenvif_get_requests()
1289 struct gnttab_map_grant_ref *gop = queue->tx_map_ops; in xenvif_tx_build_gops() local
1461 xenvif_tx_create_map_op(queue, pending_idx, &txreq, gop); in xenvif_tx_build_gops()
1462 gop++; in xenvif_tx_build_gops()
1472 gop = xenvif_get_requests(queue, skb, txfrags, gop, in xenvif_tx_build_gops()
1479 if (((gop-queue->tx_map_ops) >= ARRAY_SIZE(queue->tx_map_ops)) || in xenvif_tx_build_gops()
1484 (*map_ops) = gop - queue->tx_map_ops; in xenvif_tx_build_gops()
1704 struct gnttab_unmap_grant_ref *gop; in xenvif_tx_dealloc_action() local
1710 gop = queue->tx_unmap_ops; in xenvif_tx_dealloc_action()
1722 BUG_ON(gop - queue->tx_unmap_ops >= MAX_PENDING_REQS); in xenvif_tx_dealloc_action()
1726 pending_idx_release[gop - queue->tx_unmap_ops] = in xenvif_tx_dealloc_action()
1728 queue->pages_to_unmap[gop - queue->tx_unmap_ops] = in xenvif_tx_dealloc_action()
1730 gnttab_set_unmap_op(gop, in xenvif_tx_dealloc_action()
1735 ++gop; in xenvif_tx_dealloc_action()
1742 if (gop - queue->tx_unmap_ops > 0) { in xenvif_tx_dealloc_action()
1747 gop - queue->tx_unmap_ops); in xenvif_tx_dealloc_action()
1750 gop - queue->tx_unmap_ops, ret); in xenvif_tx_dealloc_action()
1751 for (i = 0; i < gop - queue->tx_unmap_ops; ++i) { in xenvif_tx_dealloc_action()
1752 if (gop[i].status != GNTST_okay) in xenvif_tx_dealloc_action()
1755 gop[i].host_addr, in xenvif_tx_dealloc_action()
1756 gop[i].handle, in xenvif_tx_dealloc_action()
1757 gop[i].status); in xenvif_tx_dealloc_action()
1763 for (i = 0; i < gop - queue->tx_unmap_ops; ++i) in xenvif_tx_dealloc_action()