/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | madv_populate.c | 73 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_read() 91 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_write() 117 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 120 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 125 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 128 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 133 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 136 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 185 ksft_test_result(!ret, "MADV_POPULATE_READ\n"); in test_populate_read() 186 ksft_test_result(range_is_populated(addr, SIZE), in test_populate_read() [all …]
|
A 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()
|
A D | ksm_functional_tests.c | 143 ksft_test_result(!range_maps_duplicates(map, size), in test_unmerge() 171 ksft_test_result(!range_maps_duplicates(map, size), in test_unmerge_discarded() 235 ksft_test_result(!range_maps_duplicates(map, size), in test_unmerge_uffd_wp()
|
A D | cow.c | 276 ksft_test_result(!ret, "No leak from parent into child\n"); in do_test_cow_in_parent() 384 ksft_test_result(!memcmp(old, new, transferred), in do_test_vmsplice_in_parent() 538 ksft_test_result(!memcmp(mem, tmp, size), in do_test_iouring() 684 ksft_test_result(!memcmp(mem, tmp, size), in do_test_ro_pin() 1323 ksft_test_result(!ret, "No leak from parent into child\n"); in do_test_anon_thp_collapse() 1423 ksft_test_result(!memcmp(smem, old, size), in test_cow()
|
/linux-6.3-rc2/tools/testing/selftests/arm64/abi/ |
A 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()
|
A D | syscall-abi.c | 408 ksft_test_result(do_test(cfg, 0, default_sme_vl, 0), in test_one_syscall() 417 ksft_test_result(do_test(cfg, sve_vls[sve], default_sme_vl, 0), in test_one_syscall() 426 ksft_test_result(do_test(cfg, sve_vls[sve], in test_one_syscall() 432 ksft_test_result(do_test(cfg, sve_vls[sve], in test_one_syscall() 437 ksft_test_result(do_test(cfg, sve_vls[sve], in test_one_syscall() 451 ksft_test_result(do_test(cfg, 0, sme_vls[sme], in test_one_syscall() 455 ksft_test_result(do_test(cfg, 0, sme_vls[sme], SVCR_SM_MASK), in test_one_syscall() 458 ksft_test_result(do_test(cfg, 0, sme_vls[sme], SVCR_ZA_MASK), in test_one_syscall()
|
A D | hwcap.c | 451 ksft_test_result(have_hwcap == have_cpuinfo, in main() 460 ksft_test_result(!seen_sigill, "sigill_%s\n", in main() 464 ksft_test_result(seen_sigill, "sigill_%s\n", in main()
|
/linux-6.3-rc2/tools/testing/selftests/resctrl/ |
A 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.3-rc2/tools/testing/selftests/arm64/fp/ |
A D | sve-ptrace.c | 189 ksft_test_result(new_sve->flags & SVE_PT_VL_INHERIT, in ptrace_set_get_inherit() 207 ksft_test_result(!(new_sve->flags & SVE_PT_VL_INHERIT), in ptrace_set_get_inherit() 254 ksft_test_result(new_sve->vl = prctl_vl, "Set %s VL %u\n", in ptrace_set_get_vl() 303 ksft_test_result(ret == 0, "%s FPSIMD set via SVE: %d\n", in ptrace_sve_fpsimd() 414 ksft_test_result(errors == 0, "Set and get %s data for VL %u\n", in ptrace_set_sve_get_sve_data() 499 ksft_test_result(errors == 0, "Set and get FPSIMD data for %s VL %u\n", in ptrace_set_sve_get_fpsimd_data() 608 ksft_test_result(errors == 0, "Set FPSIMD, read via SVE for %s VL %u\n", in ptrace_set_fpsimd_get_sve_data()
|
A D | za-ptrace.c | 143 ksft_test_result(new_za->vl = prctl_vl, "Set VL %u\n", vl); in ptrace_set_get_vl() 182 ksft_test_result(read_za->size == write_za.size, in ptrace_set_no_data() 237 ksft_test_result(memcmp(write_buf + ZA_PT_ZA_OFFSET, in ptrace_set_get_data()
|
A D | zt-ptrace.c | 152 ksft_test_result(!fail, "ptrace_za_disabled_read_zt\n"); in ptrace_za_disabled_read_zt() 185 ksft_test_result(!fail, "ptrace_set_get_zt\n"); in ptrace_set_get_zt() 252 ksft_test_result(!fail, "ptrace_enable_za_via_zt\n"); in ptrace_enable_za_via_zt()
|
A 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()
|
A D | fp-stress.c | 267 ksft_test_result(!fail, "%s\n", child->name); in child_cleanup()
|
/linux-6.3-rc2/tools/testing/selftests/alsa/ |
A D | mixer-test.c | 406 ksft_test_result(err >= 0, "get_value.%d.%d\n", in test_ctl_get_value() 444 ksft_test_result(name_ok, "name.%d.%d\n", in test_ctl_name() 651 ksft_test_result(err >= 0, "write_default.%d.%d\n", in test_ctl_write_default() 804 ksft_test_result(pass, "write_valid.%d.%d\n", in test_ctl_write_valid() 1022 ksft_test_result(pass, "write_invalid.%d.%d\n", in test_ctl_write_invalid() 1028 ksft_test_result(!ctl->event_missing, "event_missing.%d.%d\n", in test_ctl_event_missing() 1034 ksft_test_result(!ctl->event_spurious, "event_spurious.%d.%d\n", in test_ctl_event_spurious()
|
A D | pcm-test.c | 482 ksft_test_result(!skip, "%s.%s.%d.%d.%d.%s.params\n", in test_pcm_time() 492 ksft_test_result(pass, "%s.%s.%d.%d.%d.%s%s%s\n", in test_pcm_time() 589 ksft_test_result(false, "test.missing.%d.%d.%d.%s\n", in main()
|
/linux-6.3-rc2/tools/testing/selftests/timers/ |
A D | clocksource-switch.c | 189 ksft_test_result(!status, "clocksource-switch\n"); in main()
|
/linux-6.3-rc2/tools/testing/selftests/ |
A D | kselftest.h | 180 #define ksft_test_result(condition, fmt, ...) do { \ macro
|
A D | kselftest_harness.h | 1153 ksft_test_result(t->passed, "%s%s%s.%s\n", in __run_test()
|