Lines Matching defs:head_lpos
137 * data block and a @head_lpos that points to the logical position of the
143 * them. Then the @head_lpos is pushed forward and is associated with a new
1046 begin_lpos = atomic_long_read(&data_ring->head_lpos);
1084 } while (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &begin_lpos,
1124 unsigned long head_lpos;
1129 head_lpos = atomic_long_read(&data_ring->head_lpos);
1130 if (head_lpos != blk_lpos->next)
1141 if (head_lpos - next_lpos < DATA_SIZE(data_ring)) {
1163 if (!atomic_long_try_cmpxchg(&data_ring->head_lpos, &head_lpos,
2343 atomic_long_set(&rb->text_data_ring.head_lpos, BLK0_LPOS(textbits));