Home
last modified time | relevance | path

Searched refs:do_test (Results 1 – 24 of 24) sorted by relevance

/tools/usb/
Dhcd-tests.sh49 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/
Dtcp_fastopen_backup_key.sh26 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 …]
Dfin_ack_lat.sh18 do_test() { function
34 do_test "30"
Dreuseaddr_ports_exhausted.sh30 do_test() { function
34 do_test
Dmsg_zerocopy.sh110 do_test() { function
120 do_test "${EXTRA_ARGS}"
121 do_test "-z ${EXTRA_ARGS}"
Dmsg_zerocopy.c676 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()
Dtxtimestamp.c480 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()
Dso_txtime.c269 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()
Dicmp_redirect.sh411 do_test() function
509 do_test "legacy"
515 do_test "legacy"
523 do_test "new"
529 do_test "new"
/tools/testing/selftests/x86/
Dentry_from_vm86.c134 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/
Duevent_filtering.c240 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/
Dfunc-filter-pid.tc38 do_test() {
85 do_test
Dfunc-filter-notrace-pid.tc38 do_test() {
90 do_test
/tools/perf/tests/
Dbackward-ring-buffer.c62 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()
Dhists_cumulate.c177 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()
Dsample-parsing.c169 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()
Dbpf.c112 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/
Dmain.sh102 do_test() function
197 do_test >> $OUTFILE.txt
/tools/testing/selftests/powerpc/dscr/
Ddscr_default_test.c18 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/
Dtest_tag.c165 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()
Dtest_verifier.c1170 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/
Dbpf_tcp_ca.c92 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()
Dselect_reuseport.c405 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/
Dalignment_handler.c102 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