Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_ringbuf.c71 avail_data = bpf_ringbuf_query(&ringbuf, BPF_RB_AVAIL_DATA); in test_ringbuf()
72 ring_size = bpf_ringbuf_query(&ringbuf, BPF_RB_RING_SIZE); in test_ringbuf()
73 cons_pos = bpf_ringbuf_query(&ringbuf, BPF_RB_CONS_POS); in test_ringbuf()
74 prod_pos = bpf_ringbuf_query(&ringbuf, BPF_RB_PROD_POS); in test_ringbuf()
Dringbuf_bench.c30 sz = bpf_ringbuf_query(&ringbuf, BPF_RB_AVAIL_DATA); in get_flags()
/linux-6.12.1/kernel/bpf/
Dringbuf.c571 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2() argument
592 .func = bpf_ringbuf_query,
/linux-6.12.1/Documentation/bpf/
Dringbuf.rst122 ``bpf_ringbuf_query()`` helper allows to query various properties of ring