/openbmc/linux/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 43 ksft_exit_fail_msg("vsnprintf failed - %s\n", strerror(errno)); in vmaybe_write_file() 54 filename, strerror(errno)); in vmaybe_write_file() 62 filename, strerror(errno)); in vmaybe_write_file() 67 filename, strerror(errno)); in vmaybe_write_file() 107 strerror(errno)); in create_and_enter_ns() 109 ksft_exit_fail_msg("setresuid - %s\n", strerror(errno)); in create_and_enter_ns() 118 "capng_apply - %s\n", strerror(errno)); in create_and_enter_ns() 134 strerror(errno)); in create_and_enter_ns() 143 ksft_exit_fail_msg("getcwd - %s\n", strerror(errno)); in chdir_to_tmpfs() 147 strerror(errno)); in chdir_to_tmpfs() [all …]
|
/openbmc/linux/tools/testing/selftests/mount/ |
H A D | nosymfollow-test.c | 50 die("vsnprintf failed: %s\n", strerror(errno)); in vmaybe_write_file() 59 die("open of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file() 68 filename, strerror(errno)); in vmaybe_write_file() 73 die("close of %s failed: %s\n", filename, strerror(errno)); in vmaybe_write_file() 100 die("unshare(CLONE_NEWUSER) failed: %s\n", strerror(errno)); in create_and_enter_ns() 107 die("setgid(0) failed %s\n", strerror(errno)); in create_and_enter_ns() 109 die("setuid(0) failed %s\n", strerror(errno)); in create_and_enter_ns() 112 die("unshare(CLONE_NEWNS) failed: %s\n", strerror(errno)); in create_and_enter_ns() 121 die("creat failed: %s\n", strerror(errno)); in setup_symlink() 125 die("symlink failed: %s\n", strerror(errno)); in setup_symlink() [all …]
|
H A D | unprivileged-remount-test.c | 67 strerror(errno)); in vmaybe_write_file() 78 filename, strerror(errno)); in vmaybe_write_file() 86 filename, strerror(errno)); in vmaybe_write_file() 91 filename, strerror(errno)); in vmaybe_write_file() 124 path, strerror(errno)); in read_mnt_flags() 164 strerror(errno)); in create_and_enter_userns() 173 strerror(errno)); in create_and_enter_userns() 177 strerror(errno)); in create_and_enter_userns() 190 strerror(errno)); in test_unpriv_remount() 198 strerror(errno)); in test_unpriv_remount() [all …]
|
/openbmc/linux/tools/testing/selftests/breakpoints/ |
H A D | step_after_suspend_test.c | 32 strerror(errno)); in child() 38 strerror(errno)); in child() 43 ksft_print_msg("raise(SIGSTOP) failed: %s\n", strerror(errno)); 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() 69 ksft_print_msg("child did not stop: %s\n", strerror(errno)); in run_test() 74 strerror(errno)); in run_test() 82 strerror(errno)); in run_test() 86 strerror(errno)); in run_test() 92 ksft_print_msg("waitpid() failed: $s\n", strerror(errno)); in run_test() [all …]
|
H A D | breakpoint_test_arm64.c | 40 strerror(errno)); in child() 46 "raise(SIGSTOP) failed: %s\n", strerror(errno)); in child() 53 strerror(errno)); in child() 104 strerror(errno)); in set_watchpoint() 108 strerror(errno)); in set_watchpoint() 121 "fork() failed: %s\n", strerror(errno)); in run_test() 130 "waitpid() failed: %s\n", strerror(errno)); in run_test() 135 "child did not stop: %s\n", strerror(errno)); in run_test() 149 strerror(errno)); in run_test() 157 "waitpid() failed: %s\n", strerror(errno)); in run_test() [all …]
|
/openbmc/linux/tools/testing/selftests/filesystems/binderfs/ |
H A D | binderfs_test.c | 46 strerror(errno)); in change_mountns() 52 strerror(errno)); in change_mountns() 74 strerror(errno)); in __do_binderfs_test() 82 TH_LOG("%s - Failed to mount binderfs", strerror(errno)); in __do_binderfs_test() 94 strerror(errno)); in __do_binderfs_test() 104 strerror(errno)); in __do_binderfs_test() 117 strerror(errno)); in __do_binderfs_test() 127 strerror(errno)); in __do_binderfs_test() 138 strerror(errno)); in __do_binderfs_test() 152 strerror(errno)); in __do_binderfs_test() [all …]
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | bp-modify.c | 84 strerror(errno)); in bp_modify1() 91 strerror(errno)); in bp_modify1() 97 pr_debug("failed to set dr7: %s\n", strerror(errno)); in bp_modify1() 102 pr_debug("failed to PTRACE_CONT: %s\n", strerror(errno)); in bp_modify1() 116 strerror(errno)); in bp_modify1() 124 pr_debug("failed to PTRACE_DETACH: %s", strerror(errno)); in bp_modify1() 161 strerror(errno)); in bp_modify2() 167 pr_debug("failed to set dr7: %s\n", strerror(errno)); in bp_modify2() 178 pr_debug("failed to PTRACE_CONT: %s\n", strerror(errno)); in bp_modify2() 192 strerror(errno)); in bp_modify2() [all …]
|
/openbmc/phosphor-objmgr/libmapper/ |
H A D | app.c | 58 strerror(-r)); in wait_main() 65 fprintf(stderr, "Error obtaining event loop: %s\n", strerror(-r)); in wait_main() 76 strerror(-r)); in wait_main() 83 fprintf(stderr, "Error configuring waitlist: %s\n", strerror(-r)); in wait_main() 90 fprintf(stderr, "Event loop exited: %s\n", strerror(-r)); in wait_main() 154 fprintf(stderr, "Error connecting to system bus: %s\n", strerror(-r)); in subtree_main() 161 fprintf(stderr, "Error obtaining event loop: %s\n", strerror(-r)); in subtree_main() 169 strerror(-r)); in subtree_main() 177 fprintf(stderr, "Error configuring subtree list: %s\n", strerror(-r)); in subtree_main() 194 strerror(-r)); in subtree_main() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 39 fprintf(stderr, "Error: bpf_tc_hook_destroy: %s\n", strerror(-err)); in cleanup() 48 fprintf(stderr, "Error: bpf_prog_get_fd_by_id: %s\n", strerror(-prog_fd)); in cleanup() 51 fprintf(stderr, "Error: bpf_set_link_xdp_fd: %s\n", strerror(-err)); in cleanup() 60 fprintf(stderr, "Error: bpf_set_link_xdp_fd_opts: %s\n", strerror(-err)); in cleanup() 202 fprintf(stderr, "Error: bpf_object__open_file: %s\n", strerror(-err)); in syncookie_attach() 208 fprintf(stderr, "Error: bpf_object__open_file: %s\n", strerror(-err)); in syncookie_attach() 223 strerror(-err)); in syncookie_attach() 242 strerror(-err)); in syncookie_attach() 248 strerror(-err)); in syncookie_attach() 257 strerror(-err)); in syncookie_attach() [all …]
|
/openbmc/hiomapd/ |
H A D | mboxctl.c | 60 strerror(-rc)); in init_mboxctl_dbus() 79 strerror(-rc)); in mboxctl_directive() 85 MSG_ERR("Failed to post message: %s\n", strerror(-rc)); in mboxctl_directive() 111 MSG_OUT("Ping: %s\n", rc ? strerror(-rc) : "Success"); in handle_cmd_ping() 153 MSG_OUT("Kill: %s\n", rc ? strerror(-rc) : "Success"); in handle_cmd_kill() 163 MSG_OUT("Reset: %s\n", rc ? strerror(-rc) : "Success"); in handle_cmd_reset() 173 MSG_OUT("Suspend: %s\n", rc ? strerror(-rc) : "Success"); in handle_cmd_suspend() 197 strerror(-rc)); in handle_cmd_resume() 215 strerror(-rc)); in handle_cmd_resume() 221 MSG_ERR("Failed to post message: %s\n", strerror(-rc)); in handle_cmd_resume() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H 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() 66 strerror(errno)); in prereq() 72 strerror(errno)); in prereq() 100 strerror(errno)); in check_compaction() 107 strerror(errno)); in check_compaction() 116 strerror(errno)); in check_compaction() 126 strerror(errno)); in check_compaction() 134 strerror(errno)); in check_compaction() 152 strerror(errno)); in check_compaction() [all …]
|
/openbmc/skeleton/op-pwrctl/pgood_wait/ |
H A D | pgood_wait.c | 45 strerror(-r)); in callback() 54 strerror(-r)); in callback() 68 strerror(-r)); in callback() 199 strerror(-r)); in main() 207 strerror(-r)); in main() 215 strerror(-r)); in main() 224 strerror(-r)); in main() 232 strerror(-r)); in main() 246 strerror(-r)); in main() 261 strerror(-r)); in main() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | map_in_map_batch_ops.c | 23 strerror(errno)); in get_map_id_from_fd() 46 map_type, map_name, strerror(errno)); in create_inner_maps() 62 map_type, map_name, strerror(errno)); in create_inner_maps() 78 map_type, strerror(errno)); in create_outer_map() 97 outer_map_value, strerror(errno)); in validate_fetch_results() 101 "error=%s\n", strerror(errno)); in validate_fetch_results() 111 inner_map_key, strerror(errno)); in validate_fetch_results() 135 "error=%s\n", strerror(errno)); in fetch_and_validate() 163 "error: %s\n", strerror(errno)); in fetch_and_validate() 174 total_fetched, max_entries, errno, strerror(errno)); in fetch_and_validate() [all …]
|
H A D | map_percpu_stats.c | 29 CHECK(ret < 0, "bpf_obj_get_info_by_fd", "error: %s\n", strerror(errno)); in map_info() 80 "error: %s\n", strerror(errno)); in delete_and_lookup_batch() 97 CHECK(!keys, "calloc", "error: %s\n", strerror(errno)); in delete_all_elements() 116 "error: key %u: %s\n", i, strerror(errno)); in delete_all_elements() 120 "error: key %u: %s\n", i, strerror(errno)); in delete_all_elements() 146 strerror(errno), "small"); in create_small_hash() 164 CHECK(ret < 0, "bpf_map_update_elem", "key=%d error: %s\n", i, strerror(errno)); in patch_map_thread() 180 CHECK(ret != 0, "pthread_create", "error: %s\n", strerror(ret)); in upsert_elements() 185 CHECK(ret != 0, "pthread_join", "error: %s\n", strerror(ret)); in upsert_elements() 196 CHECK(n <= 0, "read", "error: %s\n", strerror(errno)); in read_cur_elements() [all …]
|
H A D | htab_map_batch_ops.c | 38 CHECK(err, "bpf_map_update_batch()", "error:%s\n", strerror(errno)); in map_batch_update() 95 "bpf_map_create()", "error:%s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 105 "error:%s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 112 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 121 CHECK(err, "count = 0", "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 130 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 137 CHECK(!err, "bpf_map_get_next_key()", "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 169 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 192 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() 203 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch() [all …]
|
/openbmc/linux/samples/binderfs/ |
H A D | binderfs_example.c | 26 strerror(errno)); in main() 33 strerror(errno)); in main() 40 strerror(errno)); in main() 47 strerror(errno)); in main() 56 strerror(errno)); in main() 66 strerror(errno)); in main() 76 strerror(errno)); in main()
|
/openbmc/linux/tools/testing/selftests/watchdog/ |
H A D | watchdog-test.c | 198 strerror(errno)); in main() 207 printf("WDIOC_GETSUPPORT error '%s'\n", strerror(errno)); in main() 223 printf("WDIOC_GETBOOTSTATUS error '%s'\n", strerror(errno)); in main() 231 printf("WDIOS_DISABLECARD error '%s'\n", strerror(errno)); in main() 241 printf("WDIOS_ENABLECARD error '%s'\n", strerror(errno)); in main() 258 printf("WDIOC_GETSTATUS error '%s'\n", strerror(errno)); in main() 261 printf("WDIOC_GETTEMP: '%s'\n", strerror(errno)); in main() 272 printf("WDIOC_SETTIMEOUT error '%s'\n", strerror(errno)); in main() 282 printf("WDIOC_GETTIMEOUT error '%s'\n", strerror(errno)); in main() 290 printf("WDIOC_SETPRETIMEOUT error '%s'\n", strerror(errno)); in main() [all …]
|
/openbmc/linux/tools/testing/selftests/media_tests/ |
H A D | video_device_test.c | 52 printf("Failed to get priority: %s\n", strerror(errno)); in priority_test() 58 printf("Failed to set priority: %s\n", strerror(errno)); in priority_test() 63 printf("Failed to get new priority: %s\n", strerror(errno)); in priority_test() 75 printf("Failed to restore priority: %s\n", strerror(errno)); in priority_test() 101 printf("VIDIOC_QUERYCAP errno %s\n", strerror(errno)); in loop_test() 107 printf("VIDIOC_G_TUNER, errno %s\n", strerror(errno)); in loop_test() 145 printf("Video Device open errno %s\n", strerror(errno)); in main()
|
/openbmc/linux/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 269 fprintf(stderr, "open netlink socket: %s\n", strerror(errno)); in get_route_table() 275 fprintf(stderr, "bind netlink socket: %s\n", strerror(errno)); in get_route_table() 295 fprintf(stderr, "send to netlink: %s\n", strerror(errno)); in get_route_table() 302 fprintf(stderr, "recv from netlink: %s\n", strerror(nll)); in get_route_table() 405 fprintf(stderr, "open netlink socket: %s\n", strerror(errno)); in get_arp_table() 411 fprintf(stderr, "bind netlink socket: %s\n", strerror(errno)); in get_arp_table() 430 fprintf(stderr, "send to netlink: %s\n", strerror(errno)); in get_arp_table() 437 fprintf(stderr, "recv from netlink: %s\n", strerror(nll)); in get_arp_table() 460 fprintf(stderr, "open netlink socket: %s\n", strerror(errno)); in monitor_routes_thread() 469 fprintf(stderr, "bind netlink socket: %s\n", strerror(errno)); in monitor_routes_thread() [all …]
|
H A D | fds_example.c | 85 printf("bpf: map fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_map() 89 printf("bpf: pin ret:(%d,%s)\n", ret, strerror(errno)); in bpf_do_map() 93 printf("bpf: get fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_map() 100 ret, strerror(errno)); in bpf_do_map() 105 ret, strerror(errno)); in bpf_do_map() 118 printf("bpf: prog fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_prog() 122 printf("bpf: pin ret:(%d,%s)\n", ret, strerror(errno)); in bpf_do_prog() 126 printf("bpf: get fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_prog() 135 ret, strerror(errno)); in bpf_do_prog()
|
/openbmc/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_poll_test.c | 58 strerror(errno)); in main() 71 strerror(errno)); in main() 76 strerror(errno)); in main() 82 strerror(errno)); in main() 91 strerror(errno)); in main() 110 strerror(errno)); in main()
|
/openbmc/phosphor-event/ |
H A D | event_messaged_sdbus.c | 132 fprintf(stderr,"Error opening container %s to reply %s\n", token, strerror(-r)); in prop_message_assoc() 138 fprintf(stderr,"Error adding properties for %s to reply %s\n", token, strerror(-r)); in prop_message_assoc() 193 fprintf(stderr,"Error adding property to reply %s\n", strerror(-r)); in prop_message() 250 fprintf(stderr, "Error parsing strings: %s\n", strerror(-r)); in accept_message() 256 fprintf(stderr, "Error parsing debug data: %s\n", strerror(-r)); in accept_message() 348 strerror(-r)); in method_clearall() 411 fprintf(stderr, "Failed to emit the delete signal %s\n", strerror(-r)); in remove_log_from_dbus() 443 loglocation, strerror(-r)); in send_log_to_dbus() 457 loglocation, strerror(-r)); in send_log_to_dbus() 472 loglocation, strerror(-r)); in send_log_to_dbus() [all …]
|
/openbmc/qemu/audio/ |
H A D | wavcapture.c | 47 strerror(errno)); in wav_destroy() 52 strerror(errno)); in wav_destroy() 57 strerror(errno)); in wav_destroy() 62 strerror(errno)); in wav_destroy() 67 error_report("wav_destroy: fclose failed: %s", strerror(errno)); in wav_destroy() 79 error_report("wav_capture: fwrite error: %s", strerror(errno)); in wav_capture() 158 path, strerror(errno)); in wav_start_capture() 169 error_report("Failed to write header: %s", strerror(errno)); in wav_start_capture() 187 error_report("Failed to close wave file: %s", strerror(errno)); in wav_start_capture()
|
/openbmc/sdeventplus/example/ |
H A D | follow.cpp | 28 fprintf(stderr, "Failed to open %s: %s\n", fifo, strerror(errno)); in reader() 43 fprintf(stderr, "Reader error: %s\n", strerror(errno)); in reader() 56 strerror(errno)); in remover() 81 fprintf(stderr, "Failed to populate signals: %s\n", strerror(errno)); in main() 86 fprintf(stderr, "Failed to mask signals: %s\n", strerror(errno)); in main() 92 fprintf(stderr, "Failed to mkfifo %s: %s\n", fifo, strerror(errno)); in main() 99 fprintf(stderr, "Failed to open %s: %s\n", fifo, strerror(errno)); in main()
|
/openbmc/debug-trigger/ |
H A D | main.c | 180 strerror(-rc)); in dbus_sink_dump_progress() 209 strerror(-rc)); in dbus_sink_dump_progress() 217 strerror(-rc)); in dbus_sink_dump_progress() 227 strerror(-rc)); in dbus_sink_dump_progress() 236 member, strerror(-rc)); in dbus_sink_dump_progress() 281 warnx("Failed to call CreateDump: %s", strerror(-rc)); in dbus_sink_debug() 288 warnx("Failed to extract dump object path: %s", strerror(-rc)); in dbus_sink_debug() 303 path, strerror(-rc)); in dbus_sink_debug() 321 path, strerror(-rc)); in dbus_sink_debug() 337 path, strerror(-rc)); in dbus_sink_debug() [all …]
|