Lines Matching refs:gop

818 							struct gnttab_map_grant_ref *gop)  in xenvif_get_requests()  argument
841 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
844 xenvif_tx_create_map_op(queue, pending_idx, txp, gop); in xenvif_get_requests()
861 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
864 xenvif_tx_create_map_op(queue, pending_idx, txp, gop); in xenvif_get_requests()
872 return gop; in xenvif_get_requests()
1183 struct gnttab_map_grant_ref *gop = queue->tx_map_ops, *request_gop; in xenvif_tx_build_gops() local
1307 xenvif_tx_create_map_op(queue, pending_idx, &txreq, gop); in xenvif_tx_build_gops()
1308 gop++; in xenvif_tx_build_gops()
1318 request_gop = xenvif_get_requests(queue, skb, txfrags, gop); in xenvif_tx_build_gops()
1324 gop = request_gop; in xenvif_tx_build_gops()
1330 if (((gop-queue->tx_map_ops) >= ARRAY_SIZE(queue->tx_map_ops)) || in xenvif_tx_build_gops()
1335 (*map_ops) = gop - queue->tx_map_ops; in xenvif_tx_build_gops()
1556 struct gnttab_unmap_grant_ref *gop; in xenvif_tx_dealloc_action() local
1562 gop = queue->tx_unmap_ops; in xenvif_tx_dealloc_action()
1574 BUG_ON(gop - queue->tx_unmap_ops >= MAX_PENDING_REQS); in xenvif_tx_dealloc_action()
1578 pending_idx_release[gop - queue->tx_unmap_ops] = in xenvif_tx_dealloc_action()
1580 queue->pages_to_unmap[gop - queue->tx_unmap_ops] = in xenvif_tx_dealloc_action()
1582 gnttab_set_unmap_op(gop, in xenvif_tx_dealloc_action()
1587 ++gop; in xenvif_tx_dealloc_action()
1594 if (gop - queue->tx_unmap_ops > 0) { in xenvif_tx_dealloc_action()
1599 gop - queue->tx_unmap_ops); in xenvif_tx_dealloc_action()
1602 gop - queue->tx_unmap_ops, ret); in xenvif_tx_dealloc_action()
1603 for (i = 0; i < gop - queue->tx_unmap_ops; ++i) { in xenvif_tx_dealloc_action()
1604 if (gop[i].status != GNTST_okay) in xenvif_tx_dealloc_action()
1607 gop[i].host_addr, in xenvif_tx_dealloc_action()
1608 gop[i].handle, in xenvif_tx_dealloc_action()
1609 gop[i].status); in xenvif_tx_dealloc_action()
1615 for (i = 0; i < gop - queue->tx_unmap_ops; ++i) in xenvif_tx_dealloc_action()