Home
last modified time | relevance | path

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

/tools/virtio/ringtest/
Dvirtio_ring_0_9.c42 unsigned short avail_idx; member
78 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()
Dring.c60 unsigned avail_idx; member
92 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()
/tools/virtio/
Dvringh_test.c113 u16 avail_idx, i; in vringh_get_head() local
116 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()