Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dringbuf_bench.c42 sample = bpf_ringbuf_reserve(&ringbuf, in bench_ringbuf()
Dtest_ringbuf.c49 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(*sample), 0); in test_ringbuf()
Dtest_ringbuf_multi.c73 sample = bpf_ringbuf_reserve(rb, sizeof(*sample), 0); in test_ringbuf()
Dima.c44 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(u64), 0); in ima_test_common()
Duser_ringbuf_success.c111 msg = bpf_ringbuf_reserve(&kernel_ringbuf, sizeof(*msg), 0); in publish_next_kern_msg()
/Linux-v6.1/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
/Linux-v6.1/kernel/bpf/
Dringbuf.c437 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3() argument
449 .func = bpf_ringbuf_reserve,