Lines Matching refs:VQASSERT
108 #define VQASSERT(_vq, _exp, _msg, ...) \ macro
113 VQASSERT((_vq), (_idx) < (_vq)->vq_nentries, \
118 VQASSERT((_vq), (_vq)->vq_desc_head_idx == \
455 VQASSERT(vq, nused <= vq->vq_nentries, "used more than available"); in virtqueue_nused()
534 VQASSERT(vq, cookie != NULL, "enqueuing with no cookie"); in virtqueue_enqueue()
535 VQASSERT(vq, needed == sg->sg_nseg, in virtqueue_enqueue()
537 VQASSERT(vq, in virtqueue_enqueue()
557 VQASSERT(vq, dxp->cookie == NULL, in virtqueue_enqueue()
598 VQASSERT(vq, cookie != NULL, "no cookie for index %d", desc_idx); in virtqueue_dequeue()
718 VQASSERT(vq, idx != VQ_RING_DESC_CHAIN_END, in vq_ring_enqueue_segments()
762 VQASSERT(vq, needed <= vq->vq_max_indirect_size, in vq_ring_enqueue_indirect()
770 VQASSERT(vq, dxp->cookie == NULL, in vq_ring_enqueue_indirect()
871 VQASSERT(vq, dxp->ndescs == 0, in vq_ring_free_chain()