Lines Matching refs:VQASSERT
109 #define VQASSERT(_vq, _exp, _msg, ...) \ macro
114 VQASSERT((_vq), (_idx) < (_vq)->vq_nentries, \
119 VQASSERT((_vq), (_vq)->vq_desc_head_idx == \
451 VQASSERT(vq, nused <= vq->vq_nentries, "used more than available"); in virtqueue_nused()
530 VQASSERT(vq, cookie != NULL, "enqueuing with no cookie"); in virtqueue_enqueue()
531 VQASSERT(vq, needed == sg->sg_nseg, in virtqueue_enqueue()
533 VQASSERT(vq, in virtqueue_enqueue()
553 VQASSERT(vq, dxp->cookie == NULL, in virtqueue_enqueue()
594 VQASSERT(vq, cookie != NULL, "no cookie for index %d", desc_idx); in virtqueue_dequeue()
711 VQASSERT(vq, idx != VQ_RING_DESC_CHAIN_END, in vq_ring_enqueue_segments()
754 VQASSERT(vq, needed <= vq->vq_max_indirect_size, in vq_ring_enqueue_indirect()
762 VQASSERT(vq, dxp->cookie == NULL, in vq_ring_enqueue_indirect()
863 VQASSERT(vq, dxp->ndescs == 0, in vq_ring_free_chain()