Home
last modified time | relevance | path

Searched refs:bpf_ringbuf_reserve (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dringbuf_bench.c41 sample = bpf_ringbuf_reserve(&ringbuf, in bench_ringbuf()
Dtest_ringbuf_multi.c61 sample = bpf_ringbuf_reserve(rb, sizeof(*sample), 0); in test_ringbuf()
Dtest_ringbuf.c49 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(*sample), 0); in test_ringbuf()
/kernel/linux/linux-5.10/Documentation/bpf/
Dringbuf.rst88 - ``bpf_ringbuf_reserve()``/``bpf_ringbuf_commit()``/``bpf_ringbuf_discard()``
102 ``bpf_ringbuf_reserve()`` avoids the extra copy of memory by providing a memory
105 a temporary heap for preparing sample. bpf_ringbuf_reserve() avoid this needs
110 ``bpf_ringbuf_reserve()``.
153 reservation, in NMI context, ``bpf_ringbuf_reserve()`` might fail to get
/kernel/linux/linux-5.10/kernel/bpf/
Dringbuf.c370 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3() argument
382 .func = bpf_ringbuf_reserve,