Home
last modified time | relevance | path

Searched refs:strerror (Results 1 – 25 of 168) sorted by relevance

1234567

/Linux-v5.4/tools/testing/selftests/capabilities/
Dtest_execve.c43 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 …]
/Linux-v5.4/tools/testing/selftests/pidfd/
Dpidfd_wait.c55 test_name, strerror(errno)); in test_pidfd_wait_simple()
61 test_name, strerror(errno)); in test_pidfd_wait_simple()
68 test_name, strerror(errno)); in test_pidfd_wait_simple()
74 test_name, strerror(errno)); in test_pidfd_wait_simple()
81 test_name, strerror(errno)); in test_pidfd_wait_simple()
90 test_name, parent_tid, pidfd, strerror(errno)); in test_pidfd_wait_simple()
95 test_name, parent_tid, pidfd, strerror(errno)); in test_pidfd_wait_simple()
102 strerror(errno)); in test_pidfd_wait_simple()
108 strerror(errno)); in test_pidfd_wait_simple()
114 strerror(errno)); in test_pidfd_wait_simple()
[all …]
Dpidfd_poll_test.c59 strerror(errno)); in main()
72 strerror(errno)); in main()
77 strerror(errno)); in main()
83 strerror(errno)); in main()
92 strerror(errno)); in main()
111 strerror(errno)); in main()
/Linux-v5.4/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c32 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()
85 strerror(errno)); in run_test()
91 ksft_print_msg("waitpid() failed: $s\n", strerror(errno)); in run_test()
[all …]
Dbreakpoint_test_arm64.c40 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 arun_test()
130 "waitpid() failed: %s\n", strerror(errno)); in arun_test()
135 "child did not stop: %s\n", strerror(errno)); in arun_test()
149 strerror(errno)); in arun_test()
157 "waitpid() failed: %s\n", strerror(errno)); in arun_test()
[all …]
/Linux-v5.4/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c40 strerror(errno), filename); in write_to_file()
65 strerror(errno), filename); in write_to_file()
84 strerror(errno)); in change_to_userns()
91 strerror(errno)); in change_to_userns()
98 strerror(errno)); in change_to_userns()
105 strerror(errno)); in change_to_userns()
110 strerror(errno)); in change_to_userns()
120 strerror(errno)); in change_to_mountns()
125 strerror(errno)); in change_to_mountns()
151 strerror(errno)); in __do_binderfs_test()
[all …]
/Linux-v5.4/tools/testing/selftests/mount/
Dunprivileged-remount-test.c67 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 …]
/Linux-v5.4/tools/perf/arch/x86/tests/
Dbp-modify.c84 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 …]
/Linux-v5.4/samples/binderfs/
Dbinderfs_example.c27 strerror(errno)); in main()
34 strerror(errno)); in main()
41 strerror(errno)); in main()
48 strerror(errno)); in main()
57 strerror(errno)); in main()
67 strerror(errno)); in main()
77 strerror(errno)); in main()
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dsend_signal.c25 "pipe pipe_c2p error: %s\n", strerror(errno))) in test_send_signal_common()
29 "pipe pipe_p2c error: %s\n", strerror(errno))) { in test_send_signal_common()
36 if (CHECK(pid < 0, test_name, "fork error: %s\n", strerror(errno))) { in test_send_signal_common()
78 strerror(errno))) in test_send_signal_common()
84 strerror(errno))) { in test_send_signal_common()
91 strerror(errno))) in test_send_signal_common()
96 strerror(errno))) in test_send_signal_common()
121 if (CHECK(err < 0, test_name, "reading pipe error: %s\n", strerror(errno))) in test_send_signal_common()
159 strerror(errno))) in test_send_signal_tracepoint()
166 strerror(errno))) in test_send_signal_tracepoint()
/Linux-v5.4/tools/testing/selftests/watchdog/
Dwatchdog-test.c120 strerror(errno)); in main()
129 printf("WDIOC_GETSUPPORT error '%s'\n", strerror(errno)); in main()
146 printf("WDIOC_GETBOOTSTATUS error '%s'\n", strerror(errno)); in main()
154 printf("WDIOS_DISABLECARD error '%s'\n", strerror(errno)); in main()
164 printf("WDIOS_ENABLECARD error '%s'\n", strerror(errno)); in main()
180 printf("WDIOC_SETTIMEOUT error '%s'\n", strerror(errno)); in main()
190 printf("WDIOC_GETTIMEOUT error '%s'\n", strerror(errno)); in main()
198 printf("WDIOC_SETPRETIMEOUT error '%s'\n", strerror(errno)); in main()
208 printf("WDIOC_GETPRETIMEOUT error '%s'\n", strerror(errno)); in main()
216 printf("WDIOC_GETTIMELEFT error '%s'\n", strerror(errno)); in main()
/Linux-v5.4/samples/bpf/
Dfds_example.c82 printf("bpf: map fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_map()
86 printf("bpf: pin ret:(%d,%s)\n", ret, strerror(errno)); in bpf_do_map()
90 printf("bpf: get fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_map()
97 ret, strerror(errno)); in bpf_do_map()
102 ret, strerror(errno)); in bpf_do_map()
115 printf("bpf: prog fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_prog()
119 printf("bpf: pin ret:(%d,%s)\n", ret, strerror(errno)); in bpf_do_prog()
123 printf("bpf: get fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_prog()
132 ret, strerror(errno)); in bpf_do_prog()
Dtest_cgrp2_array_pin.c62 cg2, strerror(errno), errno); in main()
73 strerror(errno), errno); in main()
80 pinned_file, strerror(errno), errno); in main()
95 pinned_file, strerror(errno), errno); in main()
Dxdp_router_ipv4_user.c330 printf("open netlink socket: %s\n", strerror(errno)); in get_route_table()
336 printf("bind to netlink: %s\n", strerror(errno)); in get_route_table()
356 printf("send to netlink: %s\n", strerror(errno)); in get_route_table()
363 printf("recv from netlink: %s\n", strerror(nll)); in get_route_table()
469 printf("open netlink socket: %s\n", strerror(errno)); in get_arp_table()
475 printf("bind to netlink: %s\n", strerror(errno)); in get_arp_table()
494 printf("send to netlink: %s\n", strerror(errno)); in get_arp_table()
501 printf("recv from netlink: %s\n", strerror(nll)); in get_arp_table()
531 printf("open netlink socket: %s\n", strerror(errno)); in monitor_route()
540 printf("bind to netlink: %s\n", strerror(errno)); in monitor_route()
[all …]
/Linux-v5.4/tools/testing/selftests/android/ion/
Dipcsocket.c26 __func__, strerror(errno)); in opensocket()
34 __func__, strerror(errno)); in opensocket()
55 __func__, strerror(errno)); in opensocket()
62 __func__, strerror(errno)); in opensocket()
73 __func__, strerror(errno)); in opensocket()
91 __func__, strerror(errno)); in opensocket()
130 __func__, strerror(errno)); in sendtosocket()
153 __func__, strerror(errno)); in sendtosocket()
184 __func__, strerror(errno)); in receivefromsocket()
205 __func__, strerror(errno)); in receivefromsocket()
/Linux-v5.4/tools/hv/
Dhv_vss_daemon.c81 buffer, errno, strerror(errno)); in is_dev_loop()
89 buffer, errno, strerror(errno)); in is_dev_loop()
142 ent->mnt_fsname, errno, strerror(errno)); in vss_operate()
181 errdir, save_errno, strerror(save_errno)); in vss_operate()
184 strerror(save_errno)); in vss_operate()
238 errno, strerror(errno)); in main()
249 errno, strerror(errno)); in main()
261 syslog(LOG_ERR, "poll failed; error:%d %s", errno, strerror(errno)); in main()
286 errno, strerror(errno)); in main()
319 strerror(errno)); in main()
Dhv_fcopy_daemon.c77 syslog(LOG_INFO, "Open Failed: %s", strerror(errno)); in hv_start_fcopy()
105 filesize, (long)bytes_written, strerror(errno)); in hv_copy_data()
166 syslog(LOG_ERR, "daemon() failed; error: %s", strerror(errno)); in main()
177 errno, strerror(errno)); in main()
185 syslog(LOG_ERR, "Registration failed: %s", strerror(errno)); in main()
198 syslog(LOG_ERR, "pread failed: %s", strerror(errno)); in main()
235 syslog(LOG_ERR, "pwrite failed: %s", strerror(errno)); in main()
/Linux-v5.4/tools/testing/selftests/membarrier/
Dmembarrier_test_impl.h30 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_cmd_fail()
31 errno, strerror(errno)); in test_membarrier_cmd_fail()
53 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_flags_fail()
54 errno, strerror(errno)); in test_membarrier_flags_fail()
92 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_fail()
93 errno, strerror(errno)); in test_membarrier_private_expedited_fail()
149 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_sync_core_fail()
150 errno, strerror(errno)); in test_membarrier_private_expedited_sync_core_fail()
/Linux-v5.4/tools/testing/selftests/uevent/
Duevent_filtering.c96 fprintf(stderr, "%s - Failed to open uevent socket\n", strerror(errno)); in uevent_listener()
103 fprintf(stderr, "%s - Failed to set socket options\n", strerror(errno)); in uevent_listener()
113 fprintf(stderr, "%s - Failed to bind socket\n", strerror(errno)); in uevent_listener()
119 fprintf(stderr, "%s - Failed to retrieve socket name\n", strerror(errno)); in uevent_listener()
133 strerror(errno)); in uevent_listener()
143 strerror(errno)); in uevent_listener()
161 fprintf(stderr, "%s - Failed to receive uevent\n", strerror(errno)); in uevent_listener()
256 fprintf(stderr, "%s- Failed to block SIGCHLD\n", strerror(errno)); in do_test()
262 fprintf(stderr, "%s - Failed to fork() new process\n", strerror(errno)); in do_test()
279 strerror(errno)); in do_test()
[all …]
/Linux-v5.4/samples/mic/mpssd/
Dmpssd.c166 mic->name, strerror(errno)); in tap_configure()
172 mic->name, strerror(errno)); in tap_configure()
179 mic->name, strerror(errno)); in tap_configure()
198 mic->name, strerror(errno)); in tap_configure()
204 mic->name, strerror(errno)); in tap_configure()
211 mic->name, strerror(errno)); in tap_configure()
228 mpsslog("Could not open /dev/net/tun %s\n", strerror(errno)); in tun_alloc()
241 mic->name, __func__, __LINE__, strerror(errno)); in tun_alloc()
251 mic->name, __func__, __LINE__, strerror(errno)); in tun_alloc()
399 strerror(errno), ret); in mic_virtio_copy()
[all …]
Dsysfs.c32 filename, strerror(errno)); in readsysfs()
39 filename, strerror(errno)); in readsysfs()
75 filename, strerror(errno)); in setsysfs()
83 filename, strerror(errno)); in setsysfs()
/Linux-v5.4/arch/arm/vdso/
Dvdsomunge.c140 fail("Cannot open %s: %s\n", infile, strerror(errno)); in main()
143 fail("Failed stat for %s: %s\n", infile, strerror(errno)); in main()
147 fail("Failed to map %s: %s\n", infile, strerror(errno)); in main()
181 fail("Cannot open %s: %s\n", outfile, strerror(errno)); in main()
184 fail("Cannot truncate %s: %s\n", outfile, strerror(errno)); in main()
189 fail("Failed to map %s: %s\n", outfile, strerror(errno)); in main()
204 fail("Failed to sync %s: %s\n", outfile, strerror(errno)); in main()
/Linux-v5.4/tools/testing/selftests/sigaltstack/
Dsas.c62 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in my_usr1()
123 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main()
129 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main()
159 strerror(errno)); in main()
167 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main()
179 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main()
/Linux-v5.4/tools/bpf/bpftool/
Dcommon.c89 target, strerror(errno)); in mnt_fs()
96 target, target, strerror(errno)); in mnt_fs()
105 type, type, target, strerror(errno)); in mnt_fs()
136 strerror(errno)); in open_obj_pinned()
209 p_err("can't pin the object (%s): %s", name, strerror(errno)); in do_pin_fd()
244 p_err("can't open object by id (%u): %s", id, strerror(errno)); in do_pin_any()
278 p_err("can't read link type: %s", strerror(errno)); in get_fd_type()
450 p_err("Can't get # of possible cpus: %s", strerror(-cpus)); in get_possible_cpus()
464 p_err("Can't stat /proc/self: %s", strerror(errno)); in ifindex_to_name_ns()
482 p_err("Can't open %s: %s", path, strerror(errno)); in read_sysfs_hex_int()
[all …]
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Dtimestamping.c68 printf("%s: %s\n", error, strerror(errno)); in bail()
127 printf("%s: %s\n", "send", strerror(errno)); in sendpacket()
204 strerror(err->ee_errno), in printpacket()
243 printf(" %s: %s\n", "SIOCGSTAMP", strerror(errno)); in printpacket()
251 printf(" %s: %s\n", "SIOCGSTAMPNS", strerror(errno)); in printpacket()
287 strerror(errno)); in recvpacket()
429 printf("%s: %s\n", "setsockopt IP_PKTINFO", strerror(errno)); in main()
434 printf("%s: %s\n", "getsockopt SO_TIMESTAMP", strerror(errno)); in main()
440 strerror(errno)); in main()
446 strerror(errno)); in main()
[all …]

1234567