Lines Matching defs:tail_lpos
136 * Data rings have a @tail_lpos that points to the beginning of the oldest
142 * into the reusable state and then pushing the @tail_lpos forward beyond
144 * descriptor. If a data block is not valid, the @tail_lpos cannot be
637 unsigned long tail_lpos;
662 tail_lpos = atomic_long_read(&data_ring->tail_lpos); /* LMM(data_push_tail:A) */
671 while ((lpos - tail_lpos) - 1 < DATA_SIZE(data_ring)) {
676 if (!data_make_reusable(rb, tail_lpos, lpos, &next_lpos)) {
734 tail_lpos_new = atomic_long_read(&data_ring->tail_lpos
736 if (tail_lpos_new == tail_lpos)
740 tail_lpos = tail_lpos_new;
751 if (atomic_long_try_cmpxchg(&data_ring->tail_lpos, &tail_lpos,
2344 atomic_long_set(&rb->text_data_ring.tail_lpos, BLK0_LPOS(textbits));