/linux-6.1.9/tools/testing/selftests/vm/ |
D | madv_populate.c | 71 ksft_test_result(!ret, "MADV_POPULATE_READ with PROT_READ\n"); in test_prot_read() 74 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_read() 92 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_write() 96 ksft_test_result(!ret, "MADV_POPULATE_WRITE with PROT_WRITE\n"); in test_prot_write() 118 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 121 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 126 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 129 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 134 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 137 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() [all …]
|
D | soft-dirty.c | 45 ksft_test_result(i == TEST_ITERATIONS, "Test %s\n", __func__); in test_simple() 57 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map) == 1, in test_vma_reuse() 69 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map2) == 1, in test_vma_reuse() 115 ksft_test_result(i == TEST_ITERATIONS, "Test %s huge page dirty bit\n", __func__); in test_hugepage() 151 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map) == 1, in test_mprotect() 155 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map) == 0, in test_mprotect() 159 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map) == 0, in test_mprotect() 163 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map) == 0, in test_mprotect() 167 ksft_test_result(pagemap_is_softdirty(pagemap_fd, map) == 1, in test_mprotect()
|
/linux-6.1.9/tools/testing/selftests/arm64/abi/ |
D | ptrace.c | 46 ksft_test_result(ret == 0, "read_tpidr_one\n"); in test_tpidr() 52 ksft_test_result(ret == 0, "write_tpidr_one\n"); in test_tpidr() 56 ksft_test_result(ret == 0 && write_val[0] == read_val[0], in test_tpidr() 68 ksft_test_result(test_tpidr2, "count_tpidrs\n"); in test_tpidr() 70 ksft_test_result(read_iov.iov_len % sizeof(uint64_t) == 0, in test_tpidr() 84 ksft_test_result(ret == 0 && in test_tpidr() 94 ksft_test_result(ret == 0 && in test_tpidr() 101 ksft_test_result(ret == 0 && in test_tpidr() 120 ksft_test_result(ret == 0 && in test_tpidr()
|
D | hwcap.c | 304 ksft_test_result(have_hwcap == have_cpuinfo, in main() 313 ksft_test_result(!seen_sigill, "sigill_%s\n", in main() 317 ksft_test_result(seen_sigill, "sigill_%s\n", in main()
|
D | syscall-abi.c | 362 ksft_test_result(do_test(cfg, 0, default_sme_vl, 0), in test_one_syscall() 379 ksft_test_result(do_test(cfg, sve_vl, default_sme_vl, 0), in test_one_syscall() 396 ksft_test_result(do_test(cfg, sve_vl, sme_vl, in test_one_syscall() 400 ksft_test_result(do_test(cfg, sve_vl, sme_vl, in test_one_syscall() 404 ksft_test_result(do_test(cfg, sve_vl, sme_vl, in test_one_syscall()
|
/linux-6.1.9/tools/testing/selftests/resctrl/ |
D | resctrl_tests.c | 88 ksft_test_result(!res, "MBM: bw change\n"); in run_mbm_test() 109 ksft_test_result(!res, "MBA: schemata change\n"); in run_mba_test() 126 ksft_test_result(!res, "CMT: test\n"); in run_cmt_test() 144 ksft_test_result(!res, "CAT: test\n"); in run_cat_test()
|
/linux-6.1.9/tools/testing/selftests/arm64/fp/ |
D | sve-ptrace.c | 179 ksft_test_result(new_sve->flags & SVE_PT_VL_INHERIT, in ptrace_set_get_inherit() 197 ksft_test_result(!(new_sve->flags & SVE_PT_VL_INHERIT), in ptrace_set_get_inherit() 244 ksft_test_result(new_sve->vl = prctl_vl, "Set %s VL %u\n", in ptrace_set_get_vl() 293 ksft_test_result(ret == 0, "%s FPSIMD set via SVE: %d\n", in ptrace_sve_fpsimd() 404 ksft_test_result(errors == 0, "Set and get %s data for VL %u\n", in ptrace_set_sve_get_sve_data() 489 ksft_test_result(errors == 0, "Set and get FPSIMD data for %s VL %u\n", in ptrace_set_sve_get_fpsimd_data() 598 ksft_test_result(errors == 0, "Set FPSIMD, read via SVE for %s VL %u\n", in ptrace_set_fpsimd_get_sve_data()
|
D | za-ptrace.c | 133 ksft_test_result(new_za->vl = prctl_vl, "Set VL %u\n", vl); in ptrace_set_get_vl() 172 ksft_test_result(read_za->size == write_za.size, in ptrace_set_no_data() 227 ksft_test_result(memcmp(write_buf + ZA_PT_ZA_OFFSET, in ptrace_set_get_data()
|
D | vec-syscfg.c | 340 ksft_test_result(cur_vl == data->rdvl(), in prctl_set_same() 623 ksft_test_result(errors == 0, "%s prctl() set all VLs, %d errors\n", in prctl_set_all_vqs()
|
D | fp-stress.c | 247 ksft_test_result(!fail, "%s\n", child->name); in child_cleanup()
|
/linux-6.1.9/tools/testing/selftests/alsa/ |
D | mixer-test.c | 455 ksft_test_result(err >= 0, "get_value.%d.%d\n", in test_ctl_get_value() 493 ksft_test_result(name_ok, "name.%d.%d\n", in test_ctl_name() 700 ksft_test_result(err >= 0, "write_default.%d.%d\n", in test_ctl_write_default() 853 ksft_test_result(pass, "write_valid.%d.%d\n", in test_ctl_write_valid() 1071 ksft_test_result(pass, "write_invalid.%d.%d\n", in test_ctl_write_invalid() 1077 ksft_test_result(!ctl->event_missing, "event_missing.%d.%d\n", in test_ctl_event_missing() 1083 ksft_test_result(!ctl->event_spurious, "event_spurious.%d.%d\n", in test_ctl_event_spurious()
|
/linux-6.1.9/tools/testing/selftests/timers/ |
D | clocksource-switch.c | 189 ksft_test_result(!status, "clocksource-switch\n"); in main()
|
/linux-6.1.9/tools/testing/selftests/ |
D | kselftest.h | 180 #define ksft_test_result(condition, fmt, ...) do { \ macro
|
D | kselftest_harness.h | 1031 ksft_test_result(t->passed, "%s%s%s.%s\n", in __run_test()
|