Lines Matching defs:head
810 * so head == tail can mean empty.
1418 u32 head, next;
1454 head = sc->sr_head;
1464 * Fill the parts that the releaser looks at before moving the head.
1470 pbuf = &sc->sr[head].pbuf;
1475 /* make sure this is in memory before updating the head */
1477 /* calculate next head index, do not store */
1478 next = head + 1;
1482 * update the head - must be last! - the releaser can look at fields
1483 * in pbuf once we move the head
1660 u32 head, tail;
1682 head = READ_ONCE(sc->sr_head); /* snapshot the head */
1684 while (head != tail) {