Home
last modified time | relevance | path

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

123

/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/
Dsend_signal.c191 if (test__start_subtest("send_signal_tracepoint")) in test_send_signal()
193 if (test__start_subtest("send_signal_perf")) in test_send_signal()
195 if (test__start_subtest("send_signal_nmi")) in test_send_signal()
197 if (test__start_subtest("send_signal_tracepoint_thread")) in test_send_signal()
199 if (test__start_subtest("send_signal_perf_thread")) in test_send_signal()
201 if (test__start_subtest("send_signal_nmi_thread")) in test_send_signal()
Dbpf_iter.c1246 if (test__start_subtest("btf_id_or_null")) in test_bpf_iter()
1248 if (test__start_subtest("ipv6_route")) in test_bpf_iter()
1250 if (test__start_subtest("netlink")) in test_bpf_iter()
1252 if (test__start_subtest("bpf_map")) in test_bpf_iter()
1254 if (test__start_subtest("task")) in test_bpf_iter()
1256 if (test__start_subtest("task_stack")) in test_bpf_iter()
1258 if (test__start_subtest("task_file")) in test_bpf_iter()
1260 if (test__start_subtest("task_vma")) in test_bpf_iter()
1262 if (test__start_subtest("task_btf")) in test_bpf_iter()
1264 if (test__start_subtest("tcp4")) in test_bpf_iter()
[all …]
Dsockmap_basic.c320 if (test__start_subtest("sockmap create_update_free")) in test_sockmap_basic()
322 if (test__start_subtest("sockhash create_update_free")) in test_sockmap_basic()
324 if (test__start_subtest("sockmap sk_msg load helpers")) in test_sockmap_basic()
326 if (test__start_subtest("sockhash sk_msg load helpers")) in test_sockmap_basic()
328 if (test__start_subtest("sockmap update")) in test_sockmap_basic()
330 if (test__start_subtest("sockhash update")) in test_sockmap_basic()
332 if (test__start_subtest("sockmap update in unsafe context")) in test_sockmap_basic()
334 if (test__start_subtest("sockmap copy")) in test_sockmap_basic()
336 if (test__start_subtest("sockhash copy")) in test_sockmap_basic()
338 if (test__start_subtest("sockmap skb_verdict attach")) { in test_sockmap_basic()
Dfexit_bpf2bpf.c376 if (test__start_subtest("target_no_callees")) in test_fexit_bpf2bpf()
378 if (test__start_subtest("target_yes_callees")) in test_fexit_bpf2bpf()
380 if (test__start_subtest("func_replace")) in test_fexit_bpf2bpf()
382 if (test__start_subtest("func_replace_verify")) in test_fexit_bpf2bpf()
384 if (test__start_subtest("func_sockmap_update")) in test_fexit_bpf2bpf()
386 if (test__start_subtest("func_replace_return_code")) in test_fexit_bpf2bpf()
388 if (test__start_subtest("func_map_prog_compatibility")) in test_fexit_bpf2bpf()
390 if (test__start_subtest("func_replace_multi")) in test_fexit_bpf2bpf()
392 if (test__start_subtest("fmod_ret_freplace")) in test_fexit_bpf2bpf()
Datomics.c229 if (test__start_subtest("add")) in test_atomics()
231 if (test__start_subtest("sub")) in test_atomics()
233 if (test__start_subtest("and")) in test_atomics()
235 if (test__start_subtest("or")) in test_atomics()
237 if (test__start_subtest("xor")) in test_atomics()
239 if (test__start_subtest("cmpxchg")) in test_atomics()
241 if (test__start_subtest("xchg")) in test_atomics()
Dtask_local_storage.c86 if (test__start_subtest("sys_enter_exit")) in test_task_local_storage()
88 if (test__start_subtest("exit_creds")) in test_task_local_storage()
90 if (test__start_subtest("recursion")) in test_task_local_storage()
Dcheck_mtu.c202 if (test__start_subtest("bpf_check_mtu XDP-attach")) in test_check_mtu()
209 if (test__start_subtest("bpf_check_mtu XDP-run")) in test_check_mtu()
212 if (test__start_subtest("bpf_check_mtu XDP-run ifindex-lookup")) in test_check_mtu()
215 if (test__start_subtest("bpf_check_mtu TC-run")) in test_check_mtu()
218 if (test__start_subtest("bpf_check_mtu TC-run ifindex-lookup")) in test_check_mtu()
Dksyms_btf.c131 if (test__start_subtest("basic")) in test_ksyms_btf()
134 if (test__start_subtest("null_check")) in test_ksyms_btf()
137 if (test__start_subtest("weak_ksyms")) in test_ksyms_btf()
Dbpf_tcp_ca.c328 if (test__start_subtest("dctcp")) in test_bpf_tcp_ca()
330 if (test__start_subtest("cubic")) in test_bpf_tcp_ca()
332 if (test__start_subtest("invalid_license")) in test_bpf_tcp_ca()
334 if (test__start_subtest("dctcp_fallback")) in test_bpf_tcp_ca()
336 if (test__start_subtest("rel_setsockopt")) in test_bpf_tcp_ca()
Dlookup_and_delete.c280 if (test__start_subtest("lookup_and_delete")) in test_lookup_and_delete()
282 if (test__start_subtest("lookup_and_delete_percpu")) in test_lookup_and_delete()
284 if (test__start_subtest("lookup_and_delete_lru")) in test_lookup_and_delete()
286 if (test__start_subtest("lookup_and_delete_lru_percpu")) in test_lookup_and_delete()
Dbpf_cookie.c244 if (test__start_subtest("kprobe")) in test_bpf_cookie()
246 if (test__start_subtest("uprobe")) in test_bpf_cookie()
248 if (test__start_subtest("tracepoint")) in test_bpf_cookie()
250 if (test__start_subtest("perf_event")) in test_bpf_cookie()
Dkfunc_call.c54 if (test__start_subtest("main")) in test_kfunc_call()
57 if (test__start_subtest("subprog")) in test_kfunc_call()
Dbtf_dedup_split.c319 if (test__start_subtest("split_simple")) in test_btf_dedup_split()
321 if (test__start_subtest("split_struct_duped")) in test_btf_dedup_split()
323 if (test__start_subtest("split_fwd_resolve")) in test_btf_dedup_split()
Dxdp_adjust_tail.c135 if (test__start_subtest("xdp_adjust_tail_shrink")) in test_xdp_adjust_tail()
137 if (test__start_subtest("xdp_adjust_tail_grow")) in test_xdp_adjust_tail()
139 if (test__start_subtest("xdp_adjust_tail_grow2")) in test_xdp_adjust_tail()
Dns_current_pid_tgid.c83 if (test__start_subtest("ns_current_pid_tgid_root_ns")) in test_ns_current_pid_tgid()
85 if (test__start_subtest("ns_current_pid_tgid_new_ns")) in test_ns_current_pid_tgid()
Dtailcalls.c815 if (test__start_subtest("tailcall_1")) in test_tailcalls()
817 if (test__start_subtest("tailcall_2")) in test_tailcalls()
819 if (test__start_subtest("tailcall_3")) in test_tailcalls()
821 if (test__start_subtest("tailcall_4")) in test_tailcalls()
823 if (test__start_subtest("tailcall_5")) in test_tailcalls()
825 if (test__start_subtest("tailcall_bpf2bpf_1")) in test_tailcalls()
827 if (test__start_subtest("tailcall_bpf2bpf_2")) in test_tailcalls()
829 if (test__start_subtest("tailcall_bpf2bpf_3")) in test_tailcalls()
831 if (test__start_subtest("tailcall_bpf2bpf_4")) in test_tailcalls()
833 if (test__start_subtest("tailcall_bpf2bpf_5")) in test_tailcalls()
Dbtf_dump.c827 if (!test__start_subtest(t->name)) in test_btf_dump()
832 if (test__start_subtest("btf_dump: incremental")) in test_btf_dump()
844 if (test__start_subtest("btf_dump: int_data")) in test_btf_dump()
846 if (test__start_subtest("btf_dump: float_data")) in test_btf_dump()
848 if (test__start_subtest("btf_dump: char_data")) in test_btf_dump()
850 if (test__start_subtest("btf_dump: typedef_data")) in test_btf_dump()
852 if (test__start_subtest("btf_dump: enum_data")) in test_btf_dump()
854 if (test__start_subtest("btf_dump: struct_data")) in test_btf_dump()
856 if (test__start_subtest("btf_dump: var_data")) in test_btf_dump()
861 if (test__start_subtest("btf_dump: datasec_data")) in test_btf_dump()
Dxdp_devmap_attach.c77 if (test__start_subtest("DEVMAP with programs in entries")) in test_xdp_devmap_attach()
80 if (test__start_subtest("Verifier check of DEVMAP programs")) in test_xdp_devmap_attach()
Dsk_lookup.c861 if (test__start_subtest(t->desc)) in test_redirect_lookup()
944 if (test__start_subtest(t->desc)) in test_drop_on_lookup()
1047 if (test__start_subtest(t->desc)) in test_drop_on_reuseport()
1160 if (test__start_subtest("sk_assign returns EEXIST")) in test_sk_assign_helper()
1162 if (test__start_subtest("sk_assign honors F_REPLACE")) in test_sk_assign_helper()
1164 if (test__start_subtest("sk_assign accepts NULL socket")) in test_sk_assign_helper()
1166 if (test__start_subtest("access ctx->sk")) in test_sk_assign_helper()
1168 if (test__start_subtest("narrow access to ctx v4")) in test_sk_assign_helper()
1170 if (test__start_subtest("narrow access to ctx v6")) in test_sk_assign_helper()
1172 if (test__start_subtest("sk_assign rejects TCP established")) in test_sk_assign_helper()
[all …]
Dlink_pinning.c98 if (test__start_subtest("pin_raw_tp")) in test_link_pinning()
100 if (test__start_subtest("pin_tp_btf")) in test_link_pinning()
Dl4lb_all.c83 if (test__start_subtest("l4lb_inline")) in test_l4lb_all()
85 if (test__start_subtest("l4lb_noinline")) in test_l4lb_all()
Dsnprintf.c125 if (test__start_subtest("snprintf_positive")) in test_snprintf()
127 if (test__start_subtest("snprintf_negative")) in test_snprintf()
Dmetadata.c136 if (test__start_subtest("unused")) in test_metadata()
139 if (test__start_subtest("used")) in test_metadata()
Dperf_branches.c166 if (test__start_subtest("perf_branches_hw")) in test_perf_branches()
168 if (test__start_subtest("perf_branches_no_hw")) in test_perf_branches()
Dmap_init.c210 if (test__start_subtest("pcpu_map_init")) in test_map_init()
212 if (test__start_subtest("pcpu_lru_map_init")) in test_map_init()

123