Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/tools/usb/
H A 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A 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 …]
H A Dmsg_zerocopy.sh110 do_test() { function
120 do_test "${EXTRA_ARGS}"
121 do_test "-z ${EXTRA_ARGS}"
H A Dfin_ack_lat.sh18 do_test() { function
34 do_test "30"
H A Dreuseaddr_ports_exhausted.sh30 do_test() { function
34 do_test
H A 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()
H A 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()
H A Dicmp_redirect.sh411 do_test() function
509 do_test "legacy"
515 do_test "legacy"
523 do_test "new"
529 do_test "new"
/OK3568_Linux_fs/kernel/tools/testing/selftests/x86/
H A 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 …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/uevent/
H A 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()
/OK3568_Linux_fs/kernel/kernel/kcsan/
H A Dselftest.c115 #define RUN_TEST(do_test) \ in kcsan_selftest() argument
118 if (do_test()) \ in kcsan_selftest()
121 pr_err("selftest: " #do_test " failed"); \ in kcsan_selftest()
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A 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()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc-filter-pid.tc38 do_test() {
85 do_test
H A Dfunc-filter-notrace-pid.tc38 do_test() {
90 do_test
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/dscr/
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/cpufreq/
H A Dmain.sh102 do_test() function
197 do_test >> $OUTFILE.txt
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dtestmmiotrace.c80 static void do_test(unsigned long size) in do_test() function
133 do_test(size); in init()
/OK3568_Linux_fs/kernel/lib/
H A Dtest_printf.c41 do_test(int bufsize, const char *expect, int elen, in do_test() function
117 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
120 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
121 failed_tests += do_test(0, expect, elen, fmt, ap); in __test()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtest_cgrp2_tc.sh100 do_test() { function
184 do_test
/OK3568_Linux_fs/u-boot/cmd/
H A Dtest.c54 static int do_test(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_test() function
189 test, CONFIG_SYS_MAXARGS, 1, do_test,

12