Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
A Dima.c36 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(u64), 0); in BPF_PROG()
A Dringbuf_bench.c41 sample = bpf_ringbuf_reserve(&ringbuf, in bench_ringbuf()
A Dtest_ringbuf.c48 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(*sample), 0); in test_ringbuf()
A Dtest_ringbuf_multi.c71 sample = bpf_ringbuf_reserve(rb, sizeof(*sample), 0); in test_ringbuf()
/linux/Documentation/bpf/
A 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/kernel/bpf/
A Dringbuf.c351 BPF_CALL_3(bpf_ringbuf_reserve, struct bpf_map *, map, u64, size, u64, flags) in BPF_CALL_3() argument
363 .func = bpf_ringbuf_reserve,

Completed in 7 milliseconds