Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.12.1/samples/v4l/
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
187 struct skeleton *skel = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() local
206 struct skeleton *skel = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() local
218 static void return_all_buffers(struct skeleton *skel, in return_all_buffers()
240 struct skeleton *skel = vb2_get_drv_priv(vq); in start_streaming() local
263 struct skeleton *skel = vb2_get_drv_priv(vq); in stop_streaming() local
293 struct skeleton *skel = video_drvdata(file); in skeleton_querycap() local
308 static void skeleton_fill_pix_format(struct skeleton *skel, in skeleton_fill_pix_format()
343 struct skeleton *skel = video_drvdata(file); in skeleton_try_fmt_vid_cap() local
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
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
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
249 static void uprobe_multi_test_run(struct uprobe_multi *skel) in uprobe_multi_test_run()
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()
492 static void tracing_subtest(struct test_bpf_cookie *skel) in tracing_subtest()
[all …]
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 …]
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
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
Duprobe_multi_test.c183 static void uprobe_multi_test_run(struct uprobe_multi *skel, struct child *child) in uprobe_multi_test_run()
238 struct uprobe_multi *skel = NULL; in test_skel_api() local
260 struct uprobe_multi *skel = NULL; in __test_attach_api() local
365 struct uprobe_multi *skel = NULL; in test_attach_api_fails() local
551 static void attach_uprobe_fail_trap(struct uprobe_multi *skel) in attach_uprobe_fail_trap()
572 static void attach_uprobe_fail_trap(struct uprobe_multi *skel) { } in attach_uprobe_fail_trap()
577 static void attach_uprobe_fail_refctr(struct uprobe_multi *skel) in attach_uprobe_fail_refctr()
633 struct uprobe_multi *skel = NULL; in test_attach_uprobe_fails() local
653 struct uprobe_multi *skel = NULL; in __test_link_api() local
746 get_program(struct uprobe_multi_consumers *skel, int prog) in get_program()
[all …]
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
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 …]
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
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
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
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
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
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
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
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
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
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
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
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
Dkprobe_multi_test.c12 static void kprobe_multi_test_run(struct kprobe_multi *skel, bool test_return) in kprobe_multi_test_run()
45 struct kprobe_multi *skel = NULL; in test_skel_api() local
66 struct kprobe_multi *skel = NULL; in test_link_api() local
142 struct kprobe_multi *skel = NULL; in test_attach_api() local
219 struct kprobe_multi *skel = NULL; in test_attach_api_fails() local
333 struct kprobe_multi_session *skel = NULL; in test_session_skel_api() local
369 struct kprobe_multi_session_cookie *skel = NULL; in test_session_cookie_skel_api() local
613 static void do_bench_test(struct kprobe_multi_empty *skel, struct bpf_kprobe_multi_opts *opts) in do_bench_test()
643 struct kprobe_multi_empty *skel = NULL; in test_kprobe_multi_bench_attach() local
668 struct kprobe_multi_empty *skel = NULL; in test_kprobe_multi_bench_attach_addr() local
[all …]
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 …]
/linux-6.12.1/kernel/bpf/preload/iterators/
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
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

12345678910>>...13