Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
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 Dsockmap_basic.c355 if (test__start_subtest("sockmap create_update_free")) in test_sockmap_basic()
357 if (test__start_subtest("sockhash create_update_free")) in test_sockmap_basic()
359 if (test__start_subtest("sockmap sk_msg load helpers")) in test_sockmap_basic()
361 if (test__start_subtest("sockhash sk_msg load helpers")) in test_sockmap_basic()
363 if (test__start_subtest("sockmap update")) in test_sockmap_basic()
365 if (test__start_subtest("sockhash update")) in test_sockmap_basic()
369 if (test__start_subtest("sockmap copy")) in test_sockmap_basic()
371 if (test__start_subtest("sockhash copy")) in test_sockmap_basic()
373 if (test__start_subtest("sockmap skb_verdict attach")) { in test_sockmap_basic()
379 if (test__start_subtest("sockmap msg_verdict progs query")) 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 Dbpf_iter.c1642 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()
1664 if (test__start_subtest("tcp4")) in test_bpf_iter()
1666 if (test__start_subtest("tcp6")) in test_bpf_iter()
1668 if (test__start_subtest("udp4")) in test_bpf_iter()
1670 if (test__start_subtest("udp6")) in test_bpf_iter()
1672 if (test__start_subtest("unix")) in test_bpf_iter()
1674 if (test__start_subtest("anon")) in test_bpf_iter()
1678 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 Dlog_fixup.c139 if (test__start_subtest("bad_core_relo_trunc_none")) in test_log_fixup()
141 if (test__start_subtest("bad_core_relo_trunc_partial")) in test_log_fixup()
143 if (test__start_subtest("bad_core_relo_trunc_full")) in test_log_fixup()
145 if (test__start_subtest("bad_core_relo_subprog")) in test_log_fixup()
147 if (test__start_subtest("missing_map")) in test_log_fixup()
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.c194 if (test__start_subtest("send_signal_tracepoint")) in test_send_signal()
196 if (test__start_subtest("send_signal_perf")) in test_send_signal()
198 if (test__start_subtest("send_signal_nmi")) in test_send_signal()
200 if (test__start_subtest("send_signal_tracepoint_thread")) in test_send_signal()
202 if (test__start_subtest("send_signal_perf_thread")) in test_send_signal()
204 if (test__start_subtest("send_signal_nmi_thread")) in test_send_signal()
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 Dcgroup_iter.c280 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()
A Dfexit_bpf2bpf.c552 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()
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()
572 if (test__start_subtest("fentry_to_cgroup_bpf")) in serial_test_fexit_bpf2bpf()
[all …]
A Dcgrp_local_storage.c249 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("no_rcu_lock")) in test_cgrp_local_storage()
261 if (test__start_subtest("rcu_lock")) in test_cgrp_local_storage()
A Dcgroup_getset_retval.c494 if (test__start_subtest("setsockopt-set")) in test_cgroup_getset_retval()
497 if (test__start_subtest("setsockopt-set_and_get")) in test_cgroup_getset_retval()
500 if (test__start_subtest("setsockopt-default_zero")) in test_cgroup_getset_retval()
503 if (test__start_subtest("setsockopt-default_zero_and_set")) in test_cgroup_getset_retval()
506 if (test__start_subtest("setsockopt-override")) in test_cgroup_getset_retval()
509 if (test__start_subtest("setsockopt-legacy_eperm")) in test_cgroup_getset_retval()
512 if (test__start_subtest("setsockopt-legacy_no_override")) in test_cgroup_getset_retval()
515 if (test__start_subtest("getsockopt-get")) in test_cgroup_getset_retval()
518 if (test__start_subtest("getsockopt-override")) in test_cgroup_getset_retval()
521 if (test__start_subtest("getsockopt-retval_sync")) in test_cgroup_getset_retval()
[all …]
A Dlinked_list.c274 while (test__start_subtest("btf: too many locks")) { in test_btf()
297 while (test__start_subtest("btf: missing lock")) { in test_btf()
323 while (test__start_subtest("btf: bad offset")) { in test_btf()
349 while (test__start_subtest("btf: missing contains:")) { in test_btf()
369 while (test__start_subtest("btf: missing struct")) { in test_btf()
392 while (test__start_subtest("btf: missing node")) { in test_btf()
415 while (test__start_subtest("btf: node incorrect type")) { in test_btf()
473 while (test__start_subtest("btf: owning | owned AA cycle")) { in test_btf()
499 while (test__start_subtest("btf: owning | owned ABA cycle")) { in test_btf()
540 while (test__start_subtest("btf: owning -> owned")) { in test_btf()
[all …]
A Ddummy_st_ops.c149 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()
A Drbtree.c82 if (test__start_subtest("rbtree_add_nodes")) in test_rbtree_success()
84 if (test__start_subtest("rbtree_add_and_remove")) in test_rbtree_success()
86 if (test__start_subtest("rbtree_first_and_remove")) in test_rbtree_success()
102 if (test__start_subtest("rbtree_btf_fail__" #suffix)) \
A Dbpf_tcp_ca.c386 if (test__start_subtest("dctcp")) in test_bpf_tcp_ca()
388 if (test__start_subtest("cubic")) in test_bpf_tcp_ca()
390 if (test__start_subtest("invalid_license")) in test_bpf_tcp_ca()
392 if (test__start_subtest("dctcp_fallback")) in test_bpf_tcp_ca()
394 if (test__start_subtest("rel_setsockopt")) in test_bpf_tcp_ca()
396 if (test__start_subtest("write_sk_pacing")) in test_bpf_tcp_ca()
398 if (test__start_subtest("incompl_cong_ops")) in test_bpf_tcp_ca()
400 if (test__start_subtest("unsupp_cong_op")) in test_bpf_tcp_ca()
A Dtest_strncmp.c140 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()
A Dkprobe_multi_test.c459 if (test__start_subtest("kernel")) in serial_test_kprobe_multi_bench_attach()
461 if (test__start_subtest("modules")) in serial_test_kprobe_multi_bench_attach()
470 if (test__start_subtest("skel_api")) in test_kprobe_multi_test()
472 if (test__start_subtest("link_api_addrs")) in test_kprobe_multi_test()
474 if (test__start_subtest("link_api_syms")) in test_kprobe_multi_test()
476 if (test__start_subtest("attach_api_pattern")) in test_kprobe_multi_test()
478 if (test__start_subtest("attach_api_addrs")) in test_kprobe_multi_test()
480 if (test__start_subtest("attach_api_syms")) in test_kprobe_multi_test()
482 if (test__start_subtest("attach_api_fails")) in test_kprobe_multi_test()
A Drcu_read_lock.c147 if (test__start_subtest("success")) in test_rcu_read_lock()
149 if (test__start_subtest("rcuptr_acquire")) in test_rcu_read_lock()
151 if (test__start_subtest("negative_tests_inproper_region")) in test_rcu_read_lock()
153 if (test__start_subtest("negative_tests_rcuptr_misuse")) in test_rcu_read_lock()
A Dcheck_mtu.c188 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()
A Dconnect_ping.c146 if (test__start_subtest("ipv4")) in test_connect_ping()
153 if (test__start_subtest("ipv4-bind")) in test_connect_ping()
160 if (test__start_subtest("ipv6")) in test_connect_ping()
167 if (test__start_subtest("ipv6-bind")) in test_connect_ping()
A Dlibbpf_str.c204 if (test__start_subtest("bpf_attach_type_str")) in test_libbpf_str()
207 if (test__start_subtest("bpf_link_type_str")) in test_libbpf_str()
210 if (test__start_subtest("bpf_map_type_str")) in test_libbpf_str()
213 if (test__start_subtest("bpf_prog_type_str")) in test_libbpf_str()
A Dtimer_crash.c28 if (test__start_subtest("array")) in test_timer_crash()
30 if (test__start_subtest("hash")) in test_timer_crash()
A Dtype_cast.c108 if (test__start_subtest("xdp")) in test_type_cast()
110 if (test__start_subtest("tc")) in test_type_cast()
112 if (test__start_subtest("negative")) in test_type_cast()

Completed in 24 milliseconds

1234