/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | btf_tag.c | 229 if (test__start_subtest("btf_decl_tag")) in test_btf_tag() 231 if (test__start_subtest("btf_type_tag")) in test_btf_tag() 234 if (test__start_subtest("btf_type_tag_user_mod1")) in test_btf_tag() 236 if (test__start_subtest("btf_type_tag_user_mod2")) in test_btf_tag() 238 if (test__start_subtest("btf_type_tag_sys_user_vmlinux")) in test_btf_tag() 241 if (test__start_subtest("btf_type_tag_percpu_mod1")) in test_btf_tag() 243 if (test__start_subtest("btf_type_tag_percpu_mod2")) in test_btf_tag() 245 if (test__start_subtest("btf_type_tag_percpu_vmlinux_load")) in test_btf_tag() 247 if (test__start_subtest("btf_type_tag_percpu_vmlinux_helper")) in test_btf_tag()
|
D | sockmap_basic.c | 529 if (test__start_subtest("sockmap create_update_free")) in test_sockmap_basic() 531 if (test__start_subtest("sockhash create_update_free")) in test_sockmap_basic() 533 if (test__start_subtest("sockmap sk_msg load helpers")) in test_sockmap_basic() 535 if (test__start_subtest("sockhash sk_msg load helpers")) in test_sockmap_basic() 537 if (test__start_subtest("sockmap update")) in test_sockmap_basic() 539 if (test__start_subtest("sockhash update")) in test_sockmap_basic() 541 if (test__start_subtest("sockmap update in unsafe context")) in test_sockmap_basic() 543 if (test__start_subtest("sockmap copy")) in test_sockmap_basic() 545 if (test__start_subtest("sockhash copy")) in test_sockmap_basic() 547 if (test__start_subtest("sockmap skb_verdict attach")) { in test_sockmap_basic() [all …]
|
D | prog_tests_framework.c | 23 if (test__start_subtest("test_good_subtest")) in test_prog_tests_framework() 33 if (test__start_subtest("test_skip_subtest")) { in test_prog_tests_framework() 37 if (test__start_subtest("test_skip_subtest")) { in test_prog_tests_framework() 47 if (test__start_subtest("test_fail_subtest")) { in test_prog_tests_framework()
|
D | log_fixup.c | 169 if (test__start_subtest("bad_core_relo_trunc_none")) in test_log_fixup() 171 if (test__start_subtest("bad_core_relo_trunc_partial")) in test_log_fixup() 173 if (test__start_subtest("bad_core_relo_trunc_full")) in test_log_fixup() 175 if (test__start_subtest("bad_core_relo_subprog")) in test_log_fixup() 177 if (test__start_subtest("missing_map")) in test_log_fixup() 179 if (test__start_subtest("missing_kfunc")) in test_log_fixup()
|
D | bpf_iter.c | 1638 if (test__start_subtest("btf_id_or_null")) in test_bpf_iter() 1640 if (test__start_subtest("ipv6_route")) in test_bpf_iter() 1642 if (test__start_subtest("netlink")) in test_bpf_iter() 1644 if (test__start_subtest("bpf_map")) in test_bpf_iter() 1646 if (test__start_subtest("task_tid")) in test_bpf_iter() 1648 if (test__start_subtest("task_pid")) in test_bpf_iter() 1650 if (test__start_subtest("task_pidfd")) in test_bpf_iter() 1652 if (test__start_subtest("task_sleepable")) in test_bpf_iter() 1654 if (test__start_subtest("task_stack")) in test_bpf_iter() 1656 if (test__start_subtest("task_file")) in test_bpf_iter() [all …]
|
D | bpf_loop.c | 191 if (test__start_subtest("check_nr_loops")) in test_bpf_loop() 193 if (test__start_subtest("check_callback_fn_stop")) in test_bpf_loop() 195 if (test__start_subtest("check_null_callback_ctx")) in test_bpf_loop() 197 if (test__start_subtest("check_invalid_flags")) in test_bpf_loop() 199 if (test__start_subtest("check_nested_calls")) in test_bpf_loop() 201 if (test__start_subtest("check_non_constant_callback")) in test_bpf_loop() 203 if (test__start_subtest("check_stack")) in test_bpf_loop()
|
D | ksyms_btf.c | 174 if (test__start_subtest("basic")) in test_ksyms_btf() 177 if (test__start_subtest("null_check")) in test_ksyms_btf() 180 if (test__start_subtest("weak_ksyms")) in test_ksyms_btf() 183 if (test__start_subtest("weak_ksyms_lskel")) in test_ksyms_btf() 186 if (test__start_subtest("write_check1")) in test_ksyms_btf() 189 if (test__start_subtest("write_check2")) in test_ksyms_btf()
|
D | send_signal.c | 198 if (test__start_subtest("send_signal_tracepoint")) in test_send_signal() 200 if (test__start_subtest("send_signal_perf")) in test_send_signal() 202 if (test__start_subtest("send_signal_nmi")) in test_send_signal() 204 if (test__start_subtest("send_signal_tracepoint_thread")) in test_send_signal() 206 if (test__start_subtest("send_signal_perf_thread")) in test_send_signal() 208 if (test__start_subtest("send_signal_nmi_thread")) in test_send_signal()
|
D | attach_probe.c | 304 if (test__start_subtest("manual-default")) in test_attach_probe() 306 if (test__start_subtest("manual-legacy")) in test_attach_probe() 308 if (test__start_subtest("manual-perf")) in test_attach_probe() 310 if (test__start_subtest("manual-link")) in test_attach_probe() 313 if (test__start_subtest("auto")) in test_attach_probe() 315 if (test__start_subtest("kprobe-sleepable")) in test_attach_probe() 317 if (test__start_subtest("uprobe-lib")) in test_attach_probe() 319 if (test__start_subtest("uprobe-sleepable")) in test_attach_probe() 321 if (test__start_subtest("uprobe-ref_ctr")) in test_attach_probe()
|
D | bpf_tcp_ca.c | 538 if (test__start_subtest("dctcp")) in test_bpf_tcp_ca() 540 if (test__start_subtest("cubic")) in test_bpf_tcp_ca() 542 if (test__start_subtest("invalid_license")) in test_bpf_tcp_ca() 544 if (test__start_subtest("dctcp_fallback")) in test_bpf_tcp_ca() 546 if (test__start_subtest("rel_setsockopt")) in test_bpf_tcp_ca() 548 if (test__start_subtest("write_sk_pacing")) in test_bpf_tcp_ca() 550 if (test__start_subtest("incompl_cong_ops")) in test_bpf_tcp_ca() 552 if (test__start_subtest("unsupp_cong_op")) in test_bpf_tcp_ca() 554 if (test__start_subtest("update_ca")) in test_bpf_tcp_ca() 556 if (test__start_subtest("update_wrong")) in test_bpf_tcp_ca() [all …]
|
D | atomics.c | 181 if (test__start_subtest("add")) in test_atomics() 183 if (test__start_subtest("sub")) in test_atomics() 185 if (test__start_subtest("and")) in test_atomics() 187 if (test__start_subtest("or")) in test_atomics() 189 if (test__start_subtest("xor")) in test_atomics() 191 if (test__start_subtest("cmpxchg")) in test_atomics() 193 if (test__start_subtest("xchg")) in test_atomics()
|
D | linked_list.c | 327 while (test__start_subtest("btf: too many locks")) { in test_btf() 350 while (test__start_subtest("btf: missing lock")) { in test_btf() 376 while (test__start_subtest("btf: bad offset")) { in test_btf() 402 while (test__start_subtest("btf: missing contains:")) { in test_btf() 422 while (test__start_subtest("btf: missing struct")) { in test_btf() 445 while (test__start_subtest("btf: missing node")) { in test_btf() 468 while (test__start_subtest("btf: node incorrect type")) { in test_btf() 497 while (test__start_subtest("btf: multiple bpf_list_node with name b")) { in test_btf() 526 while (test__start_subtest("btf: owning | owned AA cycle")) { in test_btf() 552 while (test__start_subtest("btf: owning | owned ABA cycle")) { in test_btf() [all …]
|
D | rbtree.c | 105 if (test__start_subtest("rbtree_add_nodes")) in test_rbtree_success() 107 if (test__start_subtest("rbtree_add_and_remove")) in test_rbtree_success() 109 if (test__start_subtest("rbtree_first_and_remove")) in test_rbtree_success() 111 if (test__start_subtest("rbtree_api_release_aliasing")) in test_rbtree_success() 127 if (test__start_subtest("rbtree_btf_fail__" #suffix)) \
|
D | cgroup_iter.c | 280 if (test__start_subtest("cgroup_iter__invalid_cgroup")) in test_cgroup_iter() 282 if (test__start_subtest("cgroup_iter__invalid_cgroup_spec")) in test_cgroup_iter() 284 if (test__start_subtest("cgroup_iter__preorder")) in test_cgroup_iter() 286 if (test__start_subtest("cgroup_iter__postorder")) in test_cgroup_iter() 288 if (test__start_subtest("cgroup_iter__ancestors_up_walk")) in test_cgroup_iter() 290 if (test__start_subtest("cgroup_iter__early_termination")) in test_cgroup_iter() 292 if (test__start_subtest("cgroup_iter__self_only")) in test_cgroup_iter() 294 if (test__start_subtest("cgroup_iter__dead_self_only")) in test_cgroup_iter()
|
D | fexit_bpf2bpf.c | 552 if (test__start_subtest("target_no_callees")) in serial_test_fexit_bpf2bpf() 554 if (test__start_subtest("target_yes_callees")) in serial_test_fexit_bpf2bpf() 556 if (test__start_subtest("func_replace")) in serial_test_fexit_bpf2bpf() 558 if (test__start_subtest("func_replace_verify")) in serial_test_fexit_bpf2bpf() 560 if (test__start_subtest("func_sockmap_update")) in serial_test_fexit_bpf2bpf() 562 if (test__start_subtest("func_replace_return_code")) in serial_test_fexit_bpf2bpf() 564 if (test__start_subtest("func_map_prog_compatibility")) in serial_test_fexit_bpf2bpf() 566 if (test__start_subtest("func_replace_multi")) in serial_test_fexit_bpf2bpf() 568 if (test__start_subtest("fmod_ret_freplace")) in serial_test_fexit_bpf2bpf() 570 if (test__start_subtest("func_replace_global_func")) in serial_test_fexit_bpf2bpf() [all …]
|
D | local_kptr_stash.c | 83 if (test__start_subtest("local_kptr_stash_simple")) in test_local_kptr_stash() 85 if (test__start_subtest("local_kptr_stash_plain")) in test_local_kptr_stash() 87 if (test__start_subtest("local_kptr_stash_unstash")) in test_local_kptr_stash() 89 if (test__start_subtest("local_kptr_stash_fail")) in test_local_kptr_stash()
|
D | cgrp_local_storage.c | 249 if (test__start_subtest("tp_btf")) in test_cgrp_local_storage() 251 if (test__start_subtest("attach_cgroup")) in test_cgrp_local_storage() 253 if (test__start_subtest("recursion")) in test_cgrp_local_storage() 255 if (test__start_subtest("negative")) in test_cgrp_local_storage() 257 if (test__start_subtest("cgroup_iter_sleepable")) in test_cgrp_local_storage() 259 if (test__start_subtest("yes_rcu_lock")) in test_cgrp_local_storage() 261 if (test__start_subtest("no_rcu_lock")) in test_cgrp_local_storage()
|
D | dummy_st_ops.c | 149 if (test__start_subtest("dummy_st_ops_attach")) in test_dummy_st_ops() 151 if (test__start_subtest("dummy_init_ret_value")) in test_dummy_st_ops() 153 if (test__start_subtest("dummy_init_ptr_arg")) in test_dummy_st_ops() 155 if (test__start_subtest("dummy_multiple_args")) in test_dummy_st_ops() 157 if (test__start_subtest("dummy_sleepable")) in test_dummy_st_ops()
|
D | cgroup_getset_retval.c | 514 if (test__start_subtest("setsockopt-set")) in test_cgroup_getset_retval() 517 if (test__start_subtest("setsockopt-set_and_get")) in test_cgroup_getset_retval() 520 if (test__start_subtest("setsockopt-default_zero")) in test_cgroup_getset_retval() 523 if (test__start_subtest("setsockopt-default_zero_and_set")) in test_cgroup_getset_retval() 526 if (test__start_subtest("setsockopt-override")) in test_cgroup_getset_retval() 529 if (test__start_subtest("setsockopt-legacy_eperm")) in test_cgroup_getset_retval() 532 if (test__start_subtest("setsockopt-legacy_no_override")) in test_cgroup_getset_retval() 535 if (test__start_subtest("getsockopt-get")) in test_cgroup_getset_retval() 538 if (test__start_subtest("getsockopt-override")) in test_cgroup_getset_retval() 541 if (test__start_subtest("getsockopt-retval_sync")) in test_cgroup_getset_retval() [all …]
|
D | kprobe_multi_test.c | 493 if (test__start_subtest("kernel")) in serial_test_kprobe_multi_bench_attach() 495 if (test__start_subtest("modules")) in serial_test_kprobe_multi_bench_attach() 504 if (test__start_subtest("skel_api")) in test_kprobe_multi_test() 506 if (test__start_subtest("link_api_addrs")) in test_kprobe_multi_test() 508 if (test__start_subtest("link_api_syms")) in test_kprobe_multi_test() 510 if (test__start_subtest("attach_api_pattern")) in test_kprobe_multi_test() 512 if (test__start_subtest("attach_api_addrs")) in test_kprobe_multi_test() 514 if (test__start_subtest("attach_api_syms")) in test_kprobe_multi_test() 516 if (test__start_subtest("attach_api_fails")) in test_kprobe_multi_test() 518 if (test__start_subtest("attach_override")) in test_kprobe_multi_test()
|
D | fill_link_info.c | 315 if (test__start_subtest("kprobe_link_info")) in test_fill_link_info() 317 if (test__start_subtest("kretprobe_link_info")) in test_fill_link_info() 319 if (test__start_subtest("kprobe_invalid_ubuff")) in test_fill_link_info() 321 if (test__start_subtest("tracepoint_link_info")) in test_fill_link_info() 325 if (test__start_subtest("uprobe_link_info")) in test_fill_link_info() 327 if (test__start_subtest("uretprobe_link_info")) in test_fill_link_info() 333 if (test__start_subtest("kprobe_multi_link_info")) in test_fill_link_info() 335 if (test__start_subtest("kretprobe_multi_link_info")) in test_fill_link_info() 337 if (test__start_subtest("kprobe_multi_invalid_ubuff")) in test_fill_link_info()
|
D | test_strncmp.c | 140 if (test__start_subtest("strncmp_ret")) in test_test_strncmp() 142 if (test__start_subtest("strncmp_bad_not_const_str_size")) in test_test_strncmp() 144 if (test__start_subtest("strncmp_bad_writable_target")) in test_test_strncmp() 146 if (test__start_subtest("strncmp_bad_not_null_term_target")) in test_test_strncmp()
|
D | rcu_read_lock.c | 138 if (test__start_subtest("success")) in test_rcu_read_lock() 140 if (test__start_subtest("rcuptr_acquire")) in test_rcu_read_lock() 142 if (test__start_subtest("negative_tests_inproper_region")) in test_rcu_read_lock() 144 if (test__start_subtest("negative_tests_rcuptr_misuse")) in test_rcu_read_lock()
|
D | vrf_socket_lookup.c | 296 if (test__start_subtest("tc_socket_lookup_tcp")) in test_vrf_socket_lookup() 298 if (test__start_subtest("tc_socket_lookup_tcp_skc")) in test_vrf_socket_lookup() 300 if (test__start_subtest("tc_socket_lookup_udp")) in test_vrf_socket_lookup() 302 if (test__start_subtest("xdp_socket_lookup_tcp")) in test_vrf_socket_lookup() 304 if (test__start_subtest("xdp_socket_lookup_tcp_skc")) in test_vrf_socket_lookup() 306 if (test__start_subtest("xdp_socket_lookup_udp")) in test_vrf_socket_lookup()
|
D | check_mtu.c | 188 if (test__start_subtest("bpf_check_mtu XDP-attach")) in serial_test_check_mtu() 195 if (test__start_subtest("bpf_check_mtu XDP-run")) in serial_test_check_mtu() 198 if (test__start_subtest("bpf_check_mtu XDP-run ifindex-lookup")) in serial_test_check_mtu() 201 if (test__start_subtest("bpf_check_mtu TC-run")) in serial_test_check_mtu() 204 if (test__start_subtest("bpf_check_mtu TC-run ifindex-lookup")) in serial_test_check_mtu()
|