Searched refs:cons_pos (Results 1 – 4 of 4) sorted by relevance
214 unsigned long cons_pos, prod_pos; in ringbuf_process_ring() local218 cons_pos = smp_load_acquire(r->consumer_pos); in ringbuf_process_ring()222 while (cons_pos < prod_pos) { in ringbuf_process_ring()223 len_ptr = r->data + (cons_pos & r->mask); in ringbuf_process_ring()231 cons_pos += roundup_len(len); in ringbuf_process_ring()239 cons_pos); in ringbuf_process_ring()245 smp_store_release(r->consumer_pos, cons_pos); in ringbuf_process_ring()
33 long cons_pos = 0; variable74 cons_pos = bpf_ringbuf_query(&ringbuf, BPF_RB_CONS_POS); in test_ringbuf()
116 CHECK(skel->bss->cons_pos != 0, in test_ringbuf()118 0L, skel->bss->cons_pos); in test_ringbuf()148 CHECK(skel->bss->cons_pos != 3 * rec_sz, in test_ringbuf()150 3L * rec_sz, skel->bss->cons_pos); in test_ringbuf()
297 unsigned long cons_pos, prod_pos; in ringbuf_custom_process_ring() local301 cons_pos = smp_load_acquire(r->consumer_pos); in ringbuf_custom_process_ring()305 while (cons_pos < prod_pos) { in ringbuf_custom_process_ring()306 len_ptr = r->data + (cons_pos & r->mask); in ringbuf_custom_process_ring()314 cons_pos += roundup_len(len); in ringbuf_custom_process_ring()319 smp_store_release(r->consumer_pos, cons_pos); in ringbuf_custom_process_ring()