Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/progs/ !
Duser_ringbuf_fail.c38 bpf_user_ringbuf_drain(&user_ringbuf, bad_access1, NULL, 0); in user_ringbuf_callback_bad_access1()
60 bpf_user_ringbuf_drain(&user_ringbuf, bad_access2, NULL, 0); in user_ringbuf_callback_bad_access2()
79 bpf_user_ringbuf_drain(&user_ringbuf, write_forbidden, NULL, 0); in user_ringbuf_callback_write_forbidden()
98 bpf_user_ringbuf_drain(&user_ringbuf, null_context_write, NULL, 0); in user_ringbuf_callback_null_context_write()
119 bpf_user_ringbuf_drain(&user_ringbuf, null_context_read, NULL, 0); in user_ringbuf_callback_null_context_read()
138 bpf_user_ringbuf_drain(&user_ringbuf, try_discard_dynptr, NULL, 0); in user_ringbuf_callback_discard_dynptr()
157 bpf_user_ringbuf_drain(&user_ringbuf, try_submit_dynptr, NULL, 0); in user_ringbuf_callback_submit_dynptr()
174 bpf_user_ringbuf_drain(&user_ringbuf, invalid_drain_callback_return, NULL, 0); in user_ringbuf_callback_invalid_return()
Duser_ringbuf_success.c171 status = bpf_user_ringbuf_drain(&user_ringbuf, read_protocol_msg, NULL, 0); in test_user_ringbuf_protocol()
193 err = bpf_user_ringbuf_drain(&user_ringbuf, record_sample, NULL, 0); in test_user_ringbuf()
213 num_samples = bpf_user_ringbuf_drain(&user_ringbuf, do_nothing_cb, NULL, 0); in test_user_ringbuf_epoll()
/linux-6.1.9/kernel/bpf/ !
Dringbuf.c712 BPF_CALL_4(bpf_user_ringbuf_drain, struct bpf_map *, map, in BPF_CALL_4() argument
770 .func = bpf_user_ringbuf_drain,