Searched refs:avail_idx (Results 1 – 3 of 3) sorted by relevance
42 unsigned short avail_idx; member78 guest.avail_idx = 0; in alloc_ring()111 head = (ring_size - 1) & (guest.avail_idx++); in add_inbuf()135 avail = guest.avail_idx++; in add_inbuf()142 avail = (ring_size - 1) & (guest.avail_idx++); in add_inbuf()148 ring.avail->idx = guest.avail_idx; in add_inbuf()234 guest.avail_idx, in kick_available()237 guest.kicked_avail_idx = guest.avail_idx; in kick_available()
60 unsigned avail_idx; member92 guest.avail_idx = 0; in alloc_ring()120 head = (ring_size - 1) & (guest.avail_idx++); in add_inbuf()195 guest.avail_idx, in kick_available()198 guest.kicked_avail_idx = guest.avail_idx; in kick_available()
113 u16 avail_idx, i; in vringh_get_head() local116 err = get_user(avail_idx, &vrh->vring.avail->idx); in vringh_get_head()120 if (vrh->last_avail_idx == avail_idx) in vringh_get_head()