Searched refs:cons_pos (Results 1 – 1 of 1) sorted by relevance
232 unsigned long cons_pos, prod_pos; in ringbuf_process_ring() local236 cons_pos = smp_load_acquire(r->consumer_pos); in ringbuf_process_ring()240 while (cons_pos < prod_pos) { in ringbuf_process_ring()241 len_ptr = r->data + (cons_pos & r->mask); in ringbuf_process_ring()249 cons_pos += roundup_len(len); in ringbuf_process_ring()257 cons_pos); in ringbuf_process_ring()263 smp_store_release(r->consumer_pos, cons_pos); in ringbuf_process_ring()486 __u64 cons_pos, prod_pos; in user_ring_buffer__reserve() local496 cons_pos = smp_load_acquire(rb->consumer_pos); in user_ring_buffer__reserve()501 avail_size = max_size - (prod_pos - cons_pos); in user_ring_buffer__reserve()