Lines Matching full:assert
9 #include <assert.h>
59 assert(r == sizeof v); in vq_notify()
81 assert(r >= 0); in vhost_vq_setup()
84 assert(r >= 0); in vhost_vq_setup()
87 assert(r >= 0); in vhost_vq_setup()
89 assert(r >= 0); in vhost_vq_setup()
92 assert(r >= 0); in vhost_vq_setup()
95 assert(r >= 0); in vhost_vq_setup()
107 assert(info->vq); in vq_reset()
119 assert(r >= 0); in vq_info_add()
136 assert(dev->buf); in vdev_info_init()
138 assert(dev->control >= 0); in vdev_info_init()
140 assert(r >= 0); in vdev_info_init()
143 assert(dev->mem); in vdev_info_init()
151 assert(r >= 0); in vdev_info_init()
181 assert(r >= 0); in run_test()
224 assert(!r); in run_test()
240 assert(!r); in run_test()
245 assert(!r); in run_test()
249 assert(!r); in run_test()
258 assert(completed <= bufs); in run_test()
259 assert(started <= bufs); in run_test()
272 assert(r >= 0); in run_test()
379 assert(batch > 0); in main()
380 assert(batch < (long)INT_MAX + 1); in main()
388 assert(reset > 0); in main()
389 assert(reset < (long)INT_MAX + 1); in main()
393 assert(0); in main()