Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/dev/virtio/
HDvirtqueue.c107 #define VQASSERT(_vq, _exp, _msg, ...) \ argument
108 KASSERT((_exp),("%s: %s - "_msg, __func__, (_vq)->vq_name, \
111 #define VQ_RING_ASSERT_VALID_IDX(_vq, _idx) \ argument
112 VQASSERT((_vq), (_idx) < (_vq)->vq_nentries, \
114 (_vq)->vq_nentries)
116 #define VQ_RING_ASSERT_CHAIN_TERM(_vq) \ argument
117 VQASSERT((_vq), (_vq)->vq_desc_head_idx == \
119 "incorrectly: head idx: %d", (_vq)->vq_desc_head_idx)
138 #define vq_modern(_vq) (((_vq)->vq_flags & VIRTQUEUE_FLAG_MODERN) != 0) argument
139 #define vq_htog16(_vq, _val) virtio_htog16(vq_modern(_vq), _val) argument
[all …]