/openbmc/linux/samples/v4l/ |
H A D | v4l2-pci-skeleton.c | 121 struct skeleton *skel = dev_id; in skeleton_irq() local 157 struct skeleton *skel = vb2_get_drv_priv(vq); in queue_setup() local 186 struct skeleton *skel = vb2_get_drv_priv(vb->vb2_queue); in buffer_prepare() local 205 struct skeleton *skel = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() local 217 static void return_all_buffers(struct skeleton *skel, in return_all_buffers() 239 struct skeleton *skel = vb2_get_drv_priv(vq); in start_streaming() local 262 struct skeleton *skel = vb2_get_drv_priv(vq); in stop_streaming() local 292 struct skeleton *skel = video_drvdata(file); in skeleton_querycap() local 307 static void skeleton_fill_pix_format(struct skeleton *skel, in skeleton_fill_pix_format() 342 struct skeleton *skel = video_drvdata(file); in skeleton_try_fmt_vid_cap() local [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | atomics.c | 7 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 D | bpf_loop.c | 8 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 D | bpf_cookie.c | 22 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 …]
|
H A D | bpf_iter.c | 41 struct bpf_iter_test_kern3 *skel; in test_btf_id_or_null() local 80 static void do_read_map_iter_fd(struct bpf_object_skeleton **skel, struct bpf_program *prog, in do_read_map_iter_fd() 142 struct bpf_iter_ipv6_route *skel; in test_ipv6_route() local 155 struct bpf_iter_netlink *skel; in test_netlink() local 168 struct bpf_iter_bpf_map *skel; in test_bpf_map() local 218 struct bpf_iter_task *skel; in test_task_common_nocheck() local 310 struct bpf_iter_task *skel; in test_task_sleepable() local 328 struct bpf_iter_task_stack *skel; in test_task_stack() local 345 struct bpf_iter_task_file *skel; in test_task_file() local 393 static int do_btf_read(struct bpf_iter_task_btf *skel) in do_btf_read() [all …]
|
H A D | find_vma.c | 10 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 D | user_ringbuf.c | 73 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 D | cgroup_iter.c | 95 static void test_invalid_cgroup(struct cgroup_iter *skel) in test_invalid_cgroup() 112 static void test_invalid_cgroup_spec(struct cgroup_iter *skel) in test_invalid_cgroup_spec() 130 static void test_walk_preorder(struct cgroup_iter *skel) in test_walk_preorder() 141 static void test_walk_postorder(struct cgroup_iter *skel) in test_walk_postorder() 152 static void test_walk_ancestors_up(struct cgroup_iter *skel) in test_walk_ancestors_up() 168 static void test_early_termination(struct cgroup_iter *skel) in test_early_termination() 183 static void test_walk_self_only(struct cgroup_iter *skel) in test_walk_self_only() 192 static void test_walk_dead_self_only(struct cgroup_iter *skel) in test_walk_dead_self_only() 268 struct cgroup_iter *skel = NULL; in test_cgroup_iter() local
|
H A D | attach_probe.c | 43 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() 293 struct test_attach_probe *skel; in test_attach_probe() local
|
H A D | test_strncmp.c | 6 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 D | cgrp_local_storage.c | 24 struct cgrp_ls_tp_btf *skel; in test_tp_btf() local 72 struct cgrp_ls_attach_cgroup *skel; in test_attach_cgroup() local 126 struct cgrp_ls_recursion *skel; in test_recursion() local 146 struct cgrp_ls_negative *skel; in test_negative() local 159 struct cgrp_ls_sleepable *skel; in test_cgroup_iter_sleepable() local 198 struct cgrp_ls_sleepable *skel; in test_yes_rcu_lock() local 225 struct cgrp_ls_sleepable *skel; in test_no_rcu_lock() local
|
H A D | btf_tag.c | 17 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 D | map_ops.c | 46 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 D | ksyms_btf.c | 20 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 D | dummy_st_ops.c | 15 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 D | bpf_tcp_ca.c | 246 struct bpf_tcp_nogpl *skel; in test_invalid_license() local 337 struct tcp_ca_write_sk_pacing *skel; in test_write_sk_pacing() local 353 struct tcp_ca_incompl_cong_ops *skel; in test_incompl_cong_ops() local 373 struct tcp_ca_unsupp_cong_op *skel; in test_unsupp_cong_op() local 389 struct tcp_ca_update *skel; in test_update_ca() local 420 struct tcp_ca_update *skel; in test_update_wrong() local 450 struct tcp_ca_update *skel; in test_mixed_links() local 479 struct tcp_ca_update *skel; in test_multi_links() local 503 struct tcp_ca_update *skel; in test_link_replace() local
|
H A D | sock_destroy.c | 35 static void test_tcp_client(struct sock_destroy_prog *skel) in test_tcp_client() 72 static void test_tcp_server(struct sock_destroy_prog *skel) in test_tcp_server() 113 static void test_udp_client(struct sock_destroy_prog *skel) in test_udp_client() 146 static void test_udp_server(struct sock_destroy_prog *skel) in test_udp_server() 179 struct sock_destroy_prog *skel; in test_sock_destroy() local
|
H A D | tc_opts.c | 19 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 D | lookup_and_delete.c | 47 struct test_lookup_and_delete *skel; in setup_prog() local 78 static int trigger_tp(struct test_lookup_and_delete *skel, __u64 key, in trigger_tp() 100 struct test_lookup_and_delete *skel; in test_lookup_and_delete_hash() local 136 struct test_lookup_and_delete *skel; in test_lookup_and_delete_percpu_hash() local 176 struct test_lookup_and_delete *skel; in test_lookup_and_delete_lru_hash() local 222 struct test_lookup_and_delete *skel; in test_lookup_and_delete_lru_percpu_hash() local
|
H A D | tc_links.c | 22 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 D | rbtree.c | 19 struct rbtree *skel; in test_rbtree_add_nodes() local 41 struct rbtree *skel; in test_rbtree_add_and_remove() local 63 struct rbtree *skel; in test_rbtree_first_and_remove() local 87 struct rbtree *skel; in test_rbtree_api_release_aliasing() local
|
H A D | task_local_storage.c | 19 struct task_local_storage *skel; in test_sys_enter_exit() local 45 struct task_local_storage_exit_creds *skel; in test_exit_creds() local 83 struct task_ls_recursion *skel; in test_recursion() local 156 struct task_storage_nodeadlock *skel = arg; in sock_create_loop() local 171 struct task_storage_nodeadlock *skel; in test_nodeadlock() local
|
/openbmc/linux/kernel/bpf/preload/iterators/ |
H A D | iterators.lskel-big-endian.h | 24 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
|
H A D | iterators.lskel-little-endian.h | 24 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
|
/openbmc/linux/drivers/hid/bpf/entrypoints/ |
H A D | entrypoints.lskel.h | 22 entrypoints_bpf__hid_tail_call__attach(struct entrypoints_bpf *skel) in entrypoints_bpf__hid_tail_call__attach() 33 entrypoints_bpf__attach(struct entrypoints_bpf *skel) in entrypoints_bpf__attach() 42 entrypoints_bpf__detach(struct entrypoints_bpf *skel) in entrypoints_bpf__detach() 47 entrypoints_bpf__destroy(struct entrypoints_bpf *skel) in entrypoints_bpf__destroy() 59 struct entrypoints_bpf *skel; in entrypoints_bpf__open() local 72 entrypoints_bpf__load(struct entrypoints_bpf *skel) in entrypoints_bpf__load() 225 struct entrypoints_bpf *skel; in entrypoints_bpf__open_and_load() local
|