Lines Matching full:completed
37 long completed; member
285 long completed_before = vq->completed; in run_tx_test()
290 (vq->started - vq->completed) < 1) { in run_tx_test()
309 /* Flush out completed bufs if any */ in run_tx_test()
317 ++vq->completed; in run_tx_test()
322 if (vq->completed == completed_before && vq->started == started_before) in run_tx_test()
325 assert(vq->completed <= bufs); in run_tx_test()
327 if (vq->completed == bufs) in run_tx_test()
338 printf("TX spurious wakeups: 0x%llx started=0x%lx completed=0x%lx\n", in run_tx_test()
339 spurious, vq->started, vq->completed); in run_tx_test()
352 long completed_before = vq->completed; in run_rx_test()
356 (vq->started - vq->completed) < 1) { in run_rx_test()
378 /* Flush out completed bufs if any */ in run_rx_test()
392 ++vq->completed; in run_rx_test()
397 if (vq->completed == completed_before && vq->started == started_before) in run_rx_test()
400 assert(vq->completed <= bufs); in run_rx_test()
402 if (vq->completed == bufs) in run_rx_test()
406 printf("RX spurious wakeups: 0x%llx started=0x%lx completed=0x%lx\n", in run_rx_test()
407 spurious, vq->started, vq->completed); in run_rx_test()