Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
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()
165 static void test_load_acquire(struct arena_atomics *skel) in test_load_acquire()
195 static void test_store_release(struct arena_atomics *skel) in test_store_release()
[all …]
H A Dbpf_cookie.c22 static void kprobe_subtest(struct test_bpf_cookie *skel) in kprobe_subtest()
71 static void kprobe_multi_test_run(struct kprobe_multi *skel) in kprobe_multi_test_run()
103 struct kprobe_multi *skel = NULL; in kprobe_multi_link_api_subtest() local
182 struct kprobe_multi *skel = NULL; in kprobe_multi_attach_api_subtest() local
274 struct uprobe_multi *skel = NULL; in uprobe_multi_attach_api_subtest() local
318 static void uprobe_subtest(struct test_bpf_cookie *skel) in uprobe_subtest()
372 static void tp_subtest(struct test_bpf_cookie *skel) in tp_subtest()
441 static void pe_subtest(struct test_bpf_cookie *skel) in pe_subtest()
545 static void lsm_subtest(struct test_bpf_cookie *skel) in lsm_subtest()
576 static void tp_btf_subtest(struct test_bpf_cookie *skel) in tp_btf_subtest()
[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 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 Dbtf_skc_cls_ingress.c33 static struct netns_obj *prepare_netns(struct test_btf_skc_cls_ingress *skel) in prepare_netns()
67 static void reset_test(struct test_btf_skc_cls_ingress *skel) in reset_test()
79 static void print_err_line(struct test_btf_skc_cls_ingress *skel) in print_err_line()
99 static void run_test(struct test_btf_skc_cls_ingress *skel, bool gen_cookies, in run_test()
204 static void test_conn_ipv4(struct test_btf_skc_cls_ingress *skel) in test_conn_ipv4()
209 static void test_conn_ipv6(struct test_btf_skc_cls_ingress *skel) in test_conn_ipv6()
214 static void test_conn_dual(struct test_btf_skc_cls_ingress *skel) in test_conn_dual()
219 static void test_syncookie_ipv4(struct test_btf_skc_cls_ingress *skel) in test_syncookie_ipv4()
224 static void test_syncookie_ipv6(struct test_btf_skc_cls_ingress *skel) in test_syncookie_ipv6()
229 static void test_syncookie_dual(struct test_btf_skc_cls_ingress *skel) in test_syncookie_dual()
[all …]
H A Dbpf_iter.c39 struct bpf_iter_test_kern3 *skel; in test_btf_id_or_null() 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
540 struct bpf_iter_tcp4 *skel; in test_tcp4() local
553 struct bpf_iter_tcp6 *skel; in test_tcp6() local
566 struct bpf_iter_udp4 *skel; in test_udp4() local
579 struct bpf_iter_udp6 *skel; in test_udp6() local
592 struct bpf_iter_unix *skel; in test_unix() local
[all …]
H A Duprobe_multi_test.c249 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
644 struct uprobe_multi *skel = NULL; in test_attach_uprobe_fails() local
664 struct uprobe_multi *skel = NULL; in __test_link_api() local
977 struct uprobe_multi_consumers *skel; in consumer_thread() local
1109 struct uprobe_multi_pid_filter *skel; in test_pid_filter_process() local
1123 struct uprobe_multi_session *skel = NULL; in test_session_skel_api() local
1167 struct uprobe_multi_session_single *skel = NULL; in test_session_single_skel_api() local
1274 struct uprobe_multi_bench *skel = NULL; in test_bench_attach_uprobe() local
[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
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
358 struct user_ringbuf_success *skel; in test_user_ringbuf_overfill() 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 Dfs_kfuncs.c18 struct test_get_xattr *skel = NULL; in test_get_xattr() local
79 static void read_and_validate_foo(struct test_set_remove_xattr *skel) in read_and_validate_foo()
89 static void set_foo(struct test_set_remove_xattr *skel) in set_foo()
95 static void validate_bar_match(struct test_set_remove_xattr *skel) in validate_bar_match()
106 static void validate_bar_removed(struct test_set_remove_xattr *skel) in validate_bar_removed()
117 struct test_set_remove_xattr *skel = NULL; in test_set_remove_xattr() local
204 struct test_fsverity *skel = NULL; in test_fsverity() local
H A Dcgrp_local_storage.c25 #define CGROUP_MODE_SET(skel) \ argument
39 struct cgrp_ls_tp_btf *skel; in test_tp_btf() local
89 struct cgrp_ls_attach_cgroup *skel; in test_attach_cgroup() local
143 struct cgrp_ls_recursion *skel; in test_recursion() local
165 struct cgrp_ls_negative *skel; in test_negative() local
178 struct cgrp_ls_sleepable *skel; in test_cgroup_iter_sleepable() local
219 struct cgrp_ls_sleepable *skel; in test_yes_rcu_lock() local
247 struct cgrp_ls_sleepable *skel; in test_no_rcu_lock() local
265 struct cgrp_ls_sleepable *skel; in test_cgrp1_no_rcu_lock() 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 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 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
669 struct kprobe_multi_empty *skel = NULL; in test_kprobe_multi_bench_attach() local
694 struct kprobe_multi_empty *skel = NULL; in test_kprobe_multi_bench_attach_addr() local
[all …]
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
/linux-6.15/samples/v4l/
H A Dv4l2-pci-skeleton.c121 struct skeleton *skel = dev_id; in skeleton_irq() local
157 struct skeleton *skel = vb2_get_drv_priv(vq); in queue_setup() local
240 struct skeleton *skel = vb2_get_drv_priv(vq); in start_streaming() local
289 struct skeleton *skel = video_drvdata(file); in skeleton_querycap() local
339 struct skeleton *skel = video_drvdata(file); in skeleton_try_fmt_vid_cap() local
357 struct skeleton *skel = video_drvdata(file); in skeleton_s_fmt_vid_cap() local
379 struct skeleton *skel = video_drvdata(file); in skeleton_g_fmt_vid_cap() local
397 struct skeleton *skel = video_drvdata(file); in skeleton_s_std() local
429 struct skeleton *skel = video_drvdata(file); in skeleton_g_std() local
448 struct skeleton *skel = video_drvdata(file); in skeleton_querystd() local
[all …]
/linux-6.15/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>>...13