Lines Matching full:used
19 * may be used to endorse or promote products derived from this software
48 * Mark a descriptor as available or used in packed ring.
54 /* The Host uses this in used->flags to advise the Guest: don't kick me when
83 /* The Guest publishes the used index for which it expects an interrupt
86 * at the end of the used ring. Guest should ignore the used->flags field. */
114 /* u32 is used here for ids for padding reasons. */
116 /* Index of start of used descriptor chain. */
118 /* Total length of the descriptor chain which was used (written to) */
139 * When used on a struct, or struct member, the aligned attribute can only
141 * be specified as well. When used as part of a typedef, the aligned attribute
159 vring_used_t *used; member
181 * // A ring of used descriptor heads with free-running index.
184 * struct vring_used_elem used[num];
188 /* We publish the used event index at the end of the available ring, and vice
191 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used->ring[(vr)->num])
199 vr->used = (void *)(((uintptr_t)&vr->avail->ring[num] + sizeof(__virtio16) in vring_init()
212 /* The following is used with USED_EVENT_IDX and AVAIL_EVENT_IDX */