Lines Matching refs:work_to_do
682 int work_to_do) in xenvif_count_requests() argument
695 if (slots >= work_to_do) { in xenvif_count_requests()
698 work_to_do); in xenvif_count_requests()
1067 int work_to_do) in xenvif_get_extras() argument
1073 if (unlikely(work_to_do-- <= 0)) { in xenvif_get_extras()
1094 return work_to_do; in xenvif_get_extras()
1193 int work_to_do; in xenvif_tx_build_gops() local
1208 work_to_do = RING_HAS_UNCONSUMED_REQUESTS(&queue->tx); in xenvif_tx_build_gops()
1209 if (!work_to_do) in xenvif_tx_build_gops()
1223 work_to_do--; in xenvif_tx_build_gops()
1228 work_to_do = xenvif_get_extras(queue, extras, in xenvif_tx_build_gops()
1229 work_to_do); in xenvif_tx_build_gops()
1231 if (unlikely(work_to_do < 0)) in xenvif_tx_build_gops()
1235 ret = xenvif_count_requests(queue, &txreq, txfrags, work_to_do); in xenvif_tx_build_gops()