Searched refs:last_avail_idx (Results 1 – 2 of 2) sorted by relevance
143 __builtin_sub_overflow(vq->vring.avail->idx, vq->last_avail_idx, in _vqueue_get_avail_buf_locked()148 vq->last_avail_idx, vq->vring.avail->idx); in _vqueue_get_avail_buf_locked()151 if (vq->last_avail_idx == vq->vring.avail->idx) { in _vqueue_get_avail_buf_locked()155 if (vq->last_avail_idx == vq->vring.avail->idx) { in _vqueue_get_avail_buf_locked()164 next_idx = vq->vring.avail->ring[vq->last_avail_idx % vq->vring.num]; in _vqueue_get_avail_buf_locked()165 __builtin_add_overflow(vq->last_avail_idx, 1, &vq->last_avail_idx); in _vqueue_get_avail_buf_locked()
50 uint16_t last_avail_idx; member