/linux-6.12.1/tools/testing/selftests/net/netfilter/ |
D | nft_audit.sh | 70 do_test() { # (cmd, log) function 87 do_test "nft add table $table" \ 90 do_test "nft add chain $table c1" \ 93 do_test "nft add chain $table c2; add chain $table c3" \ 98 do_test "nft $cmd" \ 101 do_test "nft $cmd; $cmd" \ 112 do_test "nft $cmd" \ 119 do_test "nft -f $rulefile" \ 127 do_test "nft add set t1 s $setblock" \ 130 do_test "nft add set t1 s2 $setblock; add set t1 s3 { $settype; }" \ [all …]
|
/linux-6.12.1/tools/usb/ |
D | hcd-tests.sh | 49 do_test () function 109 do_test -t 9 -c 5000 111 do_test -t 10 -c 5000 115 do_test -t 14 -c 15000 -s 256 -v 1 118 do_test -t 21 -c 100 -s 256 -v 1 127 do_test -t 1 129 do_test -t 3 -v 421 133 do_test -t 17 136 do_test -t 19 140 do_test -t 5 [all …]
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | tcp_fastopen_backup_key.sh | 26 do_test() { function 39 do_test "-4" 40 do_test "-6" 41 do_test "-4" 42 do_test "-6" 43 do_test "-4s" 44 do_test "-6s" 45 do_test "-4s" 46 do_test "-6s" 47 do_test "-4r" [all …]
|
D | so_txtime.sh | 74 do_test() { function 87 do_test 4 mono a,-1 a,-1 88 do_test 6 mono a,0 a,0 89 do_test 6 mono a,10 a,10 90 do_test 4 mono a,10,b,20 a,10,b,20 91 do_test 6 mono a,20,b,10 b,20,a,20 96 do_test 6 tai a,10 a,10 97 do_test 4 tai a,10,b,20 a,10,b,20 98 do_test 6 tai a,20,b,10 b,10,a,20
|
D | sctp_vrf.sh | 80 do_test() { function 119 do_test $CLIENT_NS1 || { echo "[FAIL]"; return $RET; } 123 do_test $CLIENT_NS2 && { echo "[FAIL]"; return $RET; } 128 do_test $CLIENT_NS1 && { echo "[FAIL]"; return $RET; } 132 do_test $CLIENT_NS2 && { echo "[FAIL]"; return $RET; } 136 do_test $CLIENT_NS1 veth2 && { echo "[FAIL]"; return $RET; } 140 do_test $CLIENT_NS1 veth1 || { echo "[FAIL]"; return $RET; } 144 do_test $CLIENT_NS1 vrf-1 || { echo "[FAIL]"; return $RET; } 148 do_test $CLIENT_NS1 vrf-2 && { echo "[FAIL]"; return $RET; } 152 do_test $CLIENT_NS2 vrf-2 || { echo "[FAIL]"; return $RET; } [all …]
|
D | big_tcp.sh | 130 do_test() { function 161 do_test "on" "on" "on" "on" && \ 162 do_test "on" "off" "on" "off" && \ 163 do_test "off" "on" "on" "on" && \ 164 do_test "on" "on" "off" "on" && \ 165 do_test "off" "on" "off" "on"
|
D | fin_ack_lat.sh | 18 do_test() { function 34 do_test "30"
|
D | msg_zerocopy.sh | 109 do_test() { function 119 do_test "${EXTRA_ARGS}" 120 do_test "-z ${EXTRA_ARGS}"
|
D | reuseaddr_ports_exhausted.sh | 30 do_test() { function 34 do_test
|
D | sk_so_peek_off.c | 170 static int do_test(int proto) in do_test() function 196 restcp = do_test(IPPROTO_TCP); in main() 197 resudp = do_test(IPPROTO_UDP); in main()
|
D | msg_zerocopy.c | 683 static void do_test(int domain, int type, int protocol) in do_test() function 804 do_test(PF_PACKET, SOCK_RAW, 0); in main() 806 do_test(PF_PACKET, SOCK_DGRAM, 0); in main() 808 do_test(cfg_family, SOCK_RAW, IPPROTO_EGP); in main() 810 do_test(cfg_family, SOCK_RAW, IPPROTO_RAW); in main() 812 do_test(cfg_family, SOCK_STREAM, 0); in main() 814 do_test(cfg_family, SOCK_DGRAM, 0); in main() 816 do_test(PF_RDS, SOCK_SEQPACKET, 0); in main()
|
/linux-6.12.1/tools/testing/selftests/x86/ |
D | entry_from_vm86.c | 134 static bool do_test(struct vm86plus_struct *v86, unsigned long eip, in do_test() function 203 do_test(vm86, vmcode_umip - vmcode, VM86_TRAP, 3, "UMIP tests"); in do_umip_tests() 240 do_test(vm86, vmcode_umip_str - vmcode, VM86_SIGNAL, 0, in do_umip_tests() 245 do_test(vm86, vmcode_umip_sldt - vmcode, VM86_SIGNAL, 0, in do_umip_tests() 276 do_test(&v86, vmcode_bound - vmcode, VM86_INTx, 5, "#BR"); in main() 285 do_test(&v86, vmcode_sysenter - vmcode, -1, 0, "SYSENTER"); in main() 296 do_test(&v86, vmcode_syscall - vmcode, VM86_SIGNAL, 0, "SYSCALL"); in main() 302 do_test(&v86, vmcode_sti - vmcode, VM86_STI, 0, "STI with VIP set"); in main() 307 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_UNKNOWN, 0, "POPF with VIP set and IF clear"); in main() 312 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_STI, 0, "POPF with VIP and IF set"); in main() [all …]
|
/linux-6.12.1/tools/testing/selftests/net/forwarding/ |
D | lib_sh_test.sh | 15 do_test() function 25 do_test "tpass" true 30 do_test "tfail" false 35 FAIL_TO_XFAIL=yes do_test "txfail" false 43 do_test "true" true 50 do_test "false" false 57 FAIL_TO_XFAIL=yes do_test "xfalse" false 70 xfail_on_slow do_test "slow_false" false
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | gup_longterm.c | 91 static void do_test(int fd, size_t size, enum test_type type, bool shared) in do_test() function 335 do_test(fd, size, TEST_TYPE_RW, true); in test_shared_rw_pin() 340 do_test(fd, size, TEST_TYPE_RW_FAST, true); in test_shared_rw_fast_pin() 345 do_test(fd, size, TEST_TYPE_RO, true); in test_shared_ro_pin() 350 do_test(fd, size, TEST_TYPE_RO_FAST, true); in test_shared_ro_fast_pin() 355 do_test(fd, size, TEST_TYPE_RW, false); in test_private_rw_pin() 360 do_test(fd, size, TEST_TYPE_RW_FAST, false); in test_private_rw_fast_pin() 365 do_test(fd, size, TEST_TYPE_RO, false); in test_private_ro_pin() 370 do_test(fd, size, TEST_TYPE_RO_FAST, false); in test_private_ro_fast_pin() 376 do_test(fd, size, TEST_TYPE_IOURING, true); in test_shared_iouring() [all …]
|
/linux-6.12.1/tools/testing/selftests/arm64/bti/ |
D | test.c | 140 #define do_test(expect_sigill_br_x0, \ macro 213 do_test(1, 1, 1, nohint_func); in start() 214 do_test(1, 1, 1, bti_none_func); in start() 215 do_test(1, 0, 0, bti_c_func); in start() 216 do_test(0, 0, 1, bti_j_func); in start() 217 do_test(0, 0, 0, bti_jc_func); in start() 218 do_test(1, 0, 0, paciasp_func); in start()
|
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | fgraph-multi.tc | 49 do_test() { 79 do_test '*sched*' 'sched' 81 do_test '*lock*' 'lock' 84 do_test '*rcu*' 'rcu'
|
D | func-filter-pid.tc | 51 do_test() { 100 do_test function 102 do_test function_graph
|
D | func-filter-notrace-pid.tc | 38 do_test() { 90 do_test
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | sock_iter_batch.c | 12 static void do_test(int sock_type, bool onebyone) in do_test() function 124 do_test(SOCK_STREAM, true); in test_sock_iter_batch() 125 do_test(SOCK_STREAM, false); in test_sock_iter_batch() 128 do_test(SOCK_DGRAM, true); in test_sock_iter_batch() 129 do_test(SOCK_DGRAM, false); in test_sock_iter_batch()
|
D | bpf_tcp_ca.c | 70 static void do_test(const struct network_helper_opts *opts) in do_test() function 115 do_test(&opts); in test_cubic() 215 do_test(&opts); in test_dctcp_autoattach_map() 417 do_test(&opts); in test_update_ca() 424 do_test(&opts); in test_update_ca() 455 do_test(&opts); in test_update_wrong() 462 do_test(&opts); in test_update_wrong() 494 do_test(&opts); in test_mixed_links() 604 do_test(&opts); in test_cc_cubic()
|
/linux-6.12.1/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 242 static int do_test(unsigned long pre_flags, unsigned long post_flags, in do_test() function 389 ret = do_test(0, 0, true, sync_fd); in TEST() 403 ret = do_test(CLONE_NEWNET, 0, true, sync_fd); in TEST() 418 ret = do_test(CLONE_NEWUSER, 0, true, sync_fd); in TEST() 432 ret = do_test(CLONE_NEWUSER | CLONE_NEWNET, 0, false, sync_fd); in TEST() 447 ret = do_test(0, CLONE_NEWNET, true, sync_fd); in TEST() 462 ret = do_test(0, CLONE_NEWUSER, true, sync_fd); in TEST() 478 ret = do_test(0, CLONE_NEWUSER | CLONE_NEWNET, true, sync_fd); in TEST()
|
/linux-6.12.1/tools/testing/selftests/arm64/abi/ |
D | syscall-abi.c | 393 static bool do_test(struct syscall_cfg *cfg, int sve_vl, int sme_vl, in do_test() function 416 ksft_test_result(do_test(cfg, 0, default_sme_vl, 0), in test_one_syscall() 425 ksft_test_result(do_test(cfg, sve_vls[sve], default_sme_vl, 0), in test_one_syscall() 434 ksft_test_result(do_test(cfg, sve_vls[sve], in test_one_syscall() 440 ksft_test_result(do_test(cfg, sve_vls[sve], in test_one_syscall() 445 ksft_test_result(do_test(cfg, sve_vls[sve], in test_one_syscall() 459 ksft_test_result(do_test(cfg, 0, sme_vls[sme], in test_one_syscall() 463 ksft_test_result(do_test(cfg, 0, sme_vls[sme], SVCR_SM_MASK), in test_one_syscall() 466 ksft_test_result(do_test(cfg, 0, sme_vls[sme], SVCR_ZA_MASK), in test_one_syscall()
|
/linux-6.12.1/tools/perf/tests/ |
D | backward-ring-buffer.c | 62 static int do_test(struct evlist *evlist, int mmap_pages, in do_test() function 141 err = do_test(evlist, opts.mmap_pages, &sample_count, in test__backward_ring_buffer() 161 err = do_test(evlist, 1, &sample_count, &comm_count); in test__backward_ring_buffer()
|
D | hists_cumulate.c | 190 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test() function 305 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test1() 452 err = do_test(hists, expected, ARRAY_SIZE(expected), in test2() 510 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test3() 696 err = do_test(hists, expected, ARRAY_SIZE(expected), in test4()
|
/linux-6.12.1/tools/perf/arch/x86/tests/ |
D | sample-parsing.c | 38 static int do_test(u64 sample_type) in do_test() function 124 return do_test(PERF_SAMPLE_WEIGHT_STRUCT); in test__x86_sample_parsing()
|