Searched refs:bpf_ringbuf_query (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_ringbuf.c | 71 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()
|
D | ringbuf_bench.c | 30 sz = bpf_ringbuf_query(&ringbuf, BPF_RB_AVAIL_DATA); in get_flags()
|
/linux-6.12.1/kernel/bpf/ |
D | ringbuf.c | 571 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/ |
D | ringbuf.rst | 122 ``bpf_ringbuf_query()`` helper allows to query various properties of ring
|