Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dringbuf.c73 unsigned long producer_pos __aligned(PAGE_SIZE);
183 rb->producer_pos = 0; in bpf_ringbuf_alloc()
304 prod_pos = smp_load_acquire(&rb->producer_pos); in ringbuf_avail_data_sz()
431 prod_pos = rb->producer_pos; in __bpf_ringbuf_reserve()
463 smp_store_release(&rb->producer_pos, new_prod_pos); in __bpf_ringbuf_reserve()
585 return smp_load_acquire(&rb->producer_pos); in BPF_CALL_2()
683 prod_pos = smp_load_acquire(&rb->producer_pos); in __bpf_user_ringbuf_peek()
/linux/tools/testing/selftests/bpf/benchs/
H A 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()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Duser_ringbuf.c203 __u32 size, __u64 producer_pos, int err) in manually_write_test_invalid_sample() argument
226 smp_store_release(producer_pos_ptr, producer_pos + BPF_RINGBUF_HDR_SZ); in manually_write_test_invalid_sample()