Searched refs:bpf_ringbuf_query (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | test_ringbuf.c | 72 avail_data = bpf_ringbuf_query(&ringbuf, BPF_RB_AVAIL_DATA); in test_ringbuf() 73 ring_size = bpf_ringbuf_query(&ringbuf, BPF_RB_RING_SIZE); in test_ringbuf() 74 cons_pos = bpf_ringbuf_query(&ringbuf, BPF_RB_CONS_POS); in test_ringbuf() 75 prod_pos = bpf_ringbuf_query(&ringbuf, BPF_RB_PROD_POS); in test_ringbuf()
|
A D | ringbuf_bench.c | 30 sz = bpf_ringbuf_query(&ringbuf, BPF_RB_AVAIL_DATA); in get_flags()
|
/linux-6.3-rc2/kernel/bpf/ |
A D | ringbuf.c | 538 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2() argument 559 .func = bpf_ringbuf_query,
|
/linux-6.3-rc2/Documentation/bpf/ |
A D | ringbuf.rst | 122 ``bpf_ringbuf_query()`` helper allows to query various properties of ring
|
Completed in 7 milliseconds