Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dringbuf_bench.c42 sample = bpf_ringbuf_reserve(&ringbuf, in bench_ringbuf()
A Dtest_ringbuf_map_key.c44 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(*sample), 0); in test_ringbuf_mem_map_key()
A Dtest_ringbuf.c49 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(*sample), 0); in test_ringbuf()
A Dtest_ringbuf_multi.c73 sample = bpf_ringbuf_reserve(rb, sizeof(*sample), 0); in test_ringbuf()
A Dima.c44 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(u64), 0); in ima_test_common()
A Duser_ringbuf_success.c111 msg = bpf_ringbuf_reserve(&kernel_ringbuf, sizeof(*msg), 0); in publish_next_kern_msg()
/linux-6.3-rc2/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-6.3-rc2/kernel/bpf/
A 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,
/linux-6.3-rc2/Documentation/hid/
A Dhid-bpf.rst396 buf = bpf_ringbuf_reserve(&ringbuf, 1, 0);

Completed in 13 milliseconds