Lines Matching refs:VQASSERT
117 #define VQASSERT(_vq, _exp, _msg, ...) \ macro
122 VQASSERT((_vq), (_idx) < (_vq)->vq_nentries, \
127 VQASSERT((_vq), (_vq)->vq_desc_head_idx == \
588 VQASSERT(vq, nused <= vq->vq_nentries, "used more than available"); in virtqueue_nused()
675 VQASSERT(vq, cookie != NULL, "enqueuing with no cookie"); in virtqueue_enqueue()
676 VQASSERT(vq, needed == sg->sg_nseg, in virtqueue_enqueue()
678 VQASSERT(vq, in virtqueue_enqueue()
698 VQASSERT(vq, dxp->cookie == NULL, in virtqueue_enqueue()
746 VQASSERT(vq, cookie != NULL, "no cookie for index %d", desc_idx); in virtqueue_dequeue()
870 VQASSERT(vq, idx != VQ_RING_DESC_CHAIN_END, in vq_ring_enqueue_segments()
914 VQASSERT(vq, needed <= vq->vq_max_indirect_size, in vq_ring_enqueue_indirect()
922 VQASSERT(vq, dxp->cookie == NULL, in vq_ring_enqueue_indirect()
1034 VQASSERT(vq, dxp->ndescs == 0, in vq_ring_free_chain()