Home
last modified time | relevance | path

Searched refs:_vq (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/virtio/
H A Dvirtqueue.c117 #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
[all …]