Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dringbuf.c30 unsigned long *producer_pos; member
46 unsigned long *producer_pos; member
66 if (r->producer_pos) { in ringbuf_unmap_ring()
67 munmap(r->producer_pos, rb->page_size + 2 * (r->mask + 1)); in ringbuf_unmap_ring()
68 r->producer_pos = NULL; in ringbuf_unmap_ring()
145 r->producer_pos = tmp; in ring_buffer__add()
239 prod_pos = smp_load_acquire(r->producer_pos); in ringbuf_process_ring()
332 if (rb->producer_pos) { in user_ringbuf_unmap_ring()
333 munmap(rb->producer_pos, rb->page_size + 2 * (rb->mask + 1)); in user_ringbuf_unmap_ring()
334 rb->producer_pos = NULL; in user_ringbuf_unmap_ring()
[all …]
/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()
/tools/testing/selftests/bpf/prog_tests/
Duser_ringbuf.c202 __u32 size, __u64 producer_pos, int err) in manually_write_test_invalid_sample() argument
225 smp_store_release(producer_pos_ptr, producer_pos + BPF_RINGBUF_HDR_SZ); in manually_write_test_invalid_sample()