Home
last modified time | relevance | path

Searched refs:user_ringbuf (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Duser_ringbuf_fail.c20 } user_ringbuf SEC(".maps");
47 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()
[all …]
H A Duser_ringbuf_success.c13 } user_ringbuf SEC(".maps");
169 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()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Duser_ringbuf.c110 rb_fd = bpf_map__fd(skel->maps.user_ringbuf); in test_user_ringbuf_mappings()
149 struct user_ring_buffer *user_ringbuf = NULL; in load_skel_create_ringbufs() local
169 rb_fd = bpf_map__fd(skel->maps.user_ringbuf); in load_skel_create_ringbufs()
170 user_ringbuf = user_ring_buffer__new(rb_fd, NULL); in load_skel_create_ringbufs()
171 if (!ASSERT_OK_PTR(user_ringbuf, "user_ringbuf_create")) in load_skel_create_ringbufs()
174 *user_ringbuf_out = user_ringbuf; in load_skel_create_ringbufs()
191 user_ring_buffer__free(user_ringbuf); in load_skel_create_ringbufs()
209 rb_fd = bpf_map__fd(skel->maps.user_ringbuf); in manually_write_test_invalid_sample()
536 struct user_ring_buffer *user_ringbuf; in test_user_ringbuf_msg_protocol() local
550 err = send_test_message(user_ringbuf, op, operand_64, operand_32); in test_user_ringbuf_msg_protocol()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A DDENYLIST.s390x25 user_ringbuf # failed to find kernel BTF type ID of '__s390x_sys_prctl'…
/openbmc/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-map.rst58 | | **task_storage** | **bloom_filter** | **user_ringbuf** | **cgrp_storage** }