Searched refs:bpf_ringbuf_query (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A 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()
|
H A D | ringbuf_bench.c | 30 sz = bpf_ringbuf_query(&ringbuf, BPF_RB_AVAIL_DATA); in get_flags()
|
/linux/kernel/bpf/ |
H A D | ringbuf.c | 567 BPF_CALL_2(bpf_ringbuf_query, struct bpf_map *, map, u64, flags) in BPF_CALL_2() argument 588 .func = bpf_ringbuf_query,
|
/linux/Documentation/bpf/ |
H A D | ringbuf.rst | 122 ``bpf_ringbuf_query()`` helper allows to query various properties of ring
|