Home
last modified time | relevance | path

Searched refs:prod_pos (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dtest_ringbuf.c34 long prod_pos = 0; variable
75 prod_pos = bpf_ringbuf_query(&ringbuf, BPF_RB_PROD_POS); in test_ringbuf()
/tools/lib/bpf/
Dringbuf.c214 unsigned long cons_pos, prod_pos; in ringbuf_process_ring() local
221 prod_pos = smp_load_acquire(r->producer_pos); in ringbuf_process_ring()
222 while (cons_pos < prod_pos) { in ringbuf_process_ring()
/tools/testing/selftests/bpf/prog_tests/
Dringbuf.c119 CHECK(skel->bss->prod_pos != 3 * rec_sz, in test_ringbuf()
121 3L * rec_sz, skel->bss->prod_pos); in test_ringbuf()
/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c297 unsigned long cons_pos, prod_pos; in ringbuf_custom_process_ring() local
304 prod_pos = smp_load_acquire(r->producer_pos); in ringbuf_custom_process_ring()
305 while (cons_pos < prod_pos) { in ringbuf_custom_process_ring()