Home
last modified time | relevance | path

Searched refs:bpf_user_ringbuf_drain (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Duser_ringbuf_fail.c47 bpf_user_ringbuf_drain(&user_ringbuf, bad_access1, NULL, 0); in user_ringbuf_callback_bad_access1()
70 bpf_user_ringbuf_drain(&user_ringbuf, bad_access2, NULL, 0); in user_ringbuf_callback_bad_access2()
90 bpf_user_ringbuf_drain(&user_ringbuf, write_forbidden, NULL, 0); in user_ringbuf_callback_write_forbidden()
110 bpf_user_ringbuf_drain(&user_ringbuf, null_context_write, NULL, 0); in user_ringbuf_callback_null_context_write()
132 bpf_user_ringbuf_drain(&user_ringbuf, null_context_read, NULL, 0); in user_ringbuf_callback_null_context_read()
152 bpf_user_ringbuf_drain(&user_ringbuf, try_discard_dynptr, NULL, 0); in user_ringbuf_callback_discard_dynptr()
172 bpf_user_ringbuf_drain(&user_ringbuf, try_submit_dynptr, NULL, 0); in user_ringbuf_callback_submit_dynptr()
190 bpf_user_ringbuf_drain(&user_ringbuf, invalid_drain_callback_return, NULL, 0); in user_ringbuf_callback_invalid_return()
213 bpf_user_ringbuf_drain(&user_ringbuf, try_reinit_dynptr_mem, NULL, 0); in user_ringbuf_callback_reinit_dynptr_mem()
221 bpf_user_ringbuf_drain(&user_ringbuf, try_reinit_dynptr_ringbuf, NULL, 0); in user_ringbuf_callback_reinit_dynptr_ringbuf()
[all …]
Duser_ringbuf_success.c169 status = bpf_user_ringbuf_drain(&user_ringbuf, read_protocol_msg, NULL, 0); in test_user_ringbuf_protocol()
187 err = bpf_user_ringbuf_drain(&user_ringbuf, record_sample, NULL, 0); in test_user_ringbuf()
207 num_samples = bpf_user_ringbuf_drain(&user_ringbuf, do_nothing_cb, NULL, 0); in test_user_ringbuf_epoll()
Dverifier_iterating_callbacks.c145 bpf_user_ringbuf_drain(&ringbuf, ringbuf_drain_cb, &loop_ctx, 0); in unsafe_ringbuf_drain()
/linux-6.12.1/kernel/bpf/
Dringbuf.c745 BPF_CALL_4(bpf_user_ringbuf_drain, struct bpf_map *, map, in BPF_CALL_4() argument
802 .func = bpf_user_ringbuf_drain,