Searched refs:bpf_ringbuf_reserve (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
A D | ima.c | 36 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(u64), 0); in BPF_PROG()
|
A D | ringbuf_bench.c | 41 sample = bpf_ringbuf_reserve(&ringbuf, in bench_ringbuf()
|
A D | test_ringbuf.c | 48 sample = bpf_ringbuf_reserve(&ringbuf, sizeof(*sample), 0); in test_ringbuf()
|
A D | test_ringbuf_multi.c | 71 sample = bpf_ringbuf_reserve(rb, sizeof(*sample), 0); in test_ringbuf()
|
/linux/Documentation/bpf/ |
A D | ringbuf.rst | 88 - ``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 D | ringbuf.c | 351 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