| /tools/testing/selftests/arm64/gcs/ |
| A D | basic-gcs.c | 46 ksft_print_msg("Mode set to %lx not %lx\n", in gcs_set_status() 74 ksft_print_msg("Failed to read state: %d\n", ret); in read_status() 100 ksft_print_msg("GET GCSPR\n"); in read_gcspr_el0() 102 ksft_print_msg("GCSPR_EL0 is %p\n", gcspr_el0); in read_gcspr_el0() 198 ksft_print_msg("Mapped GCS at %p-%p\n", buf, in map_guarded_stack() 249 ksft_print_msg("fork() failed: %d\n", errno); in test_fork() 262 ksft_print_msg("GCS not enabled in child\n"); in test_fork() 275 ksft_print_msg("Waiting for child %d\n", pid); in test_fork() 311 ksft_print_msg("vfork() failed: %d\n", errno); in test_vfork() 326 ksft_print_msg("GCS not enabled in child\n"); in test_vfork() [all …]
|
| A D | libc-gcs.c | 119 ksft_print_msg("GCS in use from %p-%p\n", gcs, cur); in TEST() 147 ksft_print_msg("fork() failed: %d (%s)\n", in TEST() 169 ksft_print_msg("Child: %d\n", child); in TEST() 177 ksft_print_msg("wait() failed: %s", in TEST() 208 ksft_print_msg("PTRACE_GETSIGINFO: %s\n", in TEST() 224 ksft_print_msg("PTRACE_CONT: %s\n", strerror(errno)); in TEST() 257 ksft_print_msg("PTRACE_PEEKDATA failed: %s (%d)\n", in TEST() 271 ksft_print_msg("process_vm_readv() failed: %s (%d)\n", in TEST() 279 ksft_print_msg("PTRACE_POKEDATA failed: %s (%d)\n", in TEST() 287 ksft_print_msg("PTRACE_POKEDATA failed: %s (%d)\n", in TEST() [all …]
|
| A D | gcs-stress.c | 146 ksft_print_msg("Started %s\n", child->name); in start_thread() 161 ksft_print_msg("%s: read() failed: %s (%d)\n", in child_output_read() 186 ksft_print_msg("%s: %s\n", child->name, work); in child_output_read() 252 ksft_print_msg("waitpid(%d) failed: %s (%d)\n", in child_cleanup() 280 ksft_print_msg("%s exited with error code %d\n", in child_cleanup() 315 ksft_print_msg("Got signal, exiting...\n"); in handle_exit_signal() 388 ksft_print_msg("%d CPUs, %d GCS threads\n", in main() 395 ksft_print_msg("Will run for %ds\n", timeout); in main() 397 ksft_print_msg("Will run until terminated\n"); in main() 495 ksft_print_msg("Waiting for %d children\n", in main() [all …]
|
| /tools/testing/selftests/arm64/abi/ |
| A D | tpidr2.c | 89 ksft_print_msg("fork() failed: %d\n", newpid); in write_fork_read() 99 ksft_print_msg("waitpid() failed: %d\n", errno); in write_fork_read() 109 ksft_print_msg("child did not exit\n"); in write_fork_read() 114 ksft_print_msg("TPIDR2 corrupted in parent\n"); in write_fork_read() 154 ksft_print_msg("malloc() failed\n"); in write_clone_read() 161 ksft_print_msg("clone() failed: %d\n", errno); in write_clone_read() 174 ksft_print_msg("Child TID==0\n"); in write_clone_read() 190 ksft_print_msg("wait4() failed: %d\n", errno); in write_clone_read() 200 ksft_print_msg("child did not exit\n"); in write_clone_read() 220 ksft_print_msg("PID: %d\n", getpid()); in main() [all …]
|
| /tools/testing/selftests/filelock/ |
| A D | ofdlocks.c | 45 ksft_print_msg("[INFO] opened fds %i %i\n", fd, fd2); in main() 53 ksft_print_msg in main() 67 ksft_print_msg("[FAIL] read locks conflicted\n"); in main() 78 ksft_print_msg in main() 81 ksft_print_msg in main() 91 ksft_print_msg in main() 96 ksft_print_msg in main() 100 ksft_print_msg in main() 110 ksft_print_msg in main() 115 ksft_print_msg in main() [all …]
|
| /tools/testing/selftests/arm64/fp/ |
| A D | za-fork.c | 33 ksft_print_msg("ZA state invalid in child\n"); in fork_test_c() 40 ksft_print_msg("fork() failed: %d\n", newpid); in fork_test_c() 47 ksft_print_msg("ZA state invalid in parent\n"); in fork_test_c() 55 ksft_print_msg("waitpid() failed: %d\n", errno); in fork_test_c() 59 ksft_print_msg("waitpid() returned wrong PID\n"); in fork_test_c() 64 ksft_print_msg("child did not exit\n"); in fork_test_c() 79 ksft_print_msg("PID: %d\n", getpid()); in main() 91 ksft_print_msg("SME not supported\n"); in main()
|
| A D | fp-stress.c | 157 ksft_print_msg("%s: read() failed: %s (%d)\n", in child_output_read() 182 ksft_print_msg("%s: %s\n", child->name, work); in child_output_read() 299 ksft_print_msg("Got signal, exiting...\n"); in handle_exit_signal() 321 ksft_print_msg("Started %s\n", child->name); in start_fpsimd() 334 ksft_print_msg("Started %s\n", child->name); in start_kernel() 351 ksft_print_msg("Started %s\n", child->name); in start_sve() 368 ksft_print_msg("Started %s\n", child->name); in start_ssve() 385 ksft_print_msg("Started %s\n", child->name); in start_za() 398 ksft_print_msg("Started %s\n", child->name); in start_zt() 511 ksft_print_msg("Will run for %d\n", timeout); in main() [all …]
|
| /tools/testing/selftests/cachestat/ |
| A D | test_cachestat.c | 30 ksft_print_msg( in print_cachestat() 49 ksft_print_msg("Unable to access urandom.\n"); in write_exactly() 56 ksft_print_msg("Unable to allocate data.\n"); in write_exactly() 141 ksft_print_msg("Create/open %s\n", filename); in test_cachestat() 166 ksft_print_msg( in test_cachestat() 177 ksft_print_msg("fsync fails.\n"); in test_cachestat() 190 ksft_print_msg( in test_cachestat() 240 ksft_print_msg("Unable to create %s file.\n", in run_cachestat_test() 264 ksft_print_msg("mmap failed.\n"); in run_cachestat_test() 272 ksft_print_msg("Unsupported file type.\n"); in run_cachestat_test() [all …]
|
| /tools/testing/selftests/breakpoints/ |
| A D | step_after_suspend_test.c | 31 ksft_print_msg("sched_setaffinity() failed: %s\n", in child() 37 ksft_print_msg("ptrace(PTRACE_TRACEME) failed: %s\n", in child() 57 ksft_print_msg("fork() failed: %s\n", strerror(errno)); in run_test() 65 ksft_print_msg("waitpid() failed: %s\n", strerror(errno)); in run_test() 73 ksft_print_msg("child did not stop with SIGSTOP: %s\n", in run_test() 80 ksft_print_msg( in run_test() 85 ksft_print_msg("ptrace(PTRACE_SINGLESTEP) failed: %s\n", in run_test() 92 ksft_print_msg("waitpid() failed: %s\n", strerror(errno)); in run_test() 96 ksft_print_msg("child did not single-step: %s\n", in run_test() 105 ksft_print_msg("child did not stop with SIGTRAP: %s\n", in run_test() [all …]
|
| A D | breakpoint_test_arm64.c | 38 ksft_print_msg( in child() 45 ksft_print_msg( in child() 51 ksft_print_msg( in child() 102 ksft_print_msg( in set_watchpoint() 106 ksft_print_msg( in set_watchpoint() 129 ksft_print_msg( in run_test() 134 ksft_print_msg( in run_test() 147 ksft_print_msg( in run_test() 156 ksft_print_msg( in run_test() 174 ksft_print_msg( in run_test() [all …]
|
| /tools/testing/selftests/cgroup/ |
| A D | test_hugetlb_memcg.c | 106 ksft_print_msg( in hugetlb_test_program() 114 ksft_print_msg("fail to mmap.\n"); in hugetlb_test_program() 119 ksft_print_msg("mmap should not increase hugepage usage.\n"); in hugetlb_test_program() 131 ksft_print_msg( in hugetlb_test_program() 143 ksft_print_msg( in hugetlb_test_program() 154 ksft_print_msg("memory usage should go back down.\n"); in hugetlb_test_program() 155 ksft_print_msg( in hugetlb_test_program() 176 ksft_print_msg("fail to create cgroup.\n"); in test_hugetlb_memcg() 181 ksft_print_msg("fail to set cgroup memory limit.\n"); in test_hugetlb_memcg() 187 ksft_print_msg("fail to disable swap.\n"); in test_hugetlb_memcg() [all …]
|
| /tools/testing/selftests/pidfd/ |
| A D | pidfd_open_test.c | 134 ksft_print_msg( in main() 143 ksft_print_msg( in main() 152 ksft_print_msg("%s - failed to open pidfd\n", strerror(errno)); in main() 158 ksft_print_msg("pidfd %d refers to process with pid %d\n", pidfd, pid); in main() 170 ksft_print_msg("ppid %d does not match ppid from ioctl %d\n", in main() 175 ksft_print_msg("uid %d does not match uid from ioctl %d\n", in main() 180 ksft_print_msg("gid %d does not match gid from ioctl %d\n", in main() 185 ksft_print_msg("euid %d does not match euid from ioctl %d\n", in main() 190 ksft_print_msg("egid %d does not match egid from ioctl %d\n", in main() 195 ksft_print_msg("suid %d does not match suid from ioctl %d\n", in main() [all …]
|
| /tools/testing/selftests/seccomp/ |
| A D | seccomp_benchmark.c | 43 ksft_print_msg("%lu.%09lu - %lu.%09lu = %llu (%.1fs)\n", in timing() 196 ksft_print_msg("Running on:\n"); in main() 197 ksft_print_msg("%s", ""); in main() 200 ksft_print_msg("Current BPF sysctl settings:\n"); in main() 202 ksft_print_msg("%s", ""); in main() 204 ksft_print_msg("%s", ""); in main() 214 ksft_print_msg("Benchmarking %llu syscalls...\n", samples); in main() 218 ksft_print_msg("getpid native: %llu ns\n", native); in main() 242 ksft_print_msg("getpid RET_ALLOW 3 filters (full): %llu ns\n", filter1); in main() 254 ksft_print_msg("Estimated " fmt ": %llu ns\n", var); \ in main() [all …]
|
| /tools/testing/selftests/capabilities/ |
| A D | validate_cap.c | 50 ksft_print_msg("capng_get_caps_process failed\n"); in main() 55 ksft_print_msg("Wrong effective state%s\n", atsec); in main() 60 ksft_print_msg("Wrong permitted state%s\n", atsec); in main() 65 ksft_print_msg("Wrong inheritable state%s\n", atsec); in main() 70 ksft_print_msg("Wrong ambient state%s\n", atsec); in main() 74 ksft_print_msg("%s: Capabilities after execve were correct\n", in main()
|
| A D | test_execve.c | 92 ksft_print_msg("[NOTE]\tUsing global UIDs for tests\n"); in create_and_enter_ns() 180 ksft_print_msg("Child died\n"); in fork_wait() 183 ksft_print_msg("Child failed\n"); in fork_wait() 267 ksft_print_msg("[RUN]\tRoot => ep\n"); in do_tests() 271 ksft_print_msg("[RUN]\tNon-root => no caps\n"); in do_tests() 348 ksft_print_msg("[RUN]\tRoot +i => eip\n"); in do_tests() 352 ksft_print_msg("[RUN]\tNon-root +i => i\n"); in do_tests() 361 ksft_print_msg("[RUN]\tUID %d +ia => eipa\n", uid); in do_tests() 373 ksft_print_msg("[RUN]\tRoot +ia, suidroot => eipa\n"); in do_tests() 383 ksft_print_msg("[RUN]\tRoot +ia, sgidroot => eipa\n"); in do_tests() [all …]
|
| /tools/testing/selftests/mm/ |
| A D | compaction_test.c | 36 ksft_print_msg("Failed to read meminfo: %s\n", strerror(errno)); in read_memory_info() 47 ksft_print_msg("Failed to read meminfo: %s\n", strerror(errno)); in read_memory_info() 81 ksft_print_msg("Compaction isn't allowed\n"); in prereq() 105 ksft_print_msg("Failed to open /proc/sys/vm/nr_hugepages: %s\n", in check_compaction() 121 ksft_print_msg("Failed to write %lu to /proc/sys/vm/nr_hugepages: %s\n", in check_compaction() 138 ksft_print_msg("ERROR: No memory is available as huge pages\n"); in check_compaction() 152 ksft_print_msg("Number of huge pages allocated = %lu\n", in check_compaction() 156 ksft_print_msg("ERROR: Less than 1/%d of memory is available\n" in check_compaction() 177 ksft_print_msg("Failed to open /proc/sys/vm/nr_hugepages: %s\n", in set_zero_hugepages() 182 ksft_print_msg("Failed to read from /proc/sys/vm/nr_hugepages: %s\n", in set_zero_hugepages() [all …]
|
| A D | gup_longterm.c | 108 ksft_print_msg("ftruncate() failed (%s)\n", in do_test() 129 ksft_print_msg("need more free huge pages\n"); in do_test() 139 ksft_print_msg("mmap() failed (%s)\n", strerror(errno)); in do_test() 142 ksft_print_msg("need more free huge pages\n"); in do_test() 174 ksft_print_msg("gup_test not available\n"); in do_test() 180 ksft_print_msg("Unknown filesystem\n"); in do_test() 208 ksft_print_msg("PIN_LONGTERM_TEST_START failed (%s)\n", in do_test() 236 ksft_print_msg("Unknown filesystem\n"); in do_test() 246 ksft_print_msg("io_uring_queue_init() failed (%s)\n", in do_test() 262 ksft_print_msg("Should have failed (%s)\n", in do_test() [all …]
|
| A D | hugetlb-soft-offline.c | 56 ksft_print_msg("Allocated %#lx bytes of hugetlb pages\n", len); in do_soft_offline() 60 ksft_print_msg("MADV_SOFT_OFFLINE %p ret=%d, errno=%d\n", in do_soft_offline() 68 ksft_print_msg("MADV_SOFT_OFFLINE should ret %d\n", in do_soft_offline() 93 ksft_print_msg("enable_soft_offline => %d\n", value); in set_enable_soft_offline() 145 ksft_print_msg(EPREFIX "not hugetlbfs file\n"); in create_hugetlbfs_file() 165 ksft_print_msg("Test soft-offline when enabled_soft_offline=%d\n", in test_soft_offline_common() 173 ksft_print_msg("Hugepagesize is %ldkB\n", hugepagesize_kb); in test_soft_offline_common() 185 ksft_print_msg("Before MADV_SOFT_OFFLINE nr_hugepages=%ld\n", in test_soft_offline_common() 195 ksft_print_msg("After MADV_SOFT_OFFLINE nr_hugepages=%ld\n", in test_soft_offline_common()
|
| A D | map_fixed_noreplace.c | 70 ksft_print_msg("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 80 ksft_print_msg("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 98 ksft_print_msg("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 117 ksft_print_msg("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 135 ksft_print_msg("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 153 ksft_print_msg("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 171 ksft_print_msg("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 189 ksft_print_msg("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main()
|
| /tools/testing/selftests/vDSO/ |
| A D | vdso_test_abi.c | 56 ksft_print_msg("Couldn't find %s\n", name[0]); in vdso_test_gettimeofday() 65 ksft_print_msg("The time is %lld.%06lld\n", in vdso_test_gettimeofday() 80 ksft_print_msg("Couldn't find %s\n", name[1]); in vdso_test_clock_gettime() 90 ksft_print_msg("The time is %lld.%06lld\n", in vdso_test_clock_gettime() 107 ksft_print_msg("Couldn't find %s\n", name[2]); in vdso_test_time() 132 ksft_print_msg("Couldn't find %s\n", name[3]); in vdso_test_clock_getres() 142 ksft_print_msg("The vdso resolution is %lld %lld\n", in vdso_test_clock_getres() 150 ksft_print_msg("The syscall resolution is %lld %lld\n", in vdso_test_clock_getres() 171 ksft_print_msg("clock_id: %s\n", vdso_clock_name[clock_id]); in vdso_test_clock() 188 ksft_print_msg("AT_SYSINFO_EHDR is not present!\n"); in main() [all …]
|
| /tools/testing/selftests/x86/ |
| A D | test_vsyscall.c | 73 ksft_print_msg("[WARN] failed to find vDSO\n"); in init_vdso() 87 ksft_print_msg("[WARN] failed to find time in vDSO\n"); in init_vdso() 91 ksft_print_msg("[WARN] failed to find getcpu in vDSO\n"); in init_vdso() 128 ksft_print_msg("%s tz mismatch\n", which); in check_gtod() 145 ksft_print_msg("test gettimeofday()\n"); in test_gtod() 180 ksft_print_msg("test time()\n"); in test_time() 230 ksft_print_msg("getcpu() on CPU %d\n", cpu); in test_getcpu() 235 ksft_print_msg("failed to force CPU %d\n", cpu); in test_getcpu() 437 ksft_print_msg("vsyscall map: %s", line); in init_vsys() 441 ksft_print_msg("address range is nonsense\n"); in init_vsys() [all …]
|
| /tools/testing/selftests/clone3/ |
| A D | clone3_set_tid.c | 56 ksft_print_msg("%s - Failed to create new process\n", in call_clone3_set_tid() 69 ksft_print_msg("[%d] Child is ready and waiting\n", in call_clone3_set_tid() 76 ksft_print_msg( in call_clone3_set_tid() 84 ksft_print_msg( in call_clone3_set_tid() 100 ksft_print_msg( in call_clone3_set_tid() 127 ksft_print_msg( in test_clone3_set_tid() 132 ksft_print_msg( in test_clone3_set_tid() 272 ksft_print_msg("Child has PID %d\n", getpid()); in main() 297 ksft_print_msg("unshare PID namespace\n"); in main() 380 ksft_print_msg( in main() [all …]
|
| /tools/testing/selftests/tty/ |
| A D | tty_tstamp_update.c | 57 ksft_print_msg("readlink on /proc/self/fd/0 failed: %m\n"); in main() 62 ksft_print_msg("invalid tty path '%s'\n", tty); in main() 70 ksft_print_msg("stat failed on tty path '%s': %m\n", tty); in main() 80 ksft_print_msg("failed to write to /dev/tty: %s\n", in main() 87 ksft_print_msg("stat failed on tty path '%s': %m\n", tty); in main() 94 ksft_print_msg("tty timestamps not updated\n"); in main() 98 ksft_print_msg( in main()
|
| /tools/testing/selftests/filesystems/statmount/ |
| A D | statmount_test_ns.c | 47 ksft_print_msg("waitpid returned -1, errno=%d\n", errno); in wait_for_pid() 52 ksft_print_msg( in wait_for_pid() 67 ksft_print_msg("failed to open for ns %s: %s\n", in get_mnt_ns_id() 74 ksft_print_msg("failed to get the nsid for ns %s: %s\n", in get_mnt_ns_id() 107 ksft_print_msg("statmount mnt ns id: %s\n", strerror(errno)); in _test_statmount_mnt_ns_id() 112 ksft_print_msg("unexpected size: %u != %u\n", sm.size, in _test_statmount_mnt_ns_id() 117 ksft_print_msg("statmount mnt ns id unavailable\n"); in _test_statmount_mnt_ns_id() 122 ksft_print_msg("unexpected mnt ns ID: 0x%llx != 0x%llx\n", in _test_statmount_mnt_ns_id() 168 ksft_print_msg("listmount: %s\n", strerror(errno)); in validate_external_listmount() 190 ksft_print_msg("statmount mnt ns id unavailable\n"); in validate_external_listmount() [all …]
|
| /tools/testing/selftests/alsa/ |
| A D | mixer-test.c | 106 ksft_print_msg("Failed to get card ID\n"); in find_controls() 114 ksft_print_msg("Card %d/%s - %s (%s)\n", card, in find_controls() 161 ksft_print_msg("%s getting info for %s\n", in find_controls() 195 ksft_print_msg("snd_card_next"); in find_controls() 243 ksft_print_msg("No POLLIN\n"); in wait_for_event() 261 ksft_print_msg("Event for unexpected ctl %s\n", in wait_for_event() 267 ksft_print_msg("Removal event for %s\n", in wait_for_event() 411 ksft_print_msg("%s is inactive\n", ctl->name); in test_ctl_get_value() 673 ksft_print_msg("No event generated for %s\n", in write_and_verify() 717 ksft_print_msg("%s is inactive\n", ctl->name); in test_ctl_write_default() [all …]
|