/Linux-v6.6/tools/testing/selftests/netfilter/ |
D | nft_audit.sh | 28 do_test() { # (cmd, log) function 45 do_test "nft add table $table" \ 48 do_test "nft add chain $table c1" \ 51 do_test "nft add chain $table c2; add chain $table c3" \ 56 do_test "nft $cmd" \ 59 do_test "nft $cmd; $cmd" \ 70 do_test "nft $cmd" \ 77 do_test "nft -f $rulefile" \ 85 do_test "nft add set t1 s $setblock" \ 88 do_test "nft add set t1 s2 $setblock; add set t1 s3 { $settype; }" \ [all …]
|
/Linux-v6.6/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-v6.6/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 | 49 do_test() { function 73 do_test 4 mono a,-1 a,-1 74 do_test 6 mono a,0 a,0 75 do_test 6 mono a,10 a,10 76 do_test 4 mono a,10,b,20 a,10,b,20 77 do_test 6 mono a,20,b,10 b,20,a,20 80 ! do_test 4 tai a,-1 a,-1 81 ! do_test 6 tai a,0 a,0 82 do_test 6 tai a,10 a,10 83 do_test 4 tai a,10,b,20 a,10,b,20 [all …]
|
D | sctp_vrf.sh | 86 do_test() { function 125 do_test $CLIENT_NS1 || { echo "[FAIL]"; return $RET; } 129 do_test $CLIENT_NS2 && { echo "[FAIL]"; return $RET; } 134 do_test $CLIENT_NS1 && { echo "[FAIL]"; return $RET; } 138 do_test $CLIENT_NS2 && { echo "[FAIL]"; return $RET; } 142 do_test $CLIENT_NS1 veth2 && { echo "[FAIL]"; return $RET; } 146 do_test $CLIENT_NS1 veth1 || { echo "[FAIL]"; return $RET; } 150 do_test $CLIENT_NS1 vrf-1 || { echo "[FAIL]"; return $RET; } 154 do_test $CLIENT_NS1 vrf-2 && { echo "[FAIL]"; return $RET; } 158 do_test $CLIENT_NS2 vrf-2 || { echo "[FAIL]"; return $RET; } [all …]
|
D | big_tcp.sh | 128 do_test() { function 159 do_test "on" "on" "on" "on" && \ 160 do_test "on" "off" "on" "off" && \ 161 do_test "off" "on" "on" "on" && \ 162 do_test "on" "on" "off" "on" && \ 163 do_test "off" "on" "off" "on"
|
D | fin_ack_lat.sh | 18 do_test() { function 34 do_test "30"
|
D | msg_zerocopy.sh | 110 do_test() { function 120 do_test "${EXTRA_ARGS}" 121 do_test "-z ${EXTRA_ARGS}"
|
D | reuseaddr_ports_exhausted.sh | 30 do_test() { function 34 do_test
|
D | msg_zerocopy.c | 676 static void do_test(int domain, int type, int protocol) in do_test() function 794 do_test(PF_PACKET, SOCK_RAW, 0); in main() 796 do_test(PF_PACKET, SOCK_DGRAM, 0); in main() 798 do_test(cfg_family, SOCK_RAW, IPPROTO_EGP); in main() 800 do_test(cfg_family, SOCK_RAW, IPPROTO_RAW); in main() 802 do_test(cfg_family, SOCK_STREAM, 0); in main() 804 do_test(cfg_family, SOCK_DGRAM, 0); in main() 806 do_test(PF_RDS, SOCK_SEQPACKET, 0); in main()
|
D | io_uring_zerocopy_tx.sh | 116 do_test() { function 126 do_test "${EXTRA_ARGS}"
|
/Linux-v6.6/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-v6.6/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 326 do_test(fd, size, TEST_TYPE_RW, true); in test_shared_rw_pin() 331 do_test(fd, size, TEST_TYPE_RW_FAST, true); in test_shared_rw_fast_pin() 336 do_test(fd, size, TEST_TYPE_RO, true); in test_shared_ro_pin() 341 do_test(fd, size, TEST_TYPE_RO_FAST, true); in test_shared_ro_fast_pin() 346 do_test(fd, size, TEST_TYPE_RW, false); in test_private_rw_pin() 351 do_test(fd, size, TEST_TYPE_RW_FAST, false); in test_private_rw_fast_pin() 356 do_test(fd, size, TEST_TYPE_RO, false); in test_private_ro_pin() 361 do_test(fd, size, TEST_TYPE_RO_FAST, false); in test_private_ro_fast_pin() 367 do_test(fd, size, TEST_TYPE_IOURING, true); in test_shared_iouring() [all …]
|
/Linux-v6.6/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-v6.6/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 240 static int do_test(unsigned long pre_flags, unsigned long post_flags, in do_test() function 387 ret = do_test(0, 0, true, sync_fd); in TEST() 401 ret = do_test(CLONE_NEWNET, 0, true, sync_fd); in TEST() 416 ret = do_test(CLONE_NEWUSER, 0, true, sync_fd); in TEST() 430 ret = do_test(CLONE_NEWUSER | CLONE_NEWNET, 0, false, sync_fd); in TEST() 445 ret = do_test(0, CLONE_NEWNET, true, sync_fd); in TEST() 460 ret = do_test(0, CLONE_NEWUSER, true, sync_fd); in TEST() 476 ret = do_test(0, CLONE_NEWUSER | CLONE_NEWNET, true, sync_fd); in TEST()
|
/Linux-v6.6/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-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_tcp_ca.c | 81 static void do_test(const char *tcp_ca, const struct bpf_map *sk_stg_map) in do_test() function 186 do_test("bpf_cubic", NULL); in test_cubic() 209 do_test("bpf_dctcp", dctcp_skel->maps.sk_stg_map); in test_dctcp() 401 do_test("tcp_ca_update", NULL); in test_update_ca() 408 do_test("tcp_ca_update", NULL); in test_update_ca() 430 do_test("tcp_ca_update", NULL); in test_update_wrong() 437 do_test("tcp_ca_update", NULL); in test_update_wrong() 460 do_test("tcp_ca_update", NULL); in test_mixed_links()
|
/Linux-v6.6/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func-filter-pid.tc | 38 do_test() { 85 do_test
|
D | func-filter-notrace-pid.tc | 38 do_test() { 90 do_test
|
/Linux-v6.6/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-v6.6/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()
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | test_tag.c | 165 static void do_test(uint32_t *tests, int start_insns, int fd_map, in do_test() function 199 do_test(&tests, 2, -1, bpf_gen_imm_prog); in main() 200 do_test(&tests, 3, fd_map, bpf_gen_map_prog); in main()
|
/Linux-v6.6/tools/testing/selftests/cpufreq/ |
D | main.sh | 102 do_test() function 197 do_test | tee -a $OUTFILE.txt
|
/Linux-v6.6/arch/x86/mm/ |
D | testmmiotrace.c | 80 static void do_test(unsigned long size) in do_test() function 133 do_test(size); in init()
|