Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/tools/testing/selftests/x86/
Dentry_from_vm86.c135 static bool do_test(struct vm86plus_struct *v86, unsigned long eip, in do_test() function
204 do_test(vm86, vmcode_umip - vmcode, VM86_TRAP, 3, "UMIP tests"); in do_umip_tests()
241 do_test(vm86, vmcode_umip_str - vmcode, VM86_SIGNAL, 0, in do_umip_tests()
246 do_test(vm86, vmcode_umip_sldt - vmcode, VM86_SIGNAL, 0, in do_umip_tests()
277 do_test(&v86, vmcode_bound - vmcode, VM86_INTx, 5, "#BR"); in main()
286 do_test(&v86, vmcode_sysenter - vmcode, -1, 0, "SYSENTER"); in main()
297 do_test(&v86, vmcode_syscall - vmcode, VM86_SIGNAL, 0, "SYSCALL"); in main()
303 do_test(&v86, vmcode_sti - vmcode, VM86_STI, 0, "STI with VIP set"); in main()
308 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_UNKNOWN, 0, "POPF with VIP set and IF clear"); in main()
313 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_STI, 0, "POPF with VIP and IF set"); in main()
[all …]
/Linux-v4.19/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-v4.19/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc-filter-pid.tc61 do_test() {
108 do_test
112 do_test
/Linux-v4.19/tools/testing/selftests/net/
Dmsg_zerocopy.sh108 do_test() { function
118 do_test "${EXTRA_ARGS}"
119 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()
/Linux-v4.19/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c272 static void do_test(int family, unsigned int opt) in do_test() function
519 do_test(family, SOF_TIMESTAMPING_TX_SOFTWARE); in do_main()
522 do_test(family, SOF_TIMESTAMPING_TX_SCHED); in do_main()
525 do_test(family, SOF_TIMESTAMPING_TX_SCHED | in do_main()
530 do_test(family, SOF_TIMESTAMPING_TX_ACK); in do_main()
533 do_test(family, SOF_TIMESTAMPING_TX_SOFTWARE | in do_main()
537 do_test(family, SOF_TIMESTAMPING_TX_SCHED | in do_main()
/Linux-v4.19/tools/perf/tests/
Dbackward-ring-buffer.c58 static int do_test(struct perf_evlist *evlist, int mmap_pages, in do_test() function
136 err = do_test(evlist, opts.mmap_pages, &sample_count, in test__backward_ring_buffer()
147 err = do_test(evlist, 1, &sample_count, &comm_count); in test__backward_ring_buffer()
Dhists_cumulate.c176 static int do_test(struct hists *hists, struct result *expected, size_t nr_expected, in do_test() function
291 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test1()
438 err = do_test(hists, expected, ARRAY_SIZE(expected), in test2()
496 err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0); in test3()
682 err = do_test(hists, expected, ARRAY_SIZE(expected), in test4()
Dsample-parsing.c151 static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) in do_test() function
324 err = do_test(sample_type, 0, rf[i]); in test__sample_parsing()
338 err = do_test(sample_type, sample_regs, 0); in test__sample_parsing()
347 err = do_test(sample_type, sample_regs, rf[i]); in test__sample_parsing()
Dbpf.c105 static int do_test(struct bpf_object *obj, int (*func)(void), in do_test() function
252 ret = do_test(obj, in __test__bpf()
/Linux-v4.19/drivers/scsi/osd/
Dosd_uld.c166 int osduld_register_test(unsigned ioctl, do_test_fn *do_test) in osduld_register_test() argument
172 g_do_test = do_test; in osduld_register_test()
199 do_test_fn *do_test; in osd_uld_ioctl() local
201 do_test = _find_ioctl(cmd); in osd_uld_ioctl()
202 if (do_test) in osd_uld_ioctl()
203 ret = do_test(&oud->od, cmd, arg); in osd_uld_ioctl()
/Linux-v4.19/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.c12874 static int do_test(bool unpriv, unsigned int from, unsigned int to) in do_test() function
12940 return do_test(unpriv, from, to); in main()
/Linux-v4.19/tools/testing/selftests/cpufreq/
Dmain.sh102 do_test() function
197 do_test >> $OUTFILE.txt
/Linux-v4.19/tools/testing/selftests/powerpc/dscr/
Ddscr_default_test.c21 static void *do_test(void *in) in do_test() function
77 if (pthread_create(&threads[i], NULL, do_test, (void *)i)) { in dscr_default()
/Linux-v4.19/arch/x86/mm/
Dtestmmiotrace.c78 static void do_test(unsigned long size) in do_test() function
127 do_test(size); in init()
/Linux-v4.19/lib/
Dtest_printf.c33 do_test(int bufsize, const char *expect, int elen, in do_test() function
109 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
112 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
113 failed_tests += do_test(0, expect, elen, fmt, ap); in __test()
/Linux-v4.19/samples/bpf/
Dtest_cgrp2_tc.sh100 do_test() { function
184 do_test
/Linux-v4.19/tools/testing/selftests/powerpc/alignment/
Dalignment_handler.c89 rc |= do_test(#name, test_##name)
195 int do_test(char *test_name, void (*test_func)(char *, char *)) in do_test() function
/Linux-v4.19/include/scsi/
Dosd_initiator.h78 int osduld_register_test(unsigned ioctl, do_test_fn *do_test);
/Linux-v4.19/crypto/
Dtcrypt.c1661 static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb) in do_test() function
1676 ret += do_test(NULL, 0, 0, i, num_mb); in do_test()
2954 err = do_test(alg, type, mask, mode, num_mb); in tcrypt_mod_init()
/Linux-v4.19/kernel/trace/
Dftrace.c6935 bool do_test = false; in update_function_graph_func() local
6946 do_test = true; in update_function_graph_func()
6952 if (do_test) in update_function_graph_func()