Lines Matching defs:tail
126 /* Compensate for the ring buffer's head/tail overlap entry */
177 ring->head = ring->tail = 0;
919 unsigned long tail;
941 * other code from messing with the tail
959 tail = info->tail;
960 event = aio_ring_event(info, tail, KM_IRQ0);
961 if (++tail >= info->nr)
962 tail = 0;
970 ctx, tail, iocb, iocb->ki_obj.user, iocb->ki_user_data,
976 smp_wmb(); /* make event visible before updating tail */
978 info->tail = tail;
979 ring->tail = tail;
984 pr_debug("added to ring %p at [%lu]\n", iocb, tail);
999 * We have to order our ring_info tail store above and test
1023 (unsigned long)ring->head, (unsigned long)ring->tail,
1026 if (ring->head == ring->tail)
1032 if (head != ring->tail) {
1046 (unsigned long)ring->head, (unsigned long)ring->tail);