Symbol: do_test
arch/x86/mm/testmmiotrace.c
133
do_test(size);
crypto/tcrypt.c
1467
ret = min(ret, do_test(NULL, 0, 0, i, num_mb));
crypto/tcrypt.c
2811
err = do_test(alg, type, mask, mode, num_mb);
drivers/net/phy/nxp-tja11xx.c
257
goto do_test;
drivers/net/phy/nxp-tja11xx.c
267
do_test:
kernel/kcsan/selftest.c
243
#define RUN_TEST(do_test) \
kernel/kcsan/selftest.c
246
if (do_test()) \
kernel/kcsan/selftest.c
249
pr_err("selftest: " #do_test " failed"); \
lib/tests/printf_kunit.c
131
do_test(kunittest, file, line, BUF_SIZE, expect, elen, fmt, ap);
lib/tests/printf_kunit.c
134
do_test(kunittest, file, line, rand, expect, elen, fmt, ap);
lib/tests/printf_kunit.c
135
do_test(kunittest, file, line, 0, expect, elen, fmt, ap);
lib/tests/printf_kunit.c
42
do_test(struct kunit *kunittest, const char *file, const int line, int bufsize, const char *expect,
tools/perf/tests/backward-ring-buffer.c
140
err = do_test(evlist, opts.mmap_pages, &sample_count,
tools/perf/tests/backward-ring-buffer.c
160
err = do_test(evlist, 1, &sample_count, &comm_count);
tools/perf/tests/hists_cumulate.c
305
err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0);
tools/perf/tests/hists_cumulate.c
452
err = do_test(hists, expected, ARRAY_SIZE(expected),
tools/perf/tests/hists_cumulate.c
510
err = do_test(hists, expected, ARRAY_SIZE(expected), NULL, 0);
tools/perf/tests/hists_cumulate.c
696
err = do_test(hists, expected, ARRAY_SIZE(expected),
tools/perf/tests/hwmon_pmu.c
227
ret = do_test(i, with_pmu, /*with_alias=*/false);
tools/perf/tests/hwmon_pmu.c
232
ret = do_test(i, with_pmu, /*with_alias=*/true);
tools/perf/tests/sample-parsing.c
419
err = do_test(sample_type, 0, rf[i]);
tools/perf/tests/sample-parsing.c
433
err = do_test(sample_type, sample_regs, 0);
tools/perf/tests/sample-parsing.c
446
err = do_test(sample_type, sample_regs, rf[i]);
tools/perf/tests/sample-parsing.c
452
err = do_test(sample_type, sample_regs, rf[i]);
tools/perf/tests/tool_pmu.c
80
int ret = do_test(i, /*with_pmu=*/false);
tools/perf/tests/tool_pmu.c
94
int ret = do_test(i, /*with_pmu=*/true);
tools/testing/selftests/arm64/abi/syscall-abi.c
416
ksft_test_result(do_test(cfg, 0, default_sme_vl, 0),
tools/testing/selftests/arm64/abi/syscall-abi.c
425
ksft_test_result(do_test(cfg, sve_vls[sve], default_sme_vl, 0),
tools/testing/selftests/arm64/abi/syscall-abi.c
434
ksft_test_result(do_test(cfg, sve_vls[sve],
tools/testing/selftests/arm64/abi/syscall-abi.c
440
ksft_test_result(do_test(cfg, sve_vls[sve],
tools/testing/selftests/arm64/abi/syscall-abi.c
445
ksft_test_result(do_test(cfg, sve_vls[sve],
tools/testing/selftests/arm64/abi/syscall-abi.c
459
ksft_test_result(do_test(cfg, 0, sme_vls[sme],
tools/testing/selftests/arm64/abi/syscall-abi.c
463
ksft_test_result(do_test(cfg, 0, sme_vls[sme], SVCR_SM_MASK),
tools/testing/selftests/arm64/abi/syscall-abi.c
466
ksft_test_result(do_test(cfg, 0, sme_vls[sme], SVCR_ZA_MASK),
tools/testing/selftests/arm64/bti/test.c
213
do_test(1, 1, 1, nohint_func);
tools/testing/selftests/arm64/bti/test.c
214
do_test(1, 1, 1, bti_none_func);
tools/testing/selftests/arm64/bti/test.c
215
do_test(1, 0, 0, bti_c_func);
tools/testing/selftests/arm64/bti/test.c
216
do_test(0, 0, 1, bti_j_func);
tools/testing/selftests/arm64/bti/test.c
217
do_test(0, 0, 0, bti_jc_func);
tools/testing/selftests/arm64/bti/test.c
218
do_test(1, 0, 0, paciasp_func);
tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c
61
do_test("bpf_fifo");
tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c
77
do_test("bpf_fq");
tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
111
do_test(&opts);
tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
211
do_test(&opts);
tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
413
do_test(&opts);
tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
420
do_test(&opts);
tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
451
do_test(&opts);
tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
458
do_test(&opts);
tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
490
do_test(&opts);
tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
600
do_test(&opts);
tools/testing/selftests/bpf/prog_tests/select_reuseport.c
453
do_test(type, family, &cmd, DROP_ERR_INNER_MAP);
tools/testing/selftests/bpf/prog_tests/select_reuseport.c
459
do_test(type, family, NULL, DROP_ERR_SKB_DATA);
tools/testing/selftests/bpf/prog_tests/select_reuseport.c
470
do_test(type, family, &cmd, DROP_ERR_SK_SELECT_REUSEPORT);
tools/testing/selftests/bpf/prog_tests/select_reuseport.c
482
do_test(type, family, &cmd, PASS);
tools/testing/selftests/bpf/prog_tests/select_reuseport.c
511
do_test(type, family, &cmd, PASS);
tools/testing/selftests/bpf/prog_tests/select_reuseport.c
529
do_test(type, family, &cmd, PASS_ERR_SK_SELECT_REUSEPORT);
tools/testing/selftests/bpf/prog_tests/sk_storage_tracing.c
132
do_test();
tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c
982
do_test(SOCK_STREAM, true);
tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c
983
do_test(SOCK_STREAM, false);
tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c
986
do_test(SOCK_DGRAM, true);
tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c
987
do_test(SOCK_DGRAM, false);
tools/testing/selftests/bpf/test_progs.c
1332
sprintf(buf, "MSG_DO_TEST %d", msg->do_test.num);
tools/testing/selftests/bpf/test_progs.c
1548
msg_do_test.do_test.num = test_to_run;
tools/testing/selftests/bpf/test_progs.c
1868
int test_to_run = msg.do_test.num;
tools/testing/selftests/bpf/test_progs.h
157
} do_test;
tools/testing/selftests/bpf/test_tag.c
199
do_test(&tests, 2, -1, bpf_gen_imm_prog);
tools/testing/selftests/bpf/test_tag.c
200
do_test(&tests, 3, fd_map, bpf_gen_map_prog);
tools/testing/selftests/bpf/test_verifier.c
1853
return do_test(unpriv, from, to);
tools/testing/selftests/mm/gup_longterm.c
395
do_test(fd, size, TEST_TYPE_RW, true);
tools/testing/selftests/mm/gup_longterm.c
400
do_test(fd, size, TEST_TYPE_RW_FAST, true);
tools/testing/selftests/mm/gup_longterm.c
405
do_test(fd, size, TEST_TYPE_RO, true);
tools/testing/selftests/mm/gup_longterm.c
410
do_test(fd, size, TEST_TYPE_RO_FAST, true);
tools/testing/selftests/mm/gup_longterm.c
415
do_test(fd, size, TEST_TYPE_RW, false);
tools/testing/selftests/mm/gup_longterm.c
420
do_test(fd, size, TEST_TYPE_RW_FAST, false);
tools/testing/selftests/mm/gup_longterm.c
425
do_test(fd, size, TEST_TYPE_RO, false);
tools/testing/selftests/mm/gup_longterm.c
430
do_test(fd, size, TEST_TYPE_RO_FAST, false);
tools/testing/selftests/mm/gup_longterm.c
436
do_test(fd, size, TEST_TYPE_IOURING, true);
tools/testing/selftests/mm/gup_longterm.c
441
do_test(fd, size, TEST_TYPE_IOURING, false);
tools/testing/selftests/net/io_uring_zerocopy_tx.c
314
do_test(cfg_family, SOCK_STREAM, 0);
tools/testing/selftests/net/io_uring_zerocopy_tx.c
316
do_test(cfg_family, SOCK_DGRAM, 0);
tools/testing/selftests/net/msg_zerocopy.c
810
do_test(PF_PACKET, SOCK_RAW, 0);
tools/testing/selftests/net/msg_zerocopy.c
812
do_test(PF_PACKET, SOCK_DGRAM, 0);
tools/testing/selftests/net/msg_zerocopy.c
814
do_test(cfg_family, SOCK_RAW, IPPROTO_EGP);
tools/testing/selftests/net/msg_zerocopy.c
816
do_test(cfg_family, SOCK_RAW, IPPROTO_RAW);
tools/testing/selftests/net/msg_zerocopy.c
818
do_test(cfg_family, SOCK_STREAM, 0);
tools/testing/selftests/net/msg_zerocopy.c
820
do_test(cfg_family, SOCK_DGRAM, 0);
tools/testing/selftests/net/msg_zerocopy.c
822
do_test(PF_RDS, SOCK_SEQPACKET, 0);
tools/testing/selftests/net/sk_so_peek_off.c
196
restcp = do_test(IPPROTO_TCP);
tools/testing/selftests/net/sk_so_peek_off.c
197
resudp = do_test(IPPROTO_UDP);
tools/testing/selftests/net/txtimestamp.c
899
do_test(family, SOF_TIMESTAMPING_TX_SOFTWARE);
tools/testing/selftests/net/txtimestamp.c
902
do_test(family, SOF_TIMESTAMPING_TX_SCHED);
tools/testing/selftests/net/txtimestamp.c
905
do_test(family, SOF_TIMESTAMPING_TX_SCHED |
tools/testing/selftests/net/txtimestamp.c
910
do_test(family, SOF_TIMESTAMPING_TX_ACK);
tools/testing/selftests/net/txtimestamp.c
913
do_test(family, SOF_TIMESTAMPING_TX_SOFTWARE |
tools/testing/selftests/net/txtimestamp.c
917
do_test(family, SOF_TIMESTAMPING_TX_SCHED |
tools/testing/selftests/powerpc/alignment/alignment_handler.c
104
rc |= do_test(#name, test_##name)
tools/testing/selftests/powerpc/alignment/alignment_handler.c
93
rc |= do_test(#name, test_##name)
tools/testing/selftests/uevent/uevent_filtering.c
389
ret = do_test(0, 0, true, sync_fd);
tools/testing/selftests/uevent/uevent_filtering.c
403
ret = do_test(CLONE_NEWNET, 0, true, sync_fd);
tools/testing/selftests/uevent/uevent_filtering.c
418
ret = do_test(CLONE_NEWUSER, 0, true, sync_fd);
tools/testing/selftests/uevent/uevent_filtering.c
432
ret = do_test(CLONE_NEWUSER | CLONE_NEWNET, 0, false, sync_fd);
tools/testing/selftests/uevent/uevent_filtering.c
447
ret = do_test(0, CLONE_NEWNET, true, sync_fd);
tools/testing/selftests/uevent/uevent_filtering.c
462
ret = do_test(0, CLONE_NEWUSER, true, sync_fd);
tools/testing/selftests/uevent/uevent_filtering.c
478
ret = do_test(0, CLONE_NEWUSER | CLONE_NEWNET, true, sync_fd);
tools/testing/selftests/x86/entry_from_vm86.c
183
do_test(vm86, vmcode_umip - vmcode, VM86_TRAP, 3, "UMIP tests");
tools/testing/selftests/x86/entry_from_vm86.c
220
do_test(vm86, vmcode_umip_str - vmcode, VM86_SIGNAL, 0,
tools/testing/selftests/x86/entry_from_vm86.c
225
do_test(vm86, vmcode_umip_sldt - vmcode, VM86_SIGNAL, 0,
tools/testing/selftests/x86/entry_from_vm86.c
256
do_test(&v86, vmcode_bound - vmcode, VM86_INTx, 5, "#BR");
tools/testing/selftests/x86/entry_from_vm86.c
265
do_test(&v86, vmcode_sysenter - vmcode, -1, 0, "SYSENTER");
tools/testing/selftests/x86/entry_from_vm86.c
276
do_test(&v86, vmcode_syscall - vmcode, VM86_SIGNAL, 0, "SYSCALL");
tools/testing/selftests/x86/entry_from_vm86.c
282
do_test(&v86, vmcode_sti - vmcode, VM86_STI, 0, "STI with VIP set");
tools/testing/selftests/x86/entry_from_vm86.c
287
do_test(&v86, vmcode_popf_hlt - vmcode, VM86_UNKNOWN, 0, "POPF with VIP set and IF clear");
tools/testing/selftests/x86/entry_from_vm86.c
292
do_test(&v86, vmcode_popf_hlt - vmcode, VM86_STI, 0, "POPF with VIP and IF set");
tools/testing/selftests/x86/entry_from_vm86.c
297
do_test(&v86, vmcode_popf_hlt - vmcode, VM86_UNKNOWN, 0, "POPF with VIP clear and IF set");
tools/testing/selftests/x86/entry_from_vm86.c
302
do_test(&v86, vmcode_int3 - vmcode, VM86_TRAP, 3, "INT3");
tools/testing/selftests/x86/entry_from_vm86.c
306
do_test(&v86, vmcode_int80 - vmcode, VM86_INTx, 0x80, "int80");
tools/testing/selftests/x86/entry_from_vm86.c
316
if (do_test(&v86, 0, VM86_SIGNAL, 0, "Execute null pointer") &&
tools/testing/vma/tests/vma.c
189
do_test(VMA_READ_BIT, VMA_MAYREAD_BIT, VMA_SEQ_READ_BIT);
tools/testing/vma/tests/vma.c
207
do_test(VMA_READ_BIT);
tools/testing/vma/tests/vma.c
208
do_test(VMA_WRITE_BIT);
tools/testing/vma/tests/vma.c
209
do_test(VMA_EXEC_BIT);
tools/testing/vma/tests/vma.c
211
do_test(64);
tools/testing/vma/tests/vma.c
212
do_test(65);
tools/testing/vma/tests/vma.c
216
do_test(VMA_READ_BIT, VMA_WRITE_BIT);
tools/testing/vma/tests/vma.c
217
do_test(VMA_READ_BIT, VMA_EXEC_BIT);
tools/testing/vma/tests/vma.c
218
do_test(VMA_WRITE_BIT, VMA_EXEC_BIT);
tools/testing/vma/tests/vma.c
220
do_test(VMA_WRITE_BIT, VMA_READ_BIT);
tools/testing/vma/tests/vma.c
221
do_test(VMA_EXEC_BIT, VMA_READ_BIT);
tools/testing/vma/tests/vma.c
222
do_test(VMA_EXEC_BIT, VMA_WRITE_BIT);
tools/testing/vma/tests/vma.c
224
do_test(VMA_READ_BIT, 64);
tools/testing/vma/tests/vma.c
225
do_test(VMA_WRITE_BIT, 64);
tools/testing/vma/tests/vma.c
226
do_test(64, VMA_READ_BIT);
tools/testing/vma/tests/vma.c
227
do_test(64, VMA_WRITE_BIT);
tools/testing/vma/tests/vma.c
228
do_test(VMA_READ_BIT, 65);
tools/testing/vma/tests/vma.c
229
do_test(VMA_WRITE_BIT, 65);
tools/testing/vma/tests/vma.c
230
do_test(65, VMA_READ_BIT);
tools/testing/vma/tests/vma.c
231
do_test(65, VMA_WRITE_BIT);
tools/testing/vma/tests/vma.c
234
do_test(VMA_READ_BIT, VMA_WRITE_BIT, VMA_EXEC_BIT);
tools/testing/vma/tests/vma.c
237
do_test(VMA_READ_BIT, VMA_WRITE_BIT, 64);
tools/testing/vma/tests/vma.c
238
do_test(VMA_READ_BIT, VMA_WRITE_BIT, 65);
tools/testing/vma/tests/vma.c
241
do_test(VMA_READ_BIT, VMA_WRITE_BIT, VMA_EXEC_BIT, 64);
tools/testing/vma/tests/vma.c
242
do_test(VMA_READ_BIT, VMA_WRITE_BIT, VMA_EXEC_BIT, 65);
tools/testing/vma/tests/vma.c
245
do_test(VMA_READ_BIT, VMA_WRITE_BIT, VMA_EXEC_BIT, 64, 65);