Lines Matching refs:head
18 /* the renderer is expected to store the head with memory_order_release,
21 return atomic_load_explicit(ring->shared.head, memory_order_acquire);
77 head) {
84 list_del(&submit->head);
85 list_add(&submit->head, &ring->free_submits);
97 const uint32_t head = vn_ring_load_head(ring);
98 if (vn_ring_ge_seqno(ring, head, seqno))
99 return head;
109 const uint32_t head = vn_ring_load_head(ring);
110 if (likely(ring->cur + size - head <= ring->buffer_size)) {
111 *out_head = head;
123 uint32_t head;
124 if (likely(vn_ring_has_space(ring, size, &head)))
125 return head;
134 if (vn_ring_has_space(ring, size, &head))
135 return head;
147 uint32_t head __attribute__((aligned(64)));
156 layout->head_offset = offsetof(struct layout, head);
185 ring->shared.head = shared + layout->head_offset;
202 &ring->free_submits, head)
216 list_first_entry(&ring->free_submits, struct vn_ring_submit, head);
217 list_del(&submit->head);
248 list_addtail(&submit->head, &ring->submits);