Lines Matching full:used
19 * may be used to endorse or promote products derived from this software
46 * Mark a descriptor as available or used in packed ring.
52 /* The Host uses this in used->flags to advise the Guest: don't kick me when
81 /* The Guest publishes the used index for which it expects an interrupt
84 * at the end of the used ring. Guest should ignore the used->flags field. */
118 /* uint32_t is used here for ids for padding reasons. */
120 /* Index of start of used descriptor chain. */
122 /* Total length of the descriptor chain which was used (written to) */
143 * When used on a struct, or struct member, the aligned attribute can only
145 * be specified as well. When used as part of a typedef, the aligned attribute
163 vring_used_t *used; member
185 * // A ring of used descriptor heads with free-running index.
188 * struct vring_used_elem used[num];
192 /* We publish the used event index at the end of the available ring, and vice
195 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num])
203 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
216 /* The following is used with USED_EVENT_IDX and AVAIL_EVENT_IDX */