Home
last modified time | relevance | path

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

12

/Linux-v5.4/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 …]
/Linux-v5.4/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 …]
Dmsg_zerocopy.sh110 do_test() { function
120 do_test "${EXTRA_ARGS}"
121 do_test "-z ${EXTRA_ARGS}"
Dmsg_zerocopy.c677 static void do_test(int domain, int type, int protocol) in do_test() function
795 do_test(PF_PACKET, SOCK_RAW, 0); in main()
797 do_test(PF_PACKET, SOCK_DGRAM, 0); in main()
799 do_test(cfg_family, SOCK_RAW, IPPROTO_EGP); in main()
801 do_test(cfg_family, SOCK_RAW, IPPROTO_RAW); in main()
803 do_test(cfg_family, SOCK_STREAM, 0); in main()
805 do_test(cfg_family, SOCK_DGRAM, 0); in main()
807 do_test(PF_RDS, SOCK_SEQPACKET, 0); in main()
Dso_txtime.c181 static void do_test(struct sockaddr *addr, socklen_t alen) in do_test() function
283 do_test((void *)&addr6, sizeof(addr6)); in main()
292 do_test((void *)&addr4, sizeof(addr4)); in main()
Dicmp_redirect.sh408 do_test() function
506 do_test "legacy"
512 do_test "legacy"
520 do_test "new"
526 do_test "new"
/Linux-v5.4/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 …]
/Linux-v5.4/tools/testing/selftests/uevent/
Duevent_filtering.c241 static int do_test(unsigned long pre_flags, unsigned long post_flags, in do_test() function
388 ret = do_test(0, 0, true, sync_fd); in TEST()
402 ret = do_test(CLONE_NEWNET, 0, true, sync_fd); in TEST()
417 ret = do_test(CLONE_NEWUSER, 0, true, sync_fd); in TEST()
431 ret = do_test(CLONE_NEWUSER | CLONE_NEWNET, 0, false, sync_fd); in TEST()
446 ret = do_test(0, CLONE_NEWNET, true, sync_fd); in TEST()
461 ret = do_test(0, CLONE_NEWUSER, true, sync_fd); in TEST()
477 ret = do_test(0, CLONE_NEWUSER | CLONE_NEWNET, true, sync_fd); in TEST()
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc-filter-pid.tc51 do_test() {
98 do_test
102 do_test
/Linux-v5.4/tools/perf/tests/
Dbackward-ring-buffer.c61 static int do_test(struct evlist *evlist, int mmap_pages, in do_test() function
139 err = do_test(evlist, opts.mmap_pages, &sample_count, in test__backward_ring_buffer()
150 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.c156 static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) in do_test() function
331 err = do_test(sample_type, 0, rf[i]); in test__sample_parsing()
345 err = do_test(sample_type, sample_regs, 0); in test__sample_parsing()
354 err = do_test(sample_type, sample_regs, rf[i]); in test__sample_parsing()
Dbpf.c110 static int do_test(struct bpf_object *obj, int (*func)(void), in do_test() function
257 ret = do_test(obj, in __test__bpf()
/Linux-v5.4/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_select_reuseport.c368 static void do_test(int type, sa_family_t family, struct cmd *cmd, in do_test() function
433 do_test(type, family, &cmd, DROP_ERR_INNER_MAP); in test_err_inner_map()
441 do_test(type, family, NULL, DROP_ERR_SKB_DATA); in test_err_skb_data()
454 do_test(type, family, &cmd, DROP_ERR_SK_SELECT_REUSEPORT); in test_err_sk_select_port()
468 do_test(type, family, &cmd, PASS); in test_pass()
502 do_test(type, family, &cmd, PASS); in test_syncookie()
522 do_test(type, family, &cmd, PASS_ERR_SK_SELECT_REUSEPORT); in test_pass_on_err()
Dtest_align.c672 static int do_test(unsigned int from, unsigned int to) in do_test() function
718 return do_test(from, to); in main()
Dtest_verifier.c1099 static int do_test(bool unpriv, unsigned int from, unsigned int to) in do_test() function
1172 return do_test(unpriv, from, to); in main()
/Linux-v5.4/tools/testing/selftests/cpufreq/
Dmain.sh102 do_test() function
197 do_test >> $OUTFILE.txt
/Linux-v5.4/tools/testing/selftests/powerpc/dscr/
Ddscr_default_test.c18 static void *do_test(void *in) in do_test() function
74 if (pthread_create(&threads[i], NULL, do_test, (void *)i)) { in dscr_default()
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c385 static void do_test(int family, unsigned int report_opt) in do_test() function
725 do_test(family, SOF_TIMESTAMPING_TX_SOFTWARE); in do_main()
728 do_test(family, SOF_TIMESTAMPING_TX_SCHED); in do_main()
731 do_test(family, SOF_TIMESTAMPING_TX_SCHED | in do_main()
736 do_test(family, SOF_TIMESTAMPING_TX_ACK); in do_main()
739 do_test(family, SOF_TIMESTAMPING_TX_SOFTWARE | in do_main()
743 do_test(family, SOF_TIMESTAMPING_TX_SCHED | in do_main()
/Linux-v5.4/arch/x86/mm/
Dtestmmiotrace.c80 static void do_test(unsigned long size) in do_test() function
133 do_test(size); in init()
/Linux-v5.4/samples/bpf/
Dtest_cgrp2_tc.sh100 do_test() { function
184 do_test
/Linux-v5.4/lib/
Dtest_printf.c37 do_test(int bufsize, const char *expect, int elen, in do_test() function
113 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
116 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
117 failed_tests += do_test(0, expect, elen, fmt, ap); in __test()
/Linux-v5.4/kernel/trace/
Dfgraph.c437 bool do_test = false; in update_function_graph_func() local
448 do_test = true; in update_function_graph_func()
454 if (do_test) in update_function_graph_func()
/Linux-v5.4/tools/testing/selftests/powerpc/alignment/
Dalignment_handler.c85 rc |= do_test(#name, test_##name)
191 int do_test(char *test_name, void (*test_func)(char *, char *)) in do_test() function

12