/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 …]
|
/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 | fin_ack_lat.sh | 18 do_test() { function 34 do_test "30"
|
D | reuseaddr_ports_exhausted.sh | 30 do_test() { function 34 do_test
|
D | msg_zerocopy.sh | 110 do_test() { function 120 do_test "${EXTRA_ARGS}" 121 do_test "-z ${EXTRA_ARGS}"
|
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 | txtimestamp.c | 480 static void do_test(int family, unsigned int report_opt) in do_test() function 870 do_test(family, SOF_TIMESTAMPING_TX_SOFTWARE); in do_main() 873 do_test(family, SOF_TIMESTAMPING_TX_SCHED); in do_main() 876 do_test(family, SOF_TIMESTAMPING_TX_SCHED | in do_main() 881 do_test(family, SOF_TIMESTAMPING_TX_ACK); in do_main() 884 do_test(family, SOF_TIMESTAMPING_TX_SOFTWARE | in do_main() 888 do_test(family, SOF_TIMESTAMPING_TX_SCHED | in do_main()
|
D | so_txtime.c | 269 static void do_test(struct sockaddr *addr, socklen_t alen) in do_test() function 376 do_test((void *)&addr6, sizeof(addr6)); in main() 389 do_test((void *)&addr4, sizeof(addr4)); in main()
|
D | icmp_redirect.sh | 411 do_test() function 509 do_test "legacy" 515 do_test "legacy" 523 do_test "new" 529 do_test "new"
|
/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 …]
|
/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()
|
/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
|
/tools/perf/tests/ |
D | backward-ring-buffer.c | 62 static int do_test(struct evlist *evlist, int mmap_pages, in do_test() function 140 err = do_test(evlist, opts.mmap_pages, &sample_count, in test__backward_ring_buffer() 160 err = do_test(evlist, 1, &sample_count, &comm_count); in test__backward_ring_buffer()
|
D | hists_cumulate.c | 177 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test() function 292 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test1() 439 err = do_test(hists, expected, ARRAY_SIZE(expected), in test2() 497 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test3() 683 err = do_test(hists, expected, ARRAY_SIZE(expected), in test4()
|
D | sample-parsing.c | 169 static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) in do_test() function 354 err = do_test(sample_type, 0, rf[i]); in test__sample_parsing() 368 err = do_test(sample_type, sample_regs, 0); in test__sample_parsing() 377 err = do_test(sample_type, sample_regs, rf[i]); in test__sample_parsing()
|
D | bpf.c | 112 static int do_test(struct bpf_object *obj, int (*func)(void), in do_test() function 259 ret = do_test(obj, in __test__bpf()
|
/tools/testing/selftests/cpufreq/ |
D | main.sh | 102 do_test() function 197 do_test >> $OUTFILE.txt
|
/tools/testing/selftests/powerpc/dscr/ |
D | dscr_default_test.c | 18 static void *do_test(void *in) in do_test() function 76 if (pthread_create(&threads[i], NULL, do_test, (void *)i)) { in dscr_default()
|
/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 195 do_test(&tests, 2, -1, bpf_gen_imm_prog); in main() 196 do_test(&tests, 3, fd_map, bpf_gen_map_prog); in main()
|
D | test_verifier.c | 1170 static int do_test(bool unpriv, unsigned int from, unsigned int to) in do_test() function 1243 return do_test(unpriv, from, to); in main()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_tcp_ca.c | 92 static void do_test(const char *tcp_ca, const struct bpf_map *sk_stg_map) in do_test() function 198 do_test("bpf_cubic", NULL); in test_cubic() 220 do_test("bpf_dctcp", dctcp_skel->maps.sk_stg_map); in test_dctcp()
|
D | select_reuseport.c | 405 static void do_test(int type, sa_family_t family, struct cmd *cmd, in do_test() function 471 do_test(type, family, &cmd, DROP_ERR_INNER_MAP); in test_err_inner_map() 477 do_test(type, family, NULL, DROP_ERR_SKB_DATA); in test_err_skb_data() 488 do_test(type, family, &cmd, DROP_ERR_SK_SELECT_REUSEPORT); in test_err_sk_select_port() 500 do_test(type, family, &cmd, PASS); in test_pass() 529 do_test(type, family, &cmd, PASS); in test_syncookie() 547 do_test(type, family, &cmd, PASS_ERR_SK_SELECT_REUSEPORT); in test_pass_on_err()
|
/tools/testing/selftests/powerpc/alignment/ |
D | alignment_handler.c | 102 rc |= do_test(#name, test_##name) 113 rc |= do_test(#name, test_##name) 230 int do_test(char *test_name, void (*test_func)(char *, char *)) in do_test() function
|