Home | History | Annotate | Download | only in linux

Lines Matching refs:ring

56  * at the end of the avail ring. Host should ignore the avail->flags field. */
58 * at the end of the used ring. Guest should ignore the used->flags field. */
61 /* Virtio ring descriptors: 16 bytes. These can chain together via "next". */
76 __u16 ring[];
90 struct vring_used_elem ring[];
103 /* The standard layout for the ring is a continuous chunk of memory which looks
111 * // A ring of available descriptor heads with free-running index.
120 * // A ring of used descriptor heads with free-running index.
127 /* We publish the used event index at the end of the available ring, and vice
129 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
130 #define vring_avail_event(vr) (*(__u16 *)&(vr)->used->ring[(vr)->num])
138 vr->used = (void *)(((unsigned long)&vr->avail->ring[num] + sizeof(__u16)
156 * in include/xen/interface/io/ring.h with req_event and req_prod