/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | tc_links.c | 28 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in serial_test_tc_links_basic() 29 pid2 = id_from_prog_fd(bpf_program__fd(skel->progs.tc2)); in serial_test_tc_links_basic() 39 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in serial_test_tc_links_basic() 74 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in serial_test_tc_links_basic() 128 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc1, target), in test_tc_links_before_target() 130 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc2, target), in test_tc_links_before_target() 132 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc3, target), in test_tc_links_before_target() 134 ASSERT_EQ(bpf_program__set_expected_attach_type(skel->progs.tc4, target), in test_tc_links_before_target() 141 pid1 = id_from_prog_fd(bpf_program__fd(skel->progs.tc1)); in test_tc_links_before_target() 142 pid2 = id_from_prog_fd(bpf_program__fd(skel->progs.tc2)); in test_tc_links_before_target() [all …]
|
D | sk_lookup.c | 532 link[0] = attach_lookup_prog(skel->progs.lookup_pass); in query_lookup_prog() 535 link[1] = attach_lookup_prog(skel->progs.lookup_pass); in query_lookup_prog() 538 link[2] = attach_lookup_prog(skel->progs.lookup_drop); in query_lookup_prog() 676 .lookup_prog = skel->progs.redir_port, in test_redirect_lookup() 684 .lookup_prog = skel->progs.redir_ip4, in test_redirect_lookup() 692 .lookup_prog = skel->progs.select_sock_a, in test_redirect_lookup() 693 .reuseport_prog = skel->progs.select_sock_b, in test_redirect_lookup() 702 .lookup_prog = skel->progs.select_sock_a_no_reuseport, in test_redirect_lookup() 703 .reuseport_prog = skel->progs.select_sock_b, in test_redirect_lookup() 712 .lookup_prog = skel->progs.redir_port, in test_redirect_lookup() [all …]
|
D | attach_probe.c | 57 kprobe_link = bpf_program__attach_kprobe_opts(skel->progs.handle_kprobe, in test_attach_probe_manual() 65 kretprobe_link = bpf_program__attach_kprobe_opts(skel->progs.handle_kretprobe, in test_attach_probe_manual() 76 uprobe_link = bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe, in test_attach_probe_manual() 86 uretprobe_link = bpf_program__attach_uprobe_opts(skel->progs.handle_uretprobe, in test_attach_probe_manual() 99 bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe_byname, in test_attach_probe_manual() 130 skel->links.handle_kprobe_auto = bpf_program__attach(skel->progs.handle_kprobe_auto); in test_attach_probe_auto() 133 skel->links.handle_kretprobe_auto = bpf_program__attach(skel->progs.handle_kretprobe_auto); in test_attach_probe_auto() 137 uprobe_err_link = bpf_program__attach(skel->progs.handle_uprobe_byname); in test_attach_probe_auto() 144 bpf_program__attach(skel->progs.handle_uretprobe_byname); in test_attach_probe_auto() 170 bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe_byname2, in test_uprobe_lib() [all …]
|
D | btf_tag.c | 123 bpf_program__set_autoload(skel->progs.test_sys_getsockname, false); in test_btf_type_tag_mod_user() 125 bpf_program__set_autoload(skel->progs.test_user2, false); in test_btf_type_tag_mod_user() 127 bpf_program__set_autoload(skel->progs.test_user1, false); in test_btf_type_tag_mod_user() 152 bpf_program__set_autoload(skel->progs.test_user2, false); in test_btf_type_tag_vmlinux_user() 153 bpf_program__set_autoload(skel->progs.test_user1, false); in test_btf_type_tag_vmlinux_user() 177 bpf_program__set_autoload(skel->progs.test_percpu_load, false); in test_btf_type_tag_mod_percpu() 178 bpf_program__set_autoload(skel->progs.test_percpu_helper, false); in test_btf_type_tag_mod_percpu() 180 bpf_program__set_autoload(skel->progs.test_percpu2, false); in test_btf_type_tag_mod_percpu() 182 bpf_program__set_autoload(skel->progs.test_percpu1, false); in test_btf_type_tag_mod_percpu() 207 bpf_program__set_autoload(skel->progs.test_percpu2, false); in test_btf_type_tag_vmlinux_percpu() [all …]
|
D | map_kptr.c | 25 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref1), &opts); in test_map_kptr_success() 28 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref2), &opts); in test_map_kptr_success() 32 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_ls_map_kptr_ref1), &lopts); in test_map_kptr_success() 36 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_ls_map_kptr_ref2), &lopts); in test_map_kptr_success() 55 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() 63 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() 70 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() 77 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() 84 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() 91 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() [all …]
|
D | check_mtu.c | 53 prog = skel->progs.xdp_use_helper_basic; in test_check_mtu_xdp_attach() 121 test_check_mtu_run_xdp(skel, skel->progs.xdp_use_helper, mtu); in test_check_mtu_xdp() 122 test_check_mtu_run_xdp(skel, skel->progs.xdp_exceed_mtu, mtu); in test_check_mtu_xdp() 123 test_check_mtu_run_xdp(skel, skel->progs.xdp_minus_delta, mtu); in test_check_mtu_xdp() 124 test_check_mtu_run_xdp(skel, skel->progs.xdp_input_len, mtu); in test_check_mtu_xdp() 125 test_check_mtu_run_xdp(skel, skel->progs.xdp_input_len_exceed, mtu); in test_check_mtu_xdp() 174 test_check_mtu_run_tc(skel, skel->progs.tc_use_helper, mtu); in test_check_mtu_tc() 175 test_check_mtu_run_tc(skel, skel->progs.tc_exceed_mtu, mtu); in test_check_mtu_tc() 176 test_check_mtu_run_tc(skel, skel->progs.tc_exceed_mtu_da, mtu); in test_check_mtu_tc() 177 test_check_mtu_run_tc(skel, skel->progs.tc_minus_delta, mtu); in test_check_mtu_tc() [all …]
|
D | bpf_cookie.c | 31 link1 = bpf_program__attach_kprobe_opts(skel->progs.handle_kprobe, in kprobe_subtest() 38 link2 = bpf_program__attach_kprobe_opts(skel->progs.handle_kprobe, in kprobe_subtest() 46 retlink1 = bpf_program__attach_kprobe_opts(skel->progs.handle_kretprobe, in kprobe_subtest() 53 retlink2 = bpf_program__attach_kprobe_opts(skel->progs.handle_kretprobe, in kprobe_subtest() 76 prog_fd = bpf_program__fd(skel->progs.trigger); in kprobe_multi_test_run() 147 prog_fd = bpf_program__fd(skel->progs.test_kprobe); in kprobe_multi_link_api_subtest() 163 prog_fd = bpf_program__fd(skel->progs.test_kretprobe); in kprobe_multi_link_api_subtest() 215 link1 = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kprobe, in kprobe_multi_attach_api_subtest() 231 link2 = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kretprobe, in kprobe_multi_attach_api_subtest() 295 link1 = bpf_program__attach_uprobe_multi(skel->progs.uprobe, -1, in uprobe_multi_attach_api_subtest() [all …]
|
D | log_fixup.c | 24 bpf_program__set_autoload(skel->progs.bad_relo, true); in bad_core_relo() 26 bpf_program__set_log_buf(skel->progs.bad_relo, log_buf, log_buf_size ?: sizeof(log_buf)); in bad_core_relo() 27 bpf_program__set_log_level(skel->progs.bad_relo, 1 | 8); /* BPF_LOG_FIXED to force truncation */ in bad_core_relo() 82 bpf_program__set_autoload(skel->progs.bad_relo_subprog, true); in bad_core_relo_subprog() 83 bpf_program__set_log_buf(skel->progs.bad_relo_subprog, log_buf, sizeof(log_buf)); in bad_core_relo_subprog() 116 bpf_program__set_autoload(skel->progs.use_missing_map, true); in missing_map() 117 bpf_program__set_log_buf(skel->progs.use_missing_map, log_buf, sizeof(log_buf)); in missing_map() 148 bpf_program__set_autoload(skel->progs.use_missing_kfunc, true); in missing_kfunc() 149 bpf_program__set_log_buf(skel->progs.use_missing_kfunc, log_buf, sizeof(log_buf)); in missing_kfunc()
|
D | cgroup_getset_retval.c | 33 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_set() 69 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_set_and_get() 73 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_set_and_get() 112 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_default_zero() 149 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_default_zero_and_set() 153 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_default_zero_and_set() 194 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_override() 198 link_set_eisconn = bpf_program__attach_cgroup(obj->progs.set_eisconn, in test_setsockopt_override() 202 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_override() 244 link_legacy_eperm = bpf_program__attach_cgroup(obj->progs.legacy_eperm, in test_setsockopt_legacy_eperm() [all …]
|
D | rcu_read_lock.c | 26 bpf_program__set_autoload(skel->progs.get_cgroup_id, true); in test_success() 27 bpf_program__set_autoload(skel->progs.task_succ, true); in test_success() 28 bpf_program__set_autoload(skel->progs.two_regions, true); in test_success() 29 bpf_program__set_autoload(skel->progs.non_sleepable_1, true); in test_success() 30 bpf_program__set_autoload(skel->progs.non_sleepable_2, true); in test_success() 31 bpf_program__set_autoload(skel->progs.task_trusted_non_rcuptr, true); in test_success() 59 bpf_program__set_autoload(skel->progs.task_acquire, true); in test_rcuptr_acquire()
|
D | test_ldsx_insn.c | 22 bpf_program__set_autoload(skel->progs.rdonly_map_prog, true); in test_map_val_and_probed_memory() 23 bpf_program__set_autoload(skel->progs.map_val_prog, true); in test_map_val_and_probed_memory() 24 bpf_program__set_autoload(skel->progs.test_ptr_struct_arg, true); in test_map_val_and_probed_memory() 66 bpf_program__set_autoload(skel->progs._getsockopt, true); in test_ctx_member_sign_ext() 73 bpf_program__attach_cgroup(skel->progs._getsockopt, cgroup_fd); in test_ctx_member_sign_ext() 115 bpf_program__set_autoload(skel->progs._tc, true); in test_ctx_member_narrow_sign_ext() 121 prog_fd = bpf_program__fd(skel->progs._tc); in test_ctx_member_narrow_sign_ext()
|
D | custom_sec_handlers.c | 133 ASSERT_EQ(bpf_program__type(skel->progs.abc1), BPF_PROG_TYPE_RAW_TRACEPOINT, "abc1_type"); in test_custom_sec_handlers() 134 ASSERT_FALSE(bpf_program__autoload(skel->progs.abc1), "abc1_autoload"); in test_custom_sec_handlers() 136 ASSERT_EQ(bpf_program__type(skel->progs.abc2), BPF_PROG_TYPE_RAW_TRACEPOINT, "abc2_type"); in test_custom_sec_handlers() 137 ASSERT_EQ(bpf_program__type(skel->progs.custom1), BPF_PROG_TYPE_TRACEPOINT, "custom1_type"); in test_custom_sec_handlers() 138 ASSERT_EQ(bpf_program__type(skel->progs.custom2), BPF_PROG_TYPE_TRACEPOINT, "custom2_type"); in test_custom_sec_handlers() 139 ASSERT_EQ(bpf_program__type(skel->progs.kprobe1), BPF_PROG_TYPE_TRACEPOINT, "kprobe1_type"); in test_custom_sec_handlers() 140 ASSERT_EQ(bpf_program__type(skel->progs.xyz), BPF_PROG_TYPE_SYSCALL, "xyz_type"); in test_custom_sec_handlers() 154 skel->links.xyz = bpf_program__attach(skel->progs.kprobe1); in test_custom_sec_handlers()
|
D | xdp_link.c | 24 prog_fd1 = bpf_program__fd(skel1->progs.xdp_handler); in serial_test_xdp_link() 29 prog_fd2 = bpf_program__fd(skel2->progs.xdp_handler); in serial_test_xdp_link() 54 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link() 70 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link() 97 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link() 107 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link() 117 err = bpf_link__update_program(link, skel1->progs.xdp_handler); in serial_test_xdp_link() 132 err = bpf_link__update_program(link, skel1->progs.tc_handler); in serial_test_xdp_link()
|
D | cg_storage_multi.c | 107 parent_link = bpf_program__attach_cgroup(obj->progs.egress, in test_egress_only() 130 child_link = bpf_program__attach_cgroup(obj->progs.egress, in test_egress_only() 177 parent_egress1_link = bpf_program__attach_cgroup(obj->progs.egress1, in test_isolated() 181 parent_egress2_link = bpf_program__attach_cgroup(obj->progs.egress2, in test_isolated() 185 parent_ingress_link = bpf_program__attach_cgroup(obj->progs.ingress, in test_isolated() 219 child_egress1_link = bpf_program__attach_cgroup(obj->progs.egress1, in test_isolated() 223 child_egress2_link = bpf_program__attach_cgroup(obj->progs.egress2, in test_isolated() 227 child_ingress_link = bpf_program__attach_cgroup(obj->progs.ingress, in test_isolated() 290 parent_egress1_link = bpf_program__attach_cgroup(obj->progs.egress1, in test_shared() 294 parent_egress2_link = bpf_program__attach_cgroup(obj->progs.egress2, in test_shared() [all …]
|
D | tc_opts.c | 27 fd1 = bpf_program__fd(skel->progs.tc1); in serial_test_tc_opts_basic() 28 fd2 = bpf_program__fd(skel->progs.tc2); in serial_test_tc_opts_basic() 125 fd1 = bpf_program__fd(skel->progs.tc1); in test_tc_opts_before_target() 126 fd2 = bpf_program__fd(skel->progs.tc2); in test_tc_opts_before_target() 127 fd3 = bpf_program__fd(skel->progs.tc3); in test_tc_opts_before_target() 128 fd4 = bpf_program__fd(skel->progs.tc4); in test_tc_opts_before_target() 277 fd1 = bpf_program__fd(skel->progs.tc1); in test_tc_opts_after_target() 278 fd2 = bpf_program__fd(skel->progs.tc2); in test_tc_opts_after_target() 279 fd3 = bpf_program__fd(skel->progs.tc3); in test_tc_opts_after_target() 280 fd4 = bpf_program__fd(skel->progs.tc4); in test_tc_opts_after_target() [all …]
|
D | cgroup_link.c | 49 prog_fd = bpf_program__fd(skel->progs.egress); in serial_test_cgroup_link() 66 links[i] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link() 118 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link() 143 tmp_link = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link() 161 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link() 178 err = bpf_link__update_program(links[i], skel->progs.egress_alt); in serial_test_cgroup_link() 186 link_upd_opts.old_prog_fd = bpf_program__fd(skel->progs.egress_alt); in serial_test_cgroup_link() 189 bpf_program__fd(skel->progs.egress_alt), in serial_test_cgroup_link() 196 link_upd_opts.old_prog_fd = bpf_program__fd(skel->progs.egress); in serial_test_cgroup_link() 199 bpf_program__fd(skel->progs.egress_alt), in serial_test_cgroup_link()
|
D | bpf_iter.c | 148 do_dummy_read(skel->progs.dump_ipv6_route); in test_ipv6_route() 161 do_dummy_read(skel->progs.dump_netlink); in test_netlink() 174 do_dummy_read(skel->progs.dump_bpf_map); in test_bpf_map() 233 do_dummy_read_opts(skel->progs.dump_task, opts); in test_task_common_nocheck() 316 do_dummy_read(skel->progs.dump_task_sleepable); in test_task_sleepable() 334 do_dummy_read(skel->progs.dump_task_stack); in test_task_stack() 335 do_dummy_read(skel->progs.get_task_user_stacks); in test_task_stack() 366 do_dummy_read_opts(skel->progs.dump_task_file, &opts); in test_task_file() 375 do_dummy_read(skel->progs.dump_task_file); in test_task_file() 380 check_bpf_link_info(skel->progs.dump_task_file); in test_task_file() [all …]
|
D | test_tunnel.c | 334 get_src_prog_fd = bpf_program__fd(skel->progs.vxlan_get_tunnel_src); in test_vxlan_tunnel() 335 set_src_prog_fd = bpf_program__fd(skel->progs.vxlan_set_tunnel_src); in test_vxlan_tunnel() 348 set_dst_prog_fd = bpf_program__fd(skel->progs.veth_set_outer_dst); in test_vxlan_tunnel() 362 set_dst_prog_fd = bpf_program__fd(skel->progs.vxlan_set_tunnel_dst); in test_vxlan_tunnel() 418 get_src_prog_fd = bpf_program__fd(skel->progs.ip6vxlan_get_tunnel_src); in test_ip6vxlan_tunnel() 419 set_src_prog_fd = bpf_program__fd(skel->progs.ip6vxlan_set_tunnel_src); in test_ip6vxlan_tunnel() 435 set_dst_prog_fd = bpf_program__fd(skel->progs.ip6vxlan_set_tunnel_dst); in test_ip6vxlan_tunnel() 492 skel->progs.ipip_encap_get_tunnel); in test_ipip_tunnel() 494 skel->progs.ipip_fou_set_tunnel); in test_ipip_tunnel() 498 skel->progs.ipip_encap_get_tunnel); in test_ipip_tunnel() [all …]
|
D | bpf_loop.c | 12 link = bpf_program__attach(skel->progs.test_prog); in check_nr_loops() 47 link = bpf_program__attach(skel->progs.test_prog); in check_callback_fn_stop() 70 link = bpf_program__attach(skel->progs.prog_null_ctx); in check_null_callback_ctx() 89 link = bpf_program__attach(skel->progs.prog_invalid_flags); in check_invalid_flags() 106 link = bpf_program__attach(skel->progs.prog_nested_calls); in check_nested_calls() 126 bpf_program__attach(skel->progs.prog_non_constant_callback); in check_non_constant_callback() 144 struct bpf_link *link = bpf_program__attach(skel->progs.stack_check); in check_stack()
|
D | kprobe_multi_test.c | 15 prog_fd = bpf_program__fd(skel->progs.trigger); in kprobe_multi_test_run() 71 prog_fd = bpf_program__fd(skel->progs.test_kprobe); in test_link_api() 77 prog_fd = bpf_program__fd(skel->progs.test_kretprobe); in test_link_api() 147 link1 = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kprobe_manual, in test_attach_api() 154 link2 = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kretprobe_manual, in test_attach_api() 239 link = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kprobe_manual, in test_attach_api_fails() 253 link = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kprobe_manual, in test_attach_api_fails() 267 link = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kprobe_manual, in test_attach_api_fails() 281 link = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kprobe_manual, in test_attach_api_fails() 295 link = bpf_program__attach_kprobe_multi_opts(skel->progs.test_kprobe_manual, in test_attach_api_fails() [all …]
|
D | xdp_cpumap_attach.c | 26 prog_fd = bpf_program__fd(skel->progs.xdp_redir_prog); in test_xdp_with_cpumap_helpers() 34 prog_fd = bpf_program__fd(skel->progs.xdp_dummy_cm); in test_xdp_with_cpumap_helpers() 54 val.bpf_prog.fd = bpf_program__fd(skel->progs.xdp_dummy_prog); in test_xdp_with_cpumap_helpers() 63 val.bpf_prog.fd = bpf_program__fd(skel->progs.xdp_dummy_cm_frags); in test_xdp_with_cpumap_helpers() 86 frags_prog_fd = bpf_program__fd(skel->progs.xdp_dummy_cm_frags); in test_xdp_with_cpumap_frags_helpers() 106 val.bpf_prog.fd = bpf_program__fd(skel->progs.xdp_dummy_cm); in test_xdp_with_cpumap_frags_helpers()
|
D | uprobe_multi_test.c | 164 skel->links.uprobe = bpf_program__attach_uprobe_multi(skel->progs.uprobe, pid, in __test_attach_api() 170 skel->links.uretprobe = bpf_program__attach_uprobe_multi(skel->progs.uretprobe, pid, in __test_attach_api() 176 skel->links.uprobe_sleep = bpf_program__attach_uprobe_multi(skel->progs.uprobe_sleep, pid, in __test_attach_api() 182 skel->links.uretprobe_sleep = bpf_program__attach_uprobe_multi(skel->progs.uretprobe_sleep, in __test_attach_api() 188 skel->links.uprobe_extra = bpf_program__attach_uprobe_multi(skel->progs.uprobe_extra, -1, in __test_attach_api() 266 prog_fd = bpf_program__fd(skel->progs.uprobe); in __test_link_api() 272 prog_fd = bpf_program__fd(skel->progs.uretprobe); in __test_link_api() 278 prog_fd = bpf_program__fd(skel->progs.uprobe_sleep); in __test_link_api() 284 prog_fd = bpf_program__fd(skel->progs.uretprobe_sleep); in __test_link_api() 291 prog_fd = bpf_program__fd(skel->progs.uprobe_extra); in __test_link_api() [all …]
|
D | trace_ext.c | 42 prog = skel_pkt->progs.test_pkt_md_access; in test_trace_ext() 51 prog = skel_ext->progs.test_pkt_md_access_new; in test_trace_ext() 66 prog = skel_ext->progs.test_pkt_md_access_new; in test_trace_ext() 75 prog = skel_trace->progs.fentry; in test_trace_ext() 79 prog = skel_trace->progs.fexit; in test_trace_ext()
|
/linux-6.6.21/drivers/media/rc/ |
D | bpf-lirc.c | 157 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_attach() 167 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_attach() 195 old_array = lirc_rcu_dereference(raw->progs); in lirc_bpf_detach() 205 rcu_assign_pointer(raw->progs, new_array); in lirc_bpf_detach() 219 if (raw->progs) { in lirc_bpf_run() 221 bpf_prog_run_array(rcu_dereference(raw->progs), in lirc_bpf_run() 238 array = lirc_rcu_dereference(rcdev->raw->progs); in lirc_bpf_free() 298 struct bpf_prog_array *progs; in lirc_prog_query() local 319 progs = lirc_rcu_dereference(rcdev->raw->progs); in lirc_prog_query() 320 cnt = progs ? bpf_prog_array_length(progs) : 0; in lirc_prog_query() [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | bpf_kwork.c | 94 bpf_program__set_autoload(skel->progs.report_irq_handler_entry, true); in irq_load_prepare() 95 bpf_program__set_autoload(skel->progs.report_irq_handler_exit, true); in irq_load_prepare() 107 bpf_program__set_autoload(skel->progs.report_softirq_entry, true); in softirq_load_prepare() 108 bpf_program__set_autoload(skel->progs.report_softirq_exit, true); in softirq_load_prepare() 110 bpf_program__set_autoload(skel->progs.latency_softirq_raise, true); in softirq_load_prepare() 111 bpf_program__set_autoload(skel->progs.latency_softirq_entry, true); in softirq_load_prepare() 123 bpf_program__set_autoload(skel->progs.report_workqueue_execute_start, true); in workqueue_load_prepare() 124 bpf_program__set_autoload(skel->progs.report_workqueue_execute_end, true); in workqueue_load_prepare() 126 bpf_program__set_autoload(skel->progs.latency_workqueue_activate_work, true); in workqueue_load_prepare() 127 bpf_program__set_autoload(skel->progs.latency_workqueue_execute_start, true); in workqueue_load_prepare()
|