Home
last modified time | relevance | path

Searched refs:test__start_subtest (Results 1 – 25 of 154) sorted by relevance

1234567

/linux/tools/testing/selftests/bpf/prog_tests/
A Dexceptions.c42 if (!test__start_subtest(#_prog)) goto _prog##_##return_val; \ in test_exceptions_success()
122 if (test__start_subtest("non-throwing fentry -> exception_cb")) in test_exceptions_success()
132 if (test__start_subtest("throwing fentry -> exception_cb")) in test_exceptions_success()
142 if (test__start_subtest("non-throwing fexit -> exception_cb")) in test_exceptions_success()
152 if (test__start_subtest("throwing fexit -> exception_cb")) in test_exceptions_success()
203 if (test__start_subtest("throwing fentry -> non-throwing subprog")) in test_exceptions_success()
225 if (test__start_subtest("throwing fentry -> throwing subprog")) in test_exceptions_success()
247 if (test__start_subtest("throwing fexit -> non-throwing subprog")) in test_exceptions_success()
258 if (test__start_subtest("non-throwing fexit -> throwing subprog")) in test_exceptions_success()
269 if (test__start_subtest("throwing fexit -> throwing subprog")) in test_exceptions_success()
[all …]
A Dcgrp_local_storage.c293 if (test__start_subtest("tp_btf")) in cgrp2_local_storage()
295 if (test__start_subtest("attach_cgroup")) in cgrp2_local_storage()
297 if (test__start_subtest("recursion")) in cgrp2_local_storage()
299 if (test__start_subtest("negative")) in cgrp2_local_storage()
303 if (test__start_subtest("yes_rcu_lock")) in cgrp2_local_storage()
305 if (test__start_subtest("no_rcu_lock")) in cgrp2_local_storage()
338 if (test__start_subtest("cgrp1_tp_btf")) in cgrp1_local_storage()
340 if (test__start_subtest("cgrp1_recursion")) in cgrp1_local_storage()
342 if (test__start_subtest("cgrp1_negative")) in cgrp1_local_storage()
346 if (test__start_subtest("cgrp1_yes_rcu_lock")) in cgrp1_local_storage()
[all …]
A Dcgroup_dev.c96 if (test__start_subtest("allow-mknod")) in test_cgroup_dev()
99 if (test__start_subtest("allow-read")) in test_cgroup_dev()
103 if (test__start_subtest("allow-write")) in test_cgroup_dev()
107 if (test__start_subtest("deny-mknod")) in test_cgroup_dev()
111 if (test__start_subtest("deny-read")) in test_cgroup_dev()
114 if (test__start_subtest("deny-write")) in test_cgroup_dev()
117 if (test__start_subtest("deny-mknod-wrong-type")) in test_cgroup_dev()
A Dbtf_tag.c229 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()
A Dcgroup1_hierarchy.c110 if (test__start_subtest("test_cgroup1_hierarchy")) { in test_cgroup1_hierarchy()
115 if (test__start_subtest("test_root_cgid")) { in test_cgroup1_hierarchy()
121 if (test__start_subtest("test_invalid_level")) { in test_cgroup1_hierarchy()
127 if (test__start_subtest("test_invalid_cgid")) { in test_cgroup1_hierarchy()
132 if (test__start_subtest("test_invalid_hid")) { in test_cgroup1_hierarchy()
139 if (test__start_subtest("test_invalid_cgrp_name")) { in test_cgroup1_hierarchy()
145 if (test__start_subtest("test_invalid_cgrp_name2")) { in test_cgroup1_hierarchy()
151 if (test__start_subtest("test_sleepable_prog")) { in test_cgroup1_hierarchy()
A Dbpf_tcp_ca.c612 if (test__start_subtest("dctcp")) in test_bpf_tcp_ca()
614 if (test__start_subtest("cubic")) in test_bpf_tcp_ca()
618 if (test__start_subtest("dctcp_fallback")) in test_bpf_tcp_ca()
620 if (test__start_subtest("rel_setsockopt")) in test_bpf_tcp_ca()
628 if (test__start_subtest("update_ca")) in test_bpf_tcp_ca()
630 if (test__start_subtest("update_wrong")) in test_bpf_tcp_ca()
632 if (test__start_subtest("mixed_links")) in test_bpf_tcp_ca()
634 if (test__start_subtest("multi_links")) in test_bpf_tcp_ca()
636 if (test__start_subtest("link_replace")) in test_bpf_tcp_ca()
638 if (test__start_subtest("tcp_ca_kfunc")) in test_bpf_tcp_ca()
[all …]
A Drbtree.c148 if (test__start_subtest("rbtree_add_nodes")) in test_rbtree_success()
150 if (test__start_subtest("rbtree_add_nodes_nested")) in test_rbtree_success()
152 if (test__start_subtest("rbtree_add_and_remove")) in test_rbtree_success()
154 if (test__start_subtest("rbtree_add_and_remove_array")) in test_rbtree_success()
156 if (test__start_subtest("rbtree_first_and_remove")) in test_rbtree_success()
158 if (test__start_subtest("rbtree_api_release_aliasing")) in test_rbtree_success()
174 if (test__start_subtest("rbtree_btf_fail__" #suffix)) \
A Dsockmap_basic.c890 if (test__start_subtest("sockmap create_update_free")) in test_sockmap_basic()
892 if (test__start_subtest("sockhash create_update_free")) in test_sockmap_basic()
894 if (test__start_subtest("sockmap sk_msg load helpers")) in test_sockmap_basic()
896 if (test__start_subtest("sockhash sk_msg load helpers")) in test_sockmap_basic()
898 if (test__start_subtest("sockmap update")) in test_sockmap_basic()
900 if (test__start_subtest("sockhash update")) in test_sockmap_basic()
904 if (test__start_subtest("sockmap copy")) in test_sockmap_basic()
906 if (test__start_subtest("sockhash copy")) in test_sockmap_basic()
908 if (test__start_subtest("sockmap skb_verdict attach")) { in test_sockmap_basic()
934 if (test__start_subtest("sockmap unconnected af_unix")) in test_sockmap_basic()
[all …]
A Dprog_tests_framework.c23 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()
A Dlocal_kptr_stash.c135 if (test__start_subtest("local_kptr_stash_simple")) in test_local_kptr_stash()
137 if (test__start_subtest("local_kptr_stash_plain")) in test_local_kptr_stash()
139 if (test__start_subtest("local_kptr_stash_local_with_root")) in test_local_kptr_stash()
141 if (test__start_subtest("local_kptr_stash_unstash")) in test_local_kptr_stash()
143 if (test__start_subtest("refcount_acquire_without_unstash")) in test_local_kptr_stash()
145 if (test__start_subtest("local_kptr_stash_fail")) in test_local_kptr_stash()
A Dlog_fixup.c169 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()
A Darena_atomics.c185 if (test__start_subtest("add")) in test_arena_atomics()
187 if (test__start_subtest("sub")) in test_arena_atomics()
189 if (test__start_subtest("and")) in test_arena_atomics()
191 if (test__start_subtest("or")) in test_arena_atomics()
193 if (test__start_subtest("xor")) in test_arena_atomics()
195 if (test__start_subtest("cmpxchg")) in test_arena_atomics()
197 if (test__start_subtest("xchg")) in test_arena_atomics()
199 if (test__start_subtest("uaf")) in test_arena_atomics()
A Dbpf_iter.c1656 if (test__start_subtest("netlink")) in test_bpf_iter()
1658 if (test__start_subtest("bpf_map")) in test_bpf_iter()
1660 if (test__start_subtest("task_tid")) in test_bpf_iter()
1678 if (test__start_subtest("tcp4")) in test_bpf_iter()
1680 if (test__start_subtest("tcp6")) in test_bpf_iter()
1682 if (test__start_subtest("udp4")) in test_bpf_iter()
1684 if (test__start_subtest("udp6")) in test_bpf_iter()
1686 if (test__start_subtest("unix")) in test_bpf_iter()
1688 if (test__start_subtest("anon")) in test_bpf_iter()
1692 if (test__start_subtest("file")) in test_bpf_iter()
[all …]
A Dbpf_loop.c191 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()
A Dksyms_btf.c174 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()
A Dsend_signal.c199 if (test__start_subtest("send_signal_tracepoint")) in test_send_signal()
201 if (test__start_subtest("send_signal_perf")) in test_send_signal()
203 if (test__start_subtest("send_signal_nmi")) in test_send_signal()
205 if (test__start_subtest("send_signal_tracepoint_thread")) in test_send_signal()
207 if (test__start_subtest("send_signal_perf_thread")) in test_send_signal()
209 if (test__start_subtest("send_signal_nmi_thread")) in test_send_signal()
A Dattach_probe.c306 if (test__start_subtest("manual-default")) in test_attach_probe()
308 if (test__start_subtest("manual-legacy")) in test_attach_probe()
310 if (test__start_subtest("manual-perf")) in test_attach_probe()
312 if (test__start_subtest("manual-link")) in test_attach_probe()
315 if (test__start_subtest("auto")) in test_attach_probe()
317 if (test__start_subtest("kprobe-sleepable")) in test_attach_probe()
319 if (test__start_subtest("uprobe-lib")) in test_attach_probe()
321 if (test__start_subtest("uprobe-sleepable")) in test_attach_probe()
323 if (test__start_subtest("uprobe-ref_ctr")) in test_attach_probe()
A Dfexit_bpf2bpf.c574 if (test__start_subtest("target_no_callees")) in serial_test_fexit_bpf2bpf()
576 if (test__start_subtest("target_yes_callees")) in serial_test_fexit_bpf2bpf()
578 if (test__start_subtest("func_replace")) in serial_test_fexit_bpf2bpf()
580 if (test__start_subtest("func_replace_verify")) in serial_test_fexit_bpf2bpf()
582 if (test__start_subtest("func_sockmap_update")) in serial_test_fexit_bpf2bpf()
584 if (test__start_subtest("func_replace_return_code")) in serial_test_fexit_bpf2bpf()
588 if (test__start_subtest("func_replace_unreliable")) in serial_test_fexit_bpf2bpf()
590 if (test__start_subtest("func_replace_multi")) in serial_test_fexit_bpf2bpf()
592 if (test__start_subtest("fmod_ret_freplace")) in serial_test_fexit_bpf2bpf()
596 if (test__start_subtest("fentry_to_cgroup_bpf")) in serial_test_fexit_bpf2bpf()
[all …]
A Dcgroup_iter.c310 if (test__start_subtest("cgroup_iter__invalid_cgroup")) in test_cgroup_iter()
312 if (test__start_subtest("cgroup_iter__invalid_cgroup_spec")) in test_cgroup_iter()
314 if (test__start_subtest("cgroup_iter__preorder")) in test_cgroup_iter()
316 if (test__start_subtest("cgroup_iter__postorder")) in test_cgroup_iter()
318 if (test__start_subtest("cgroup_iter__ancestors_up_walk")) in test_cgroup_iter()
320 if (test__start_subtest("cgroup_iter__early_termination")) in test_cgroup_iter()
322 if (test__start_subtest("cgroup_iter__self_only")) in test_cgroup_iter()
324 if (test__start_subtest("cgroup_iter__dead_self_only")) in test_cgroup_iter()
326 if (test__start_subtest("cgroup_iter__self_only_css_task")) in test_cgroup_iter()
A Datomics.c181 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()
A Ddummy_st_ops.c177 if (test__start_subtest("dummy_st_ops_attach")) in test_dummy_st_ops()
179 if (test__start_subtest("dummy_init_ret_value")) in test_dummy_st_ops()
181 if (test__start_subtest("dummy_init_ptr_arg")) in test_dummy_st_ops()
183 if (test__start_subtest("dummy_multiple_args")) in test_dummy_st_ops()
185 if (test__start_subtest("dummy_sleepable")) in test_dummy_st_ops()
187 if (test__start_subtest("dummy_sleepable_reject_null")) in test_dummy_st_ops()
A Dlinked_list.c333 while (test__start_subtest("btf: too many locks")) { in test_btf()
356 while (test__start_subtest("btf: missing lock")) { in test_btf()
382 while (test__start_subtest("btf: bad offset")) { in test_btf()
408 while (test__start_subtest("btf: missing contains:")) { in test_btf()
428 while (test__start_subtest("btf: missing struct")) { in test_btf()
451 while (test__start_subtest("btf: missing node")) { in test_btf()
474 while (test__start_subtest("btf: node incorrect type")) { in test_btf()
532 while (test__start_subtest("btf: owning | owned AA cycle")) { in test_btf()
558 while (test__start_subtest("btf: owning | owned ABA cycle")) { in test_btf()
599 while (test__start_subtest("btf: owning -> owned")) { in test_btf()
[all …]
A Dtest_bpf_ma.c66 if (test__start_subtest("batch_alloc_free")) in test_test_bpf_ma()
68 if (test__start_subtest("free_through_map_free")) in test_test_bpf_ma()
70 if (test__start_subtest("batch_percpu_alloc_free")) in test_test_bpf_ma()
72 if (test__start_subtest("percpu_free_through_map_free")) in test_test_bpf_ma()
A Dkprobe_multi_test.c732 if (test__start_subtest("kernel")) in serial_test_kprobe_multi_bench_attach()
734 if (test__start_subtest("modules")) in serial_test_kprobe_multi_bench_attach()
736 if (test__start_subtest("kernel")) in serial_test_kprobe_multi_bench_attach()
738 if (test__start_subtest("modules")) in serial_test_kprobe_multi_bench_attach()
747 if (test__start_subtest("skel_api")) in test_kprobe_multi_test()
749 if (test__start_subtest("link_api_addrs")) in test_kprobe_multi_test()
751 if (test__start_subtest("link_api_syms")) in test_kprobe_multi_test()
757 if (test__start_subtest("attach_api_syms")) in test_kprobe_multi_test()
761 if (test__start_subtest("attach_override")) in test_kprobe_multi_test()
763 if (test__start_subtest("session")) in test_kprobe_multi_test()
[all …]
A Dcgroup_getset_retval.c514 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 …]

Completed in 41 milliseconds

1234567