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

/freebsd-13-stable/sys/dev/virtio/
H A Dvirtio_ring.h164 * Assuming a given event_idx value from the other size, if we have
169 vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) argument
172 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old);
H A Dvirtqueue.c816 uint16_t new_idx, prev_idx, event_idx, flags; local
821 event_idx = vq_htog16(vq, vring_avail_event(&vq->vq_ring));
823 return (vring_need_event(event_idx, new_idx, prev_idx) != 0);
/freebsd-13-stable/usr.sbin/bhyve/
H A Dvirtio.c470 uint16_t event_idx, new_idx, old_idx; local
496 event_idx = VQ_USED_EVENT_IDX(vq);
501 intr = (uint16_t)(new_idx - event_idx - 1) <
/freebsd-13-stable/sys/dev/iir/
H A Diir_ctrl.c285 gdt_store_event(p->dvr.event_source, p->dvr.event_idx,
H A Diir.h559 u_int16_t event_idx; member in struct:__anon12313
H A Diir.c1811 ebuffer[elastidx].event_idx == idx &&
1835 e->event_idx = idx;

Completed in 174 milliseconds