Lines Matching defs:index
188 /* Last used index we've seen.
189 * for split ring, it just contains last used index
191 * bits up to VRING_PACKED_EVENT_F_WRAP_CTR include the last used index.
226 static struct virtqueue *__vring_new_virtqueue(unsigned int index,
868 * by writing event index and flush out the write before
915 * either clear the flags bit or point the event index at the next
948 * either clear the flags bit or point the event index at the next
949 * entry. Always update the event index to keep code simple. */
1142 unsigned int index,
1163 vq = __vring_new_virtqueue(index, &vring_split, vdev, weak_barriers,
1728 * by writing event index and flush out the write before
2054 unsigned int index,
2080 vq->vq.index = index;
2602 static struct virtqueue *__vring_new_virtqueue(unsigned int index,
2626 vq->vq.index = index;
2666 unsigned int index,
2679 return vring_create_virtqueue_packed(index, num, vring_align,
2683 return vring_create_virtqueue_split(index, num, vring_align,
2690 unsigned int index,
2704 return vring_create_virtqueue_packed(index, num, vring_align,
2708 return vring_create_virtqueue_split(index, num, vring_align,
2849 struct virtqueue *vring_new_virtqueue(unsigned int index,
2866 return __vring_new_virtqueue(index, &vring_split, vdev, weak_barriers,
2939 return next << 16 | _vq->index;