Searched refs:prod_pos (Results 1 – 1 of 1) sorted by relevance
239 unsigned long cons_pos, prod_pos; in ringbuf_process_ring() local246 prod_pos = smp_load_acquire(r->producer_pos); in ringbuf_process_ring()247 while (cons_pos < prod_pos) { in ringbuf_process_ring()357 unsigned long cons_pos, prod_pos; in ring__avail_data_size() local360 prod_pos = ring__producer_pos(r); in ring__avail_data_size()361 return prod_pos - cons_pos; in ring__avail_data_size()545 __u64 cons_pos, prod_pos; in user_ring_buffer__reserve() local557 prod_pos = smp_load_acquire(rb->producer_pos); in user_ring_buffer__reserve()560 avail_size = max_size - (prod_pos - cons_pos); in user_ring_buffer__reserve()570 hdr = rb->data + (prod_pos & rb->mask); in user_ring_buffer__reserve()[all …]