Lines Matching refs:gop
875 struct gnttab_map_grant_ref *gop, in xenvif_get_requests() argument
892 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
895 xenvif_tx_create_map_op(queue, pending_idx, txp, gop); in xenvif_get_requests()
905 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
908 xenvif_tx_create_map_op(queue, pending_idx, txp, gop); in xenvif_get_requests()
916 return gop; in xenvif_get_requests()
1303 struct gnttab_map_grant_ref *gop = queue->tx_map_ops; in xenvif_tx_build_gops() local
1477 xenvif_tx_create_map_op(queue, pending_idx, &txreq, gop); in xenvif_tx_build_gops()
1478 gop++; in xenvif_tx_build_gops()
1488 gop = xenvif_get_requests(queue, skb, txfrags, gop, in xenvif_tx_build_gops()
1495 if (((gop-queue->tx_map_ops) >= ARRAY_SIZE(queue->tx_map_ops)) || in xenvif_tx_build_gops()
1500 (*map_ops) = gop - queue->tx_map_ops; in xenvif_tx_build_gops()
1720 struct gnttab_unmap_grant_ref *gop; in xenvif_tx_dealloc_action() local
1726 gop = queue->tx_unmap_ops; in xenvif_tx_dealloc_action()
1738 BUG_ON(gop - queue->tx_unmap_ops >= MAX_PENDING_REQS); in xenvif_tx_dealloc_action()
1742 pending_idx_release[gop - queue->tx_unmap_ops] = in xenvif_tx_dealloc_action()
1744 queue->pages_to_unmap[gop - queue->tx_unmap_ops] = in xenvif_tx_dealloc_action()
1746 gnttab_set_unmap_op(gop, in xenvif_tx_dealloc_action()
1751 ++gop; in xenvif_tx_dealloc_action()
1758 if (gop - queue->tx_unmap_ops > 0) { in xenvif_tx_dealloc_action()
1763 gop - queue->tx_unmap_ops); in xenvif_tx_dealloc_action()
1766 gop - queue->tx_unmap_ops, ret); in xenvif_tx_dealloc_action()
1767 for (i = 0; i < gop - queue->tx_unmap_ops; ++i) { in xenvif_tx_dealloc_action()
1768 if (gop[i].status != GNTST_okay) in xenvif_tx_dealloc_action()
1771 gop[i].host_addr, in xenvif_tx_dealloc_action()
1772 gop[i].handle, in xenvif_tx_dealloc_action()
1773 gop[i].status); in xenvif_tx_dealloc_action()
1779 for (i = 0; i < gop - queue->tx_unmap_ops; ++i) in xenvif_tx_dealloc_action()