Lines Matching refs:gop
374 struct gnttab_map_grant_ref *gop, in xenvif_get_requests() argument
391 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
394 xenvif_tx_create_map_op(queue, pending_idx, txp, 0, gop); in xenvif_get_requests()
404 shinfo->nr_frags++, txp++, gop++) { in xenvif_get_requests()
408 gop); in xenvif_get_requests()
416 return gop; in xenvif_get_requests()
804 struct gnttab_map_grant_ref *gop = queue->tx_map_ops; in xenvif_tx_build_gops() local
1011 extra_count, gop); in xenvif_tx_build_gops()
1012 gop++; in xenvif_tx_build_gops()
1024 gop = xenvif_get_requests(queue, skb, txfrags, gop, in xenvif_tx_build_gops()
1031 if (((gop-queue->tx_map_ops) >= ARRAY_SIZE(queue->tx_map_ops)) || in xenvif_tx_build_gops()
1036 (*map_ops) = gop - queue->tx_map_ops; in xenvif_tx_build_gops()
1266 struct gnttab_unmap_grant_ref *gop; in xenvif_tx_dealloc_action() local
1272 gop = queue->tx_unmap_ops; in xenvif_tx_dealloc_action()
1284 BUG_ON(gop - queue->tx_unmap_ops >= MAX_PENDING_REQS); in xenvif_tx_dealloc_action()
1288 pending_idx_release[gop - queue->tx_unmap_ops] = in xenvif_tx_dealloc_action()
1290 queue->pages_to_unmap[gop - queue->tx_unmap_ops] = in xenvif_tx_dealloc_action()
1292 gnttab_set_unmap_op(gop, in xenvif_tx_dealloc_action()
1297 ++gop; in xenvif_tx_dealloc_action()
1304 if (gop - queue->tx_unmap_ops > 0) { in xenvif_tx_dealloc_action()
1309 gop - queue->tx_unmap_ops); in xenvif_tx_dealloc_action()
1312 gop - queue->tx_unmap_ops, ret); in xenvif_tx_dealloc_action()
1313 for (i = 0; i < gop - queue->tx_unmap_ops; ++i) { in xenvif_tx_dealloc_action()
1314 if (gop[i].status != GNTST_okay) in xenvif_tx_dealloc_action()
1317 gop[i].host_addr, in xenvif_tx_dealloc_action()
1318 gop[i].handle, in xenvif_tx_dealloc_action()
1319 gop[i].status); in xenvif_tx_dealloc_action()
1325 for (i = 0; i < gop - queue->tx_unmap_ops; ++i) in xenvif_tx_dealloc_action()