Lines Matching refs:used
190 vrh.vring.desc, vrh.vring.avail, vrh.vring.used); in parallel_test()
254 if (riov.used) { in parallel_test()
260 assert(riov.i == riov.used); in parallel_test()
267 assert(wiov.i == wiov.used); in parallel_test()
446 struct vring_used_elem used[RINGSIZE]; in main() local
494 vrh.vring.desc, vrh.vring.avail, vrh.vring.used); in main()
525 assert(riov.used == 1); in main()
529 assert(wiov.used == 1); in main()
533 assert(wiov.used == 2); in main()
552 assert(wiov.i == wiov.used); in main()
597 assert(riov.used == RINGSIZE); in main()
599 assert(riov.used == RINGSIZE * USER_MEM/4); in main()
602 assert(wiov.used == 0); in main()
613 assert(riov.i == riov.used); in main()
618 used[0].id = head; in main()
619 used[0].len = 0; in main()
620 err = vringh_complete_multi_user(&vrh, used, 1); in main()
646 used[i].id = head; in main()
647 used[i].len = 0; in main()
650 assert(vrh.vring.used->idx % RINGSIZE != 0); in main()
651 err = vringh_complete_multi_user(&vrh, used, RINGSIZE); in main()
736 assert(riov.used == 7); in main()
738 assert(riov.used == 28); in main()