Lines Matching refs:gop
363 struct gnttab_map_grant_ref *gop, in xenvif_get_requests() argument
380 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
383 xenvif_tx_create_map_op(queue, pending_idx, txp, 0, gop); in xenvif_get_requests()
393 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
397 gop); in xenvif_get_requests()
405 return gop; in xenvif_get_requests()
793 struct gnttab_map_grant_ref *gop = queue->tx_map_ops; in xenvif_tx_build_gops() local
1000 extra_count, gop); in xenvif_tx_build_gops()
1001 gop++; in xenvif_tx_build_gops()
1013 gop = xenvif_get_requests(queue, skb, txfrags, gop, in xenvif_tx_build_gops()
1020 if (((gop-queue->tx_map_ops) >= ARRAY_SIZE(queue->tx_map_ops)) || in xenvif_tx_build_gops()
1025 (*map_ops) = gop - queue->tx_map_ops; in xenvif_tx_build_gops()
1254 struct gnttab_unmap_grant_ref *gop; in xenvif_tx_dealloc_action() local
1260 gop = queue->tx_unmap_ops; in xenvif_tx_dealloc_action()
1272 BUG_ON(gop - queue->tx_unmap_ops >= MAX_PENDING_REQS); in xenvif_tx_dealloc_action()
1276 pending_idx_release[gop - queue->tx_unmap_ops] = in xenvif_tx_dealloc_action()
1278 queue->pages_to_unmap[gop - queue->tx_unmap_ops] = in xenvif_tx_dealloc_action()
1280 gnttab_set_unmap_op(gop, in xenvif_tx_dealloc_action()
1285 ++gop; in xenvif_tx_dealloc_action()
1292 if (gop - queue->tx_unmap_ops > 0) { in xenvif_tx_dealloc_action()
1297 gop - queue->tx_unmap_ops); in xenvif_tx_dealloc_action()
1300 gop - queue->tx_unmap_ops, ret); in xenvif_tx_dealloc_action()
1301 for (i = 0; i < gop - queue->tx_unmap_ops; ++i) { in xenvif_tx_dealloc_action()
1302 if (gop[i].status != GNTST_okay) in xenvif_tx_dealloc_action()
1305 gop[i].host_addr, in xenvif_tx_dealloc_action()
1306 gop[i].handle, in xenvif_tx_dealloc_action()
1307 gop[i].status); in xenvif_tx_dealloc_action()
1313 for (i = 0; i < gop - queue->tx_unmap_ops; ++i) in xenvif_tx_dealloc_action()