Searched refs:vq_avail (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/sys/dev/beri/virtio/
H A Dvirtio.c86 be16toh(vq->vq_avail->idx));
132 ndesc = (be16toh(vq->vq_avail->idx) - idx);
136 head = be16toh(vq->vq_avail->ring[idx & (vq->vq_qsize - 1)]);
178 head = be16toh(vq->vq_avail->ring[vq->vq_last_avail++ & mask]);
H A Dvirtio.h52 uint16_t vq_last_avail; /* a recent value of vq_avail->va_idx */
57 volatile struct vring_avail *vq_avail; /* the "avail" ring */ member in struct:vqueue_info
H A Dvirtio_block.c300 if ((be16toh(vq->vq_avail->flags) & VRING_AVAIL_F_NO_INTERRUPT) == 0) {
334 vq->vq_avail = (struct vring_avail *)base;
/freebsd-13-stable/usr.sbin/bhyve/
H A Dvirtio.h383 * Note: the addresses of vq_desc, vq_avail, and vq_used are all
400 uint16_t vq_last_avail; /* a recent value of vq_avail->va_idx */
408 volatile struct vring_avail *vq_avail; /* the "avail" ring */ member in struct:vqueue_info
416 ((vq)->vq_avail->va_ring[(vq)->vq_qsize])
437 vq->vq_avail->va_idx);
H A Dvirtio.c193 vq->vq_avail = (struct vring_avail *)base;
282 * update vq->vq_avail->va_idx until all of the descriptors
294 ndesc = (uint16_t)((u_int)vq->vq_avail->va_idx - idx);
314 *pidx = next = vq->vq_avail->va_ring[idx & (vq->vq_qsize - 1)];
505 !(vq->vq_avail->va_flags & VRING_AVAIL_F_NO_INTERRUPT);
904 SNAPSHOT_GUEST2HOST_ADDR_OR_LEAVE(vq->vq_avail, addr_size,
/freebsd-13-stable/sys/dev/beri/virtio/network/
H A Dif_vtbe.c370 vq->vq_avail = (struct vring_avail *)base;

Completed in 38 milliseconds