| /linux-6.15/tools/testing/selftests/capabilities/ |
| H A D | test_execve.c | 38 ksft_exit_fail_msg("vsnprintf output truncated\n"); in vmaybe_write_file() 45 ksft_exit_fail_msg("open of %s failed - %s\n", in vmaybe_write_file() 51 ksft_exit_fail_msg("short write to %s\n", filename); in vmaybe_write_file() 53 ksft_exit_fail_msg("write to %s failed - %s\n", in vmaybe_write_file() 58 ksft_exit_fail_msg("close of %s failed - %s\n", in vmaybe_write_file() 94 ksft_exit_fail_msg("PR_SET_KEEPCAPS - %s\n", in create_and_enter_ns() 108 ksft_exit_fail_msg( in create_and_enter_ns() 137 ksft_exit_fail_msg("mount private tmpfs - %s\n", in chdir_to_tmpfs() 218 ksft_exit_fail_msg("open '%s' - %s\n", in do_tests() 392 ksft_exit_fail_msg("setresgid - %s\n", in do_tests() [all …]
|
| /linux-6.15/tools/testing/selftests/fchmodat2/ |
| H A D | fchmodat2_test.c | 26 ksft_exit_fail_msg("%s: failed to create tmpdir\n", __func__); in setup_testdir() 30 ksft_exit_fail_msg("%s: failed to open tmpdir\n", __func__); in setup_testdir() 34 ksft_exit_fail_msg("%s: failed to create file in tmpdir\n", in setup_testdir() 40 ksft_exit_fail_msg("%s: failed to create symlink in tmpdir\n", in setup_testdir() 52 ksft_exit_fail_msg("%s: %s: fstatat failed\n", in expect_mode() 67 ksft_exit_fail_msg("%s: fchmodat2(noflag) failed\n", __func__); in test_regfile() 70 ksft_exit_fail_msg("%s: wrong file mode bits after fchmodat2\n", in test_regfile() 76 ksft_exit_fail_msg("%s: fchmodat2(AT_SYMLINK_NOFOLLOW) failed\n", in test_regfile() 95 ksft_exit_fail_msg("%s: fchmodat2(noflag) failed\n", __func__); in test_symlink() 98 ksft_exit_fail_msg("%s: wrong file mode bits after fchmodat2\n", in test_symlink() [all …]
|
| /linux-6.15/tools/testing/selftests/pidfd/ |
| H A D | pidfd_poll_test.c | 35 ksft_exit_fail_msg("Unexpected command line argument\n"); in main() 40 ksft_exit_fail_msg("invalid input parameter %s\n", in main() 56 ksft_exit_fail_msg( in main() 70 ksft_exit_fail_msg("%s - pidfd_open failed\n", in main() 75 ksft_exit_fail_msg("%s - signal failed\n", in main() 81 ksft_exit_fail_msg("%s - pidfd_send_signal failed\n", in main() 90 ksft_exit_fail_msg("%s - poll failed\n", in main() 94 ksft_exit_fail_msg("unexpected poll result: %d\n", in main() 98 ksft_exit_fail_msg( in main() 103 ksft_exit_fail_msg( in main() [all …]
|
| H A D | pidfd_test.c | 106 ksft_exit_fail_msg( in test_pidfd_send_signal_simple_success() 111 ksft_exit_fail_msg( in test_pidfd_send_signal_simple_success() 119 ksft_exit_fail_msg( in test_pidfd_send_signal_simple_success() 132 ksft_exit_fail_msg("%s test: Failed to join thread\n", in test_pidfd_send_signal_simple_success() 136 ksft_exit_fail_msg( in test_pidfd_send_signal_simple_success() 174 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail() 182 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail() 187 ksft_exit_fail_msg( in test_pidfd_send_signal_exited_fail() 379 ksft_exit_fail_msg( in test_pidfd_send_signal_recycled_pid_fail() 410 ksft_exit_fail_msg( in test_pidfd_send_signal_syscall_support() [all …]
|
| /linux-6.15/tools/testing/selftests/membarrier/ |
| H A D | membarrier_test_impl.h | 29 ksft_exit_fail_msg( in test_membarrier_get_registrations() 33 ksft_exit_fail_msg( in test_membarrier_get_registrations() 50 ksft_exit_fail_msg( in test_membarrier_cmd_fail() 55 ksft_exit_fail_msg( in test_membarrier_cmd_fail() 73 ksft_exit_fail_msg( in test_membarrier_flags_fail() 78 ksft_exit_fail_msg( in test_membarrier_flags_fail() 96 ksft_exit_fail_msg( in test_membarrier_global_success() 112 ksft_exit_fail_msg( in test_membarrier_private_expedited_fail() 117 ksft_exit_fail_msg( in test_membarrier_private_expedited_fail() 135 ksft_exit_fail_msg( in test_membarrier_register_private_expedited_success() [all …]
|
| /linux-6.15/tools/testing/selftests/mm/ |
| H A D | split_huge_page_test.c | 70 ksft_exit_fail_msg("Write failed\n"); in write_file() 114 ksft_exit_fail_msg("No THP is allocated\n"); in verify_rss_anon_split_huge_page_all_zeroes() 126 ksft_exit_fail_msg("%ld byte corrupted\n", i); in verify_rss_anon_split_huge_page_all_zeroes() 129 ksft_exit_fail_msg("Still AnonHugePages not split\n"); in verify_rss_anon_split_huge_page_all_zeroes() 165 ksft_exit_fail_msg("No THP is allocated\n"); in split_pmd_thp_to_order() 173 ksft_exit_fail_msg("%ld byte corrupted\n", i); in split_pmd_thp_to_order() 217 ksft_exit_fail_msg("No THP is allocated\n"); in split_pte_mapped_thp() 250 ksft_exit_fail_msg("%ld byte corrupted\n", i); in split_pte_mapped_thp() 365 ksft_exit_fail_msg("Error occurred\n"); in split_file_backed_thp() 379 ksft_exit_fail_msg("cannot create temp folder\n"); in prepare_thp_fs() [all …]
|
| H A D | pagemap_ioctl.c | 193 ksft_exit_fail_msg("error nomem\n"); in userfaultfd_tests() 251 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd() 255 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd() 259 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd() 403 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd() 406 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd() 440 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd() 444 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd() 495 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd() 499 ksft_exit_fail_msg("error nomem\n"); in sanity_tests_sd() [all …]
|
| H A D | mrelease_test.c | 30 ksft_exit_fail_msg("mmap failed, halting the test: %s\n", strerror(errno)); in alloc_noexit() 37 ksft_exit_fail_msg("write: %s\n", strerror(errno)); in alloc_noexit() 95 ksft_exit_fail_msg("process_mrelease with wrong pidfd: %s", in main() 108 ksft_exit_fail_msg("pipe: %s\n", strerror(errno)); in main() 114 ksft_exit_fail_msg("fork: %s\n", strerror(errno)); in main() 134 ksft_exit_fail_msg("read: %s\n", strerror(errno)); in main() 141 ksft_exit_fail_msg("pidfd_open: %s\n", strerror(errno)); in main() 148 ksft_exit_fail_msg("kill: %s\n", strerror(errno)); in main() 163 ksft_exit_fail_msg("process_mrelease: %s\n", strerror(errno)); in main() 169 ksft_exit_fail_msg("waitpid: %s\n", strerror(errno)); in main() [all …]
|
| H A D | map_fixed_noreplace.c | 33 ksft_exit_fail_msg("Error: couldn't map the space we need for the test\n"); in find_base_addr() 36 ksft_exit_fail_msg("Error: munmap failed\n"); in find_base_addr() 64 ksft_exit_fail_msg("Error: couldn't map the space we need for the test\n"); in main() 68 ksft_exit_fail_msg("Error: munmap failed!?\n"); in main() 78 ksft_exit_fail_msg("Error: first mmap() failed unexpectedly\n"); in main() 96 ksft_exit_fail_msg("Error:1: mmap() succeeded when it shouldn't have\n"); in main() 115 ksft_exit_fail_msg("Error:2: mmap() succeeded when it shouldn't have\n"); in main() 133 ksft_exit_fail_msg("Error:3: mmap() succeeded when it shouldn't have\n"); in main() 169 ksft_exit_fail_msg("Error:5: mmap() failed when it shouldn't have\n"); in main() 187 ksft_exit_fail_msg("Error:6: mmap() failed when it shouldn't have\n"); in main() [all …]
|
| H A D | mlock-random-test.c | 57 ksft_exit_fail_msg("fopen: %s\n", strerror(errno)); in get_proc_locked_vm_size() 64 ksft_exit_fail_msg("sscanf() on VmLck error: %s: %d\n", in get_proc_locked_vm_size() 93 ksft_exit_fail_msg("Unable to parse /proc/self/smaps\n"); in get_proc_page_size() 105 ksft_exit_fail_msg("Unable to parse smaps entry for Size:%s\n", in get_proc_page_size() 142 ksft_exit_fail_msg("alloc_size[%d] < %u rlimit,lead to mlock failure\n", in test_mlock_within_limit() 164 ksft_exit_fail_msg("%s() failure (%s) at |%p(%d)| mlock:|%p(%d)|\n", in test_mlock_within_limit() 177 ksft_exit_fail_msg("%s left VmLck:%d on %d chunk\n", in test_mlock_within_limit() 225 ksft_exit_fail_msg("%s() succeeds? on %p(%d) mlock%p(%d)\n", in test_mlock_outof_limit() 232 ksft_exit_fail_msg("tests leads to new mlocked page: old[%d], new[%d]\n", in test_mlock_outof_limit() 252 ksft_exit_fail_msg("malloc() failure: %s\n", strerror(errno)); in main() [all …]
|
| H A D | hugepage-mremap.c | 71 ksft_exit_fail_msg("userfaultfd: %s\n", strerror(errno)); in register_region_with_uffd() 76 ksft_exit_fail_msg("ioctl-UFFDIO_API: %s\n", strerror(errno)); in register_region_with_uffd() 87 ksft_exit_fail_msg("mmap: %s\n", strerror(errno)); in register_region_with_uffd() 96 ksft_exit_fail_msg("ioctl-UFFDIO_REGISTER: %s\n", strerror(errno)); in register_region_with_uffd() 108 ksft_exit_fail_msg("Usage: %s [length_in_MB]\n", argv[0]); in main() 121 ksft_exit_fail_msg("Open failed: %s\n", strerror(errno)); in main() 129 ksft_exit_fail_msg("mmap1: %s\n", strerror(errno)); in main() 137 ksft_exit_fail_msg("mmap3: %s\n", strerror(errno)); in main() 144 ksft_exit_fail_msg("mmap2: %s\n", strerror(errno)); in main() 151 ksft_exit_fail_msg("mremap: %s\n", strerror(errno)); in main() [all …]
|
| H A D | mlock2-tests.c | 184 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_mlock_lock() 188 ksft_exit_fail_msg("mlock2(0): %s\n", strerror(errno)); in test_mlock_lock() 196 ksft_exit_fail_msg("munlock(): %s\n", strerror(errno)); in test_mlock_lock() 235 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_mlock_onfault() 247 ksft_exit_fail_msg("munlock(): %s\n", strerror(errno)); in test_mlock_onfault() 262 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_lock_onfault_of_present() 285 ksft_exit_fail_msg("mmap error: %s\n", strerror(errno)); in test_munlockall0() 311 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_munlockall1() 336 ksft_exit_fail_msg("munlockall() %s\n", strerror(errno)); in test_munlockall1() 354 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_vma_management() [all …]
|
| H A D | madv_populate.c | 38 ksft_exit_fail_msg("mmap failed\n"); in sense_support() 60 ksft_exit_fail_msg("mmap failed\n"); in test_prot_read() 81 ksft_exit_fail_msg("mmap failed\n"); in test_prot_write() 103 ksft_exit_fail_msg("mmap failed\n"); in test_holes() 106 ksft_exit_fail_msg("munmap failed\n"); in test_holes() 141 ksft_exit_fail_msg("opening pagemap failed\n"); in range_is_populated() 155 ksft_exit_fail_msg("opening pagemap failed\n"); in range_is_not_populated() 173 ksft_exit_fail_msg("mmap failed\n"); in test_populate_read() 195 ksft_exit_fail_msg("mmap failed\n"); in test_populate_write() 213 ksft_exit_fail_msg("opening pagemap failed\n"); in range_is_softdirty() [all …]
|
| H A D | transhuge-stress.c | 49 ksft_exit_fail_msg("usage: %s [-f <filename>] [-d <duration>] [size in MiB]\n", in main() 64 ksft_exit_fail_msg("open %s\n", name); in main() 74 ksft_exit_fail_msg("open pagemap\n"); in main() 79 ksft_exit_fail_msg("initial mmap"); in main() 83 ksft_exit_fail_msg("MADV_HUGEPAGE"); in main() 88 ksft_exit_fail_msg("map malloc\n"); in main() 112 ksft_exit_fail_msg("map realloc\n"); in main() 123 ksft_exit_fail_msg("MADV_DONTNEED"); in main()
|
| H A D | vm_util.c | 30 ksft_exit_fail_msg("reading pagemap failed\n"); in pagemap_get_entry() 80 ksft_exit_fail_msg("PAGEMAP_SCAN succeeded unexpectedly\n"); in pagemap_scan_supported() 98 ksft_exit_fail_msg( in page_entry_is() 139 ksft_exit_fail_msg("opening clear_refs failed\n"); in clear_softdirty() 143 ksft_exit_fail_msg("writing clear_refs failed\n"); in clear_softdirty() 190 ksft_exit_fail_msg("Reading status error\n"); in rss_anon() 207 ksft_exit_fail_msg("%s: Pattern is too long\n", __func__); in __get_smap_entry() 244 ksft_exit_fail_msg("Reading smap error\n"); in __check_huge() 273 ksft_exit_fail_msg("mmap transhuge\n"); in allocate_transhuge() 276 ksft_exit_fail_msg("MADV_HUGEPAGE\n"); in allocate_transhuge() [all …]
|
| H A D | soft-dirty.c | 22 ksft_exit_fail_msg("mmap failed\n"); in test_simple() 54 ksft_exit_fail_msg("mmap failed"); in test_vma_reuse() 65 ksft_exit_fail_msg("mmap failed"); in test_vma_reuse() 84 ksft_exit_fail_msg("Reading PMD pagesize failed"); in test_hugepage() 88 ksft_exit_fail_msg("memalign failed\n"); in test_hugepage() 92 ksft_exit_fail_msg("madvise failed %d\n", ret); in test_hugepage() 138 ksft_exit_fail_msg("anon mmap failed\n"); in test_mprotect() 150 ksft_exit_fail_msg("file mmap failed\n"); in test_mprotect() 200 ksft_exit_fail_msg("Failed to open %s\n", PAGEMAP_FILE_PATH); in main()
|
| H A D | thuge-gen.c | 123 ksft_exit_fail_msg("mmap: %s\n", strerror(errno)); in test_mmap() 133 ksft_exit_fail_msg("%s: unmap %s\n", __func__, strerror(errno)); in test_mmap() 151 ksft_exit_fail_msg("shmget: %s\n", strerror(errno)); in test_shmget() 155 ksft_exit_fail_msg("shmctl: %s\n", strerror(errno)); in test_shmget() 159 ksft_exit_fail_msg("shmat: %s\n", strerror(errno)); in test_shmget() 170 ksft_exit_fail_msg("%s: shmdt: %s\n", __func__, strerror(errno)); in test_shmget() 199 ksft_exit_fail_msg("Please do echo %lu > /proc/sys/kernel/shmmax", in find_pagesizes() 204 ksft_exit_fail_msg("No GB pages available on x86-64\n" in find_pagesizes()
|
| /linux-6.15/tools/testing/selftests/alsa/ |
| H A D | conf.c | 115 ksft_exit_fail_msg("stdout attach\n"); in dump_config_tree() 117 ksft_exit_fail_msg("config save\n"); in dump_config_tree() 132 ksft_exit_fail_msg("Out of memory\n"); in conf_load_from_file() 156 ksft_exit_fail_msg("sysfs: cannot read link '%s': %s\n", in sysfs_get() 175 ksft_exit_fail_msg("sysfs: open failed for '%s': %s\n", in sysfs_get() 181 ksft_exit_fail_msg("sysfs: unable to read value '%s': %s\n", in sysfs_get() 188 ksft_exit_fail_msg("Out of memory\n"); in sysfs_get() 216 ksft_exit_fail_msg("Wrong regex '%s'\n", regex_string); in sysfs_match() 291 ksft_exit_fail_msg("Out of memory\n"); in match_config() 311 ksft_exit_fail_msg("scandir: %s\n", strerror(errno)); in conf_load() [all …]
|
| /linux-6.15/tools/testing/selftests/tmpfs/ |
| H A D | bug-link-o-tmpfile.c | 46 ksft_exit_fail_msg("unshare() error: unshare, errno %d\n", errno); in main() 51 ksft_exit_fail_msg("mount() error: Root filesystem private mount: Fail %d\n", errno); in main() 56 ksft_exit_fail_msg("mount() error: Mounting tmpfs on /tmp: Fail %d\n", errno); in main() 61 ksft_exit_fail_msg("openat() error: Open first temporary file: Fail %d\n", errno); in main() 65 ksft_exit_fail_msg("linkat() error: Linking the temporary file: Fail %d\n", errno); in main() 73 ksft_exit_fail_msg("openat() error: Opening the second temporary file: Fail %d\n", errno); in main()
|
| /linux-6.15/tools/testing/selftests/signal/ |
| H A D | sas.c | 52 ksft_exit_fail_msg("SP is not on sigaltstack\n"); in my_usr1() 63 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in my_usr1() 75 ksft_exit_fail_msg("[RUN]\tAborting\n"); in my_usr1() 128 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main() 134 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main() 141 ksft_exit_fail_msg("Initial sigaltstack state was %x; " in main() 162 ksft_exit_fail_msg( in main() 172 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main() 184 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main() 188 ksft_exit_fail_msg("ss_flags=%x, should be SS_AUTODISARM\n", in main()
|
| /linux-6.15/tools/testing/selftests/x86/ |
| H A D | xstate.c | 98 ksft_exit_fail_msg("failed to allocate XSAVE buffer\n"); in validate_xregs_same() 117 ksft_exit_fail_msg("unable to allocate XSAVE buffer\n"); in check_xstate() 175 ksft_exit_fail_msg("pthread_create() failed\n"); in create_threads() 224 ksft_exit_fail_msg("unable allocate memory\n"); in test_context_switch() 287 ksft_exit_fail_msg("unable to allocate XSAVE buffer\n"); in ptracer_inject_xstate() 293 ksft_exit_fail_msg("PTRACE_GETREGSET failed\n"); in ptracer_inject_xstate() 301 ksft_exit_fail_msg("PTRACE_SETREGSET failed\n"); in ptracer_inject_xstate() 304 ksft_exit_fail_msg("PTRACE_GETREGSET failed\n"); in ptracer_inject_xstate() 327 ksft_exit_fail_msg("fork() failed\n"); in test_ptrace() 330 ksft_exit_fail_msg("PTRACE_TRACEME failed\n"); in test_ptrace() [all …]
|
| /linux-6.15/tools/testing/selftests/arm64/fp/ |
| H A D | fp-stress.c | 75 ksft_exit_fail_msg("fork() failed: %s (%d)\n", in child_start() 193 ksft_exit_fail_msg("Out of memory\n"); in child_output_read() 317 ksft_exit_fail_msg("asprintf() failed\n"); in start_fpsimd() 330 ksft_exit_fail_msg("asprintf() failed\n"); in start_kernel() 343 ksft_exit_fail_msg("Failed to set SVE VL %d\n", vl); in start_sve() 347 ksft_exit_fail_msg("asprintf() failed\n"); in start_sve() 360 ksft_exit_fail_msg("asprintf() failed\n"); in start_ssve() 381 ksft_exit_fail_msg("asprintf() failed\n"); in start_za() 394 ksft_exit_fail_msg("asprintf() failed\n"); in start_zt() 411 ksft_exit_fail_msg("SET_VL failed: %s (%d)\n", in probe_vls() [all …]
|
| /linux-6.15/tools/testing/selftests/ir/ |
| H A D | ir_loopback.c | 82 ksft_exit_fail_msg("cannot open %s: %m\n", buf); in lirc_open() 98 ksft_exit_fail_msg("cannot open: %s: %m\n", buf); in lirc_open() 112 ksft_exit_fail_msg("Usage: %s <write rcN> <read rcN>\n", in main() 118 ksft_exit_fail_msg("failed to set scancode rec mode %s: %m\n", in main() 123 ksft_exit_fail_msg("failed to set scancode send mode %s: %m\n", in main() 129 ksft_exit_fail_msg("failed to open %s: %m\n", buf); in main() 136 ksft_exit_fail_msg("failed to set write decoder\n"); in main() 173 ksft_exit_fail_msg("failed to send ir: %m\n"); in main()
|
| /linux-6.15/tools/testing/selftests/clone3/ |
| H A D | clone3_clear_sighand.c | 57 ksft_exit_fail_msg( in test_clone3_clear_sighand() 63 ksft_exit_fail_msg("%s - sigemptyset() failed\n", in test_clone3_clear_sighand() 71 ksft_exit_fail_msg( in test_clone3_clear_sighand() 78 ksft_exit_fail_msg( in test_clone3_clear_sighand() 86 ksft_exit_fail_msg("%s - clone3(CLONE_CLEAR_SIGHAND) failed\n", in test_clone3_clear_sighand() 109 ksft_exit_fail_msg( in test_clone3_clear_sighand()
|
| /linux-6.15/tools/testing/selftests/arm64/gcs/ |
| H A D | gcs-stress.c | 66 ksft_exit_fail_msg("Failed to create stdout pipe: %s (%d)\n", in start_thread() 71 ksft_exit_fail_msg("fork() failed: %s (%d)\n", in start_thread() 137 ksft_exit_fail_msg("asprintf() failed\n"); in start_thread() 141 ksft_exit_fail_msg("%s EPOLL_CTL_ADD failed: %s (%d)\n", in start_thread() 197 ksft_exit_fail_msg("Out of memory\n"); in child_output_read() 366 ksft_exit_fail_msg("Failed to parse timeout %s\n", in main() 370 ksft_exit_fail_msg("Unknown argument\n"); in main() 401 ksft_exit_fail_msg("Unable to allocate child data\n"); in main() 405 ksft_exit_fail_msg("epoll_create1() failed: %s (%d)\n", in main() 436 ksft_exit_fail_msg("Failed to allocated %d epoll events\n", in main() [all …]
|