Lines Matching refs:index
6 * Simple descriptor-based ring. virtio 0.9 compatible event index is used for
27 * Guest adds descriptors with unique index values and DESC_HW in flags.
28 * Host overwrites used descriptors with correct len, index, and DESC_HW clear.
35 unsigned short index;
68 /* we do not need to track last avail index
99 .index = i,
114 unsigned head, index;
133 index = ring[head].index;
134 data[index].buf = buf;
135 data[index].data = datap;
146 unsigned index;
154 index = ring[head].index & (ring_size - 1);
155 datap = data[index].data;
156 *bufp = data[index].buf;
157 data[index].buf = NULL;
158 data[index].data = NULL;
181 /* Flush call index write */
238 * to touch index at all. This also means we