Lines Matching refs:_vq
117 #define VQASSERT(_vq, _exp, _msg, ...) \ argument
118 KASSERT((_exp),("%s: %s - "_msg, __func__, (_vq)->vq_name, \
121 #define VQ_RING_ASSERT_VALID_IDX(_vq, _idx) \ argument
122 VQASSERT((_vq), (_idx) < (_vq)->vq_nentries, \
124 (_vq)->vq_nentries)
126 #define VQ_RING_ASSERT_CHAIN_TERM(_vq) \ argument
127 VQASSERT((_vq), (_vq)->vq_desc_head_idx == \
129 "incorrectly: head idx: %d", (_vq)->vq_desc_head_idx)
153 #define vq_modern(_vq) (((_vq)->vq_flags & VIRTQUEUE_FLAG_MODERN) != 0) argument
154 #define vq_htog16(_vq, _val) virtio_htog16(vq_modern(_vq), _val) argument
155 #define vq_htog32(_vq, _val) virtio_htog32(vq_modern(_vq), _val) argument
156 #define vq_htog64(_vq, _val) virtio_htog64(vq_modern(_vq), _val) argument
157 #define vq_gtoh16(_vq, _val) virtio_gtoh16(vq_modern(_vq), _val) argument
158 #define vq_gtoh32(_vq, _val) virtio_gtoh32(vq_modern(_vq), _val) argument
159 #define vq_gtoh64(_vq, _val) virtio_gtoh64(vq_modern(_vq), _val) argument