Home
last modified time | relevance | path

Searched refs:producer_pos (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/tools/lib/bpf/
Dringbuf.c29 unsigned long *producer_pos; member
48 if (r->producer_pos) { in ringbuf_unmap_ring()
49 munmap(r->producer_pos, rb->page_size + 2 * (r->mask + 1)); in ringbuf_unmap_ring()
50 r->producer_pos = NULL; in ringbuf_unmap_ring()
123 r->producer_pos = tmp; in ring_buffer__add()
215 prod_pos = smp_load_acquire(r->producer_pos); in ringbuf_process_ring()
/Linux-v5.10/kernel/bpf/
Dringbuf.c45 unsigned long producer_pos __aligned(PAGE_SIZE);
145 rb->producer_pos = 0; in bpf_ringbuf_alloc()
271 prod_pos = smp_load_acquire(&rb->producer_pos); in ringbuf_avail_data_sz()
346 prod_pos = rb->producer_pos; in __bpf_ringbuf_reserve()
363 smp_store_release(&rb->producer_pos, new_prod_pos); in __bpf_ringbuf_reserve()
485 return smp_load_acquire(&rb->producer_pos); in BPF_CALL_2()
/Linux-v5.10/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c205 __u64 *producer_pos; member
263 r->producer_pos = tmp; in ringbuf_custom_setup()
304 prod_pos = smp_load_acquire(r->producer_pos); in ringbuf_custom_process_ring()