Lines Matching refs:head
78 * behind head).
93 /* Read kring pointers (head, cur, sync_flags) from the CSB.
101 * We place a memory barrier to make sure that the update of head never
105 CSB_READ(ptr, head, shadow_ring->head);
110 /* Make sure that loads from atok->head and atok->cur are not delayed
185 batch = shadow_ring.head - kring->nr_hwcur;
197 nm_prdis(1, "batch: %d head: %d head_lim: %d", batch, shadow_ring.head,
199 shadow_ring.head = head_lim;
261 if (shadow_ring.head == kring->rhead) {
275 if (shadow_ring.head != kring->rhead) {
396 if (sync_kloop_norxslots(kring, shadow_ring.head)) {
410 if (!sync_kloop_norxslots(kring, shadow_ring.head)) {
962 * Guest user wants to transmit packets up to the one before ring->head,
1022 nm_prdis(1, "%s CSB(head:%u cur:%u hwtail:%u) KRING(head:%u cur:%u tail:%u)",
1023 kring->name, atok->head, atok->cur, ktoa->hwtail,
1034 * If guest user has released buffers up to the one before ring->head, we
1059 * released, by updating cur and head in the CSB.
1090 nm_prdis(1, "%s CSB(head:%u cur:%u hwtail:%u) KRING(head:%u cur:%u tail:%u)",
1091 kring->name, atok->head, atok->cur, ktoa->hwtail,