Home
last modified time | relevance | path

Searched defs:skel (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c39 struct bpf_iter_test_kern3 *skel; test_btf_id_or_null() local
78 do_read_map_iter_fd(struct bpf_object_skeleton ** skel,struct bpf_program * prog,struct bpf_map * map) do_read_map_iter_fd() argument
140 struct bpf_iter_ipv6_route *skel; test_ipv6_route() local
153 struct bpf_iter_netlink *skel; test_netlink() local
166 struct bpf_iter_bpf_map *skel; test_bpf_map() local
216 struct bpf_iter_tasks *skel; test_task_common_nocheck() local
325 struct bpf_iter_tasks *skel; test_task_sleepable() local
343 struct bpf_iter_task_stack *skel; test_task_stack() local
360 struct bpf_iter_task_file *skel; test_task_file() local
408 do_btf_read(struct bpf_iter_task_btf * skel) do_btf_read() argument
448 struct bpf_iter_task_btf *skel; test_task_btf() local
472 struct bpf_iter_tcp4 *skel; test_tcp4() local
485 struct bpf_iter_tcp6 *skel; test_tcp6() local
498 struct bpf_iter_udp4 *skel; test_udp4() local
511 struct bpf_iter_udp6 *skel; test_udp6() local
524 struct bpf_iter_unix *skel; test_unix() local
561 struct bpf_iter_test_kern1 *skel; test_anon_iter() local
655 struct bpf_iter_test_kern4 *skel; test_overflow() local
778 struct bpf_iter_bpf_hash_map *skel; test_bpf_hash_map() local
871 struct bpf_iter_bpf_percpu_hash_map *skel; test_bpf_percpu_hash_map() local
957 struct bpf_iter_bpf_array_map *skel; test_bpf_array_map() local
1038 struct bpf_iter_bpf_array_map *skel; test_bpf_array_map_iter_fd() local
1053 struct bpf_iter_bpf_percpu_array_map *skel; test_bpf_percpu_array_map() local
1127 struct bpf_iter_bpf_sk_storage_helpers *skel; test_bpf_sk_storage_delete() local
1197 struct bpf_iter_bpf_sk_storage_helpers *skel; test_bpf_sk_storage_get() local
1240 struct bpf_iter_bpf_sk_storage_map *skel; test_bpf_sk_storage_map_iter_fd() local
1256 struct bpf_iter_bpf_sk_storage_map *skel; test_bpf_sk_storage_map() local
1339 struct bpf_iter_test_kern5 *skel; test_rdonly_buf_out_of_bound() local
1360 struct bpf_iter_test_kern6 *skel; test_buf_neg_offset() local
1369 struct bpf_iter_bpf_link *skel; test_link_iter() local
1382 struct bpf_iter_ksym *skel; test_ksym_iter() local
1416 struct bpf_iter_task_vmas *skel; test_task_vma_common() local
1484 struct bpf_iter_task_vmas *skel; test_task_vma_dead_task() local
1555 struct bpf_iter_sockmap *skel; test_bpf_sockmap_map_iter_fd() local
1589 struct bpf_iter_vma_offset *skel; test_task_vma_offset_common() local
[all...]
H A Darena_atomics.c6 static void test_add(struct arena_atomics *skel) in test_add() argument
31 test_sub(struct arena_atomics * skel) test_sub() argument
56 test_and(struct arena_atomics * skel) test_and() argument
73 test_or(struct arena_atomics * skel) test_or() argument
90 test_xor(struct arena_atomics * skel) test_xor() argument
107 test_cmpxchg(struct arena_atomics * skel) test_cmpxchg() argument
129 test_xchg(struct arena_atomics * skel) test_xchg() argument
149 test_uaf(struct arena_atomics * skel) test_uaf() argument
167 struct arena_atomics *skel; test_arena_atomics() local
[all...]
H A Datomics.c7 static void test_add(struct atomics_lskel *skel) in test_add()
32 static void test_sub(struct atomics_lskel *skel) in test_sub()
57 static void test_and(struct atomics_lskel *skel) in test_and()
79 static void test_or(struct atomics_lskel *skel) in test_or()
101 static void test_xor(struct atomics_lskel *skel) in test_xor()
123 static void test_cmpxchg(struct atomics_lskel *skel) in test_cmpxchg()
145 static void test_xchg(struct atomics_lskel *skel) in test_xchg()
167 struct atomics_lskel *skel; in test_atomics() local
H A Duprobe_multi_test.c194 static void uprobe_multi_test_run(struct uprobe_multi *skel, struct child *child) in uprobe_multi_test_run()
249 struct uprobe_multi *skel = NULL; in test_skel_api() local
271 struct uprobe_multi *skel = NULL; in __test_attach_api() local
376 struct uprobe_multi *skel = NULL; in test_attach_api_fails() local
562 static void attach_uprobe_fail_trap(struct uprobe_multi *skel) in attach_uprobe_fail_trap()
583 static void attach_uprobe_fail_trap(struct uprobe_multi *skel) { } in attach_uprobe_fail_trap()
588 static void attach_uprobe_fail_refctr(struct uprobe_multi *skel) in attach_uprobe_fail_refctr()
644 struct uprobe_multi *skel = NULL; in test_attach_uprobe_fails() local
664 struct uprobe_multi *skel = NULL; in __test_link_api() local
757 get_program(struct uprobe_multi_consumers *skel, int prog) in get_program()
[all …]
H A Dbpf_loop.c8 static void check_nr_loops(struct bpf_loop *skel) in check_nr_loops()
43 static void check_callback_fn_stop(struct bpf_loop *skel) in check_callback_fn_stop()
65 static void check_null_callback_ctx(struct bpf_loop *skel) in check_null_callback_ctx()
84 static void check_invalid_flags(struct bpf_loop *skel) in check_invalid_flags()
100 static void check_nested_calls(struct bpf_loop *skel) in check_nested_calls()
123 static void check_non_constant_callback(struct bpf_loop *skel) in check_non_constant_callback()
142 static void check_stack(struct bpf_loop *skel) in check_stack()
183 struct bpf_loop *skel; in test_bpf_loop() local
H A Dcgroup_iter.c96 static void test_invalid_cgroup(struct cgroup_iter *skel) in test_invalid_cgroup()
113 static void test_invalid_cgroup_spec(struct cgroup_iter *skel) in test_invalid_cgroup_spec()
131 static void test_walk_preorder(struct cgroup_iter *skel) in test_walk_preorder()
142 static void test_walk_postorder(struct cgroup_iter *skel) in test_walk_postorder()
153 static void test_walk_ancestors_up(struct cgroup_iter *skel) in test_walk_ancestors_up()
169 static void test_early_termination(struct cgroup_iter *skel) in test_early_termination()
184 static void test_walk_self_only(struct cgroup_iter *skel) in test_walk_self_only()
193 static void test_walk_dead_self_only(struct cgroup_iter *skel) in test_walk_dead_self_only()
269 struct iters_css_task *skel; in test_walk_self_only_css_task() local
298 struct cgroup_iter *skel = NULL; in test_cgroup_iter() local
H A Duser_ringbuf.c73 struct user_ringbuf_success *skel; in open_load_ringbuf_skel() local
104 struct user_ringbuf_success *skel; in test_user_ringbuf_mappings() local
147 struct user_ringbuf_success *skel; in load_skel_create_ringbufs() local
202 static void manually_write_test_invalid_sample(struct user_ringbuf_success *skel, in manually_write_test_invalid_sample()
238 struct user_ringbuf_success *skel; in test_user_ringbuf_post_misaligned() local
254 struct user_ringbuf_success *skel; in test_user_ringbuf_post_producer_wrong_offset() local
270 struct user_ringbuf_success *skel; in test_user_ringbuf_post_larger_than_ringbuf_sz() local
286 struct user_ringbuf_success *skel; in test_user_ringbuf_basic() local
309 struct user_ringbuf_success *skel; in test_user_ringbuf_sample_full_ring_buffer() local
334 struct user_ringbuf_success *skel; in test_user_ringbuf_post_alignment_autoadjust() local
[all …]
H A Dfind_vma.c10 static void test_and_reset_skel(struct find_vma *skel, int expected_find_zero_ret, bool need_test) in test_and_reset_skel()
41 static bool find_vma_pe_condition(struct find_vma *skel) in find_vma_pe_condition()
49 static void test_find_vma_pe(struct find_vma *skel) in test_find_vma_pe()
80 static void test_find_vma_kprobe(struct find_vma *skel) in test_find_vma_kprobe()
94 struct find_vma_fail1 *skel; in test_illegal_write_vma() local
103 struct find_vma_fail2 *skel; in test_illegal_write_task() local
112 struct find_vma *skel; in serial_test_find_vma() local
H A Dattach_probe.c43 struct test_attach_probe_manual *skel; in test_attach_probe_manual() local
125 test_attach_probe_auto(struct test_attach_probe * skel) test_attach_probe_auto() argument
159 test_uprobe_lib(struct test_attach_probe * skel) test_uprobe_lib() argument
195 test_uprobe_ref_ctr(struct test_attach_probe * skel) test_uprobe_ref_ctr() argument
238 struct test_attach_kprobe_sleepable *skel; test_kprobe_sleepable() local
261 test_uprobe_sleepable(struct test_attach_probe * skel) test_uprobe_sleepable() argument
295 struct test_attach_probe *skel; test_attach_probe() local
[all...]
H A Dtest_strncmp.c6 static int trigger_strncmp(const struct strncmp_test *skel) in trigger_strncmp()
24 static void strncmp_full_str_cmp(struct strncmp_test *skel, const char *name, in strncmp_full_str_cmp()
46 struct strncmp_test *skel; in test_strncmp_ret() local
89 struct strncmp_test *skel; in test_strncmp_bad_not_const_str_size() local
106 struct strncmp_test *skel; in test_strncmp_bad_writable_target() local
123 struct strncmp_test *skel; in test_strncmp_bad_not_null_term_target() local
H A Dtest_struct_ops_module.c39 static int attach_ops_and_check(struct struct_ops_module *skel, in attach_ops_and_check()
60 struct struct_ops_module *skel; in test_struct_ops_load() local
105 struct struct_ops_module *skel; in test_struct_ops_not_zeroed() local
161 struct struct_ops_module *skel; in test_struct_ops_incompatible() local
186 struct struct_ops_nulled_out_cb *skel; in test_struct_ops_nulled_out_cb() local
212 struct struct_ops_forgotten_cb *skel; in test_struct_ops_forgotten_cb() local
253 struct struct_ops_detach *skel; in test_detach_link() local
H A Drbtree.c19 struct rbtree *skel; test_rbtree_add_nodes() local
41 struct rbtree *skel; test_rbtree_add_nodes_nested() local
63 struct rbtree *skel; test_rbtree_add_and_remove() local
85 struct rbtree *skel; test_rbtree_add_and_remove_array() local
106 struct rbtree *skel; test_rbtree_first_and_remove() local
130 struct rbtree *skel; test_rbtree_api_release_aliasing() local
[all...]
H A Dtask_local_storage.c27 struct task_local_storage *skel; in test_sys_enter_exit() local
53 struct task_local_storage_exit_creds *skel; in test_exit_creds() local
91 struct task_ls_recursion *skel; in test_recursion() local
158 struct task_storage_nodeadlock *skel = arg; in sock_create_loop() local
173 struct task_storage_nodeadlock *skel; in test_nodeadlock() local
260 struct task_ls_uptr *skel; in test_uptr_basic() local
379 struct task_ls_uptr *skel; in test_uptr_across_pages() local
418 struct uptr_update_failure *skel; in test_uptr_update_failure() local
460 struct uptr_map_failure *skel; in test_uptr_map_failure() local
H A Dbtf_tag.c17 struct test_btf_decl_tag *skel; in test_btf_decl_tag() local
33 struct btf_type_tag *skel; in test_btf_type_tag() local
113 struct btf_type_tag_user *skel; in test_btf_type_tag_mod_user() local
141 struct btf_type_tag_user *skel; in test_btf_type_tag_vmlinux_user() local
167 struct btf_type_tag_percpu *skel; in test_btf_type_tag_mod_percpu() local
196 struct btf_type_tag_percpu *skel; in test_btf_type_tag_vmlinux_percpu() local
H A Dlocal_kptr_stash.c16 struct local_kptr_stash *skel; in test_local_kptr_stash_simple() local
37 struct local_kptr_stash *skel; in test_local_kptr_stash_plain() local
58 struct local_kptr_stash *skel; in test_local_kptr_stash_local_with_root() local
79 struct local_kptr_stash *skel; in test_local_kptr_stash_unstash() local
104 struct local_kptr_stash *skel; in test_refcount_acquire_without_unstash() local
H A Dkprobe_multi_test.c13 static void kprobe_multi_test_run(struct kprobe_multi *skel, bool test_return) in kprobe_multi_test_run()
46 struct kprobe_multi *skel = NULL; in test_skel_api() local
67 struct kprobe_multi *skel = NULL; in test_link_api() local
143 struct kprobe_multi *skel = NULL; in test_attach_api() local
220 struct kprobe_multi *skel = NULL; in test_attach_api_fails() local
334 struct kprobe_multi_session *skel = NULL; in test_session_skel_api() local
370 struct kprobe_multi_session_cookie *skel = NULL; in test_session_cookie_skel_api() local
403 struct kprobe_multi *skel = NULL; in test_unique_match() local
639 static void do_bench_test(struct kprobe_multi_empty *skel, struct bpf_kprobe_multi_opts *opts) in do_bench_test()
669 struct kprobe_multi_empty *skel = NULL; in test_kprobe_multi_bench_attach() local
[all …]
H A Dstruct_ops_autocreate.c9 struct struct_ops_autocreate *skel; in cant_load_full_object() local
37 static int check_test_1_link(struct struct_ops_autocreate *skel, struct bpf_map *map) in check_test_1_link()
54 struct struct_ops_autocreate *skel; in can_load_partial_object() local
83 struct struct_ops_autocreate *skel; in optional_maps() local
116 struct struct_ops_autocreate2 *skel = NULL; in autoload_and_shadow_vars() local
H A Ddummy_st_ops.c15 struct dummy_st_ops_success *skel; in test_dummy_st_ops_attach() local
35 struct dummy_st_ops_success *skel; in test_dummy_init_ret_value() local
62 struct dummy_st_ops_success *skel; in test_dummy_init_ptr_arg() local
107 struct dummy_st_ops_success *skel; in test_dummy_multiple_args() local
136 struct dummy_st_ops_success *skel; in test_dummy_sleepable() local
161 struct dummy_st_ops_success *skel; in test_dummy_sleepable_reject_null() local
H A Dtc_opts.c19 struct test_tc_link *skel; in serial_test_tc_opts_basic() local
117 struct test_tc_link *skel; test_tc_opts_before_target() local
269 struct test_tc_link *skel; test_tc_opts_after_target() local
460 struct test_tc_link *skel; test_tc_opts_revision_target() local
571 struct test_tc_link *skel; test_tc_chain_classic() local
673 struct test_tc_link *skel; test_tc_opts_replace_target() local
878 struct test_tc_link *skel; test_tc_opts_invalid_target() local
1032 struct test_tc_link *skel; test_tc_opts_prepend_target() local
1172 struct test_tc_link *skel; test_tc_opts_append_target() local
1312 struct test_tc_link *skel; test_tc_opts_dev_cleanup_target() local
1405 struct test_tc_link *skel; test_tc_opts_mixed_target() local
1577 struct test_tc_link *skel; test_tc_opts_demixed_target() local
1657 struct test_tc_link *skel; test_tc_opts_detach_target() local
1828 struct test_tc_link *skel; test_tc_opts_detach_before_target() local
2035 struct test_tc_link *skel; test_tc_opts_detach_after_target() local
2283 struct test_tc_link *skel; test_tc_chain_mixed() local
2468 struct test_tc_link *skel; test_tc_opts_query_target() local
2762 struct test_tc_link *skel; test_tc_opts_query_attach_target() local
[all...]
H A Dksyms_btf.c20 struct test_ksyms_btf *skel = NULL; in test_basic() local
79 struct test_ksyms_btf_null_check *skel; in test_null_check() local
89 struct test_ksyms_weak *skel; in test_weak_syms() local
116 struct test_ksyms_weak_lskel *skel; in test_weak_syms_lskel() local
143 struct test_ksyms_btf_write_check *skel; in test_write_check() local
H A Dmap_ops.c46 static int setup(struct test_map_ops **skel) in setup()
70 static void teardown(struct test_map_ops **skel) in teardown()
78 struct test_map_ops *skel; in map_ops_update_delete_subtest() local
103 struct test_map_ops *skel; in map_ops_push_peek_pop_subtest() local
135 struct test_map_ops *skel; in map_ops_for_each_subtest() local
H A Dtc_links.c22 struct test_tc_link *skel; in serial_test_tc_links_basic() local
122 struct test_tc_link *skel; test_tc_links_before_target() local
276 struct test_tc_link *skel; test_tc_links_after_target() local
429 struct test_tc_link *skel; test_tc_links_revision_target() local
530 struct test_tc_link *skel; test_tc_chain_classic() local
635 struct test_tc_link *skel; test_tc_links_replace_target() local
860 struct test_tc_link *skel; test_tc_links_invalid_target() local
1174 struct test_tc_link *skel; test_tc_links_prepend_target() local
1330 struct test_tc_link *skel; test_tc_links_append_target() local
1484 struct test_tc_link *skel; test_tc_links_dev_cleanup_target() local
1582 struct test_tc_link *skel; test_tc_chain_mixed() local
1696 struct test_tc_link *skel; test_tc_links_ingress() local
1857 struct test_tc_link *skel; test_tc_links_dev_mixed() local
[all...]
H A Dsockmap_basic.c147 struct test_skmsg_load_helpers *skel; in test_skmsg_helpers() local
172 struct test_skmsg_load_helpers *skel; in test_skmsg_helpers_with_link() local
230 struct test_sockmap_update *skel; in test_sockmap_update() local
276 struct test_sockmap_invalid_update *skel; in test_sockmap_invalid_update() local
289 struct bpf_iter_sockmap *skel; in test_sockmap_copy() local
370 struct test_sockmap_skb_verdict_attach *skel; in test_sockmap_skb_verdict_attach() local
396 struct test_sockmap_skb_verdict_attach *skel; in test_sockmap_skb_verdict_attach_with_link() local
444 struct test_sockmap_progs_query *skel; in test_sockmap_progs_query() local
490 struct test_sockmap_pass_prog *skel; in test_sockmap_skb_verdict_shutdown() local
602 struct test_sockmap_change_tail *skel; in test_sockmap_skb_verdict_change_tail() local
[all …]
/linux/kernel/bpf/preload/iterators/
H A Diterators.lskel-little-endian.h24 iterators_bpf__dump_bpf_map__attach(struct iterators_bpf *skel) in iterators_bpf__dump_bpf_map__attach()
35 iterators_bpf__dump_bpf_prog__attach(struct iterators_bpf *skel) in iterators_bpf__dump_bpf_prog__attach()
46 iterators_bpf__attach(struct iterators_bpf *skel) in iterators_bpf__attach()
56 iterators_bpf__detach(struct iterators_bpf *skel) in iterators_bpf__detach()
62 iterators_bpf__destroy(struct iterators_bpf *skel) in iterators_bpf__destroy()
75 struct iterators_bpf *skel; in iterators_bpf__open() local
88 iterators_bpf__load(struct iterators_bpf *skel) in iterators_bpf__load()
412 struct iterators_bpf *skel; in iterators_bpf__open_and_load() local
H A Diterators.lskel-big-endian.h24 iterators_bpf__dump_bpf_map__attach(struct iterators_bpf *skel) in iterators_bpf__dump_bpf_map__attach()
35 iterators_bpf__dump_bpf_prog__attach(struct iterators_bpf *skel) in iterators_bpf__dump_bpf_prog__attach()
46 iterators_bpf__attach(struct iterators_bpf *skel) in iterators_bpf__attach()
56 iterators_bpf__detach(struct iterators_bpf *skel) in iterators_bpf__detach()
62 iterators_bpf__destroy(struct iterators_bpf *skel) in iterators_bpf__destroy()
75 struct iterators_bpf *skel; in iterators_bpf__open() local
88 iterators_bpf__load(struct iterators_bpf *skel) in iterators_bpf__load()
396 struct iterators_bpf *skel; in iterators_bpf__open_and_load() local

12345678910>>...12