Home
last modified time | relevance | path

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

12345678910>>...12

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c39 struct bpf_iter_test_kern3 *skel; in test_btf_id_or_null() local
78 static void do_read_map_iter_fd(struct bpf_object_skeleton **skel, struct bpf_program *prog, in do_read_map_iter_fd()
140 struct bpf_iter_ipv6_route *skel; in test_ipv6_route() local
153 struct bpf_iter_netlink *skel; in test_netlink() local
166 struct bpf_iter_bpf_map *skel; in test_bpf_map() local
216 struct bpf_iter_tasks *skel; in test_task_common_nocheck() local
325 struct bpf_iter_tasks *skel; in test_task_sleepable() local
343 struct bpf_iter_task_stack *skel; in test_task_stack() local
360 struct bpf_iter_task_file *skel; in test_task_file() local
408 static int do_btf_read(struct bpf_iter_task_btf *skel) in do_btf_read()
[all …]
H A Darena_atomics.c6 static void test_add(struct arena_atomics *skel) in test_add()
31 static void test_sub(struct arena_atomics *skel) in test_sub()
56 static void test_and(struct arena_atomics *skel) in test_and()
73 static void test_or(struct arena_atomics *skel) in test_or()
90 static void test_xor(struct arena_atomics *skel) in test_xor()
107 static void test_cmpxchg(struct arena_atomics *skel) in test_cmpxchg()
129 static void test_xchg(struct arena_atomics *skel) in test_xchg()
149 static void test_uaf(struct arena_atomics *skel) in test_uaf()
167 struct arena_atomics *skel; in test_arena_atomics() local
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 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 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 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 static void test_attach_probe_auto(struct test_attach_probe *skel) in test_attach_probe_auto()
159 static void test_uprobe_lib(struct test_attach_probe *skel) in test_uprobe_lib()
195 static void test_uprobe_ref_ctr(struct test_attach_probe *skel) in test_uprobe_ref_ctr()
238 struct test_attach_kprobe_sleepable *skel; in test_kprobe_sleepable() local
261 static void test_uprobe_sleepable(struct test_attach_probe *skel) in test_uprobe_sleepable()
295 struct test_attach_probe *skel; in test_attach_probe() local
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; in test_rbtree_add_nodes() local
41 struct rbtree *skel; in test_rbtree_add_nodes_nested() local
63 struct rbtree *skel; in test_rbtree_add_and_remove() local
85 struct rbtree *skel; in test_rbtree_add_and_remove_array() local
106 struct rbtree *skel; in test_rbtree_first_and_remove() local
130 struct rbtree *skel; in test_rbtree_api_release_aliasing() local
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; in test_tc_opts_before_target() local
269 struct test_tc_link *skel; in test_tc_opts_after_target() local
460 struct test_tc_link *skel; in test_tc_opts_revision_target() local
571 struct test_tc_link *skel; in test_tc_chain_classic() local
673 struct test_tc_link *skel; in test_tc_opts_replace_target() local
878 struct test_tc_link *skel; in test_tc_opts_invalid_target() local
1032 struct test_tc_link *skel; in test_tc_opts_prepend_target() local
1172 struct test_tc_link *skel; in test_tc_opts_append_target() local
1312 struct test_tc_link *skel; in test_tc_opts_dev_cleanup_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; in test_tc_links_before_target() local
276 struct test_tc_link *skel; in test_tc_links_after_target() local
429 struct test_tc_link *skel; in test_tc_links_revision_target() local
530 struct test_tc_link *skel; in test_tc_chain_classic() local
635 struct test_tc_link *skel; in test_tc_links_replace_target() local
860 struct test_tc_link *skel; in test_tc_links_invalid_target() local
1174 struct test_tc_link *skel; in test_tc_links_prepend_target() local
1330 struct test_tc_link *skel; in test_tc_links_append_target() local
1484 struct test_tc_link *skel; in test_tc_links_dev_cleanup_target() local
[all …]
H A Diters.c27 struct iters_num *skel; in subtest_num_iters() local
72 struct iters_testmod_seq *skel; in subtest_testmod_seq_iters() local
109 struct iters_task_vma *skel; in subtest_task_vma_iters() local
175 struct iters_task *skel = NULL; in subtest_task_iters() local
209 struct iters_css_task *skel = NULL; in subtest_css_task_iters() local
247 struct iters_css *skel = NULL; in subtest_css_iters() local
/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