Home
last modified time | relevance | path

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

123456

/Linux-v4.19/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-v4.19/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c41 strerror(errno)); in child()
47 strerror(errno)); in child()
52 ksft_print_msg("raise(SIGSTOP) failed: %s\n", strerror(errno)); in child()
66 ksft_print_msg("fork() failed: %s\n", strerror(errno)); in run_test()
74 ksft_print_msg("waitpid() failed: %s\n", strerror(errno)); in run_test()
78 ksft_print_msg("child did not stop: %s\n", strerror(errno)); in run_test()
83 strerror(errno)); in run_test()
91 strerror(errno)); in run_test()
94 strerror(errno)); in run_test()
100 ksft_print_msg("waitpid() failed: $s\n", strerror(errno)); in run_test()
[all …]
Dbreakpoint_test_arm64.c49 strerror(errno)); in child()
55 "raise(SIGSTOP) failed: %s\n", strerror(errno)); in child()
62 strerror(errno)); in child()
113 strerror(errno)); in set_watchpoint()
117 strerror(errno)); in set_watchpoint()
130 "fork() failed: %s\n", strerror(errno)); in run_test()
139 "waitpid() failed: %s\n", strerror(errno)); in run_test()
144 "child did not stop: %s\n", strerror(errno)); in run_test()
158 strerror(errno)); in run_test()
166 "waitpid() failed: %s\n", strerror(errno)); in run_test()
[all …]
/Linux-v4.19/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-v4.19/tools/perf/arch/x86/tests/
Dbp-modify.c83 strerror(errno)); in bp_modify1()
90 strerror(errno)); in bp_modify1()
96 pr_debug("failed to set dr7: %s\n", strerror(errno)); in bp_modify1()
101 pr_debug("failed to PTRACE_CONT: %s\n", strerror(errno)); in bp_modify1()
115 strerror(errno)); in bp_modify1()
123 pr_debug("failed to PTRACE_DETACH: %s", strerror(errno)); in bp_modify1()
160 strerror(errno)); in bp_modify2()
166 pr_debug("failed to set dr7: %s\n", strerror(errno)); in bp_modify2()
177 pr_debug("failed to PTRACE_CONT: %s\n", strerror(errno)); in bp_modify2()
191 strerror(errno)); in bp_modify2()
[all …]
/Linux-v4.19/samples/bpf/
Dfds_example.c78 printf("bpf: map fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_map()
82 printf("bpf: pin ret:(%d,%s)\n", ret, strerror(errno)); in bpf_do_map()
86 printf("bpf: get fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_map()
93 ret, strerror(errno)); in bpf_do_map()
98 ret, strerror(errno)); in bpf_do_map()
111 printf("bpf: prog fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_prog()
115 printf("bpf: pin ret:(%d,%s)\n", ret, strerror(errno)); in bpf_do_prog()
119 printf("bpf: get fd:%d (%s)\n", fd, strerror(errno)); in bpf_do_prog()
128 ret, strerror(errno)); in bpf_do_prog()
Dtest_cgrp2_array_pin.c65 cg2, strerror(errno), errno); in main()
76 strerror(errno), errno); in main()
83 pinned_file, strerror(errno), errno); in main()
98 pinned_file, strerror(errno), errno); in main()
Dtest_cgrp2_attach.c96 printf("Failed to create map: '%s'\n", strerror(errno)); in attach_filter()
104 printf("Failed to load prog: '%s'\n", strerror(errno)); in attach_filter()
111 strerror(errno)); in attach_filter()
160 printf("Failed to open cgroup path: '%s'\n", strerror(errno)); in main()
167 strerror(errno), errno); in main()
Dxdp_router_ipv4_user.c314 printf("open netlink socket: %s\n", strerror(errno)); in get_route_table()
320 printf("bind to netlink: %s\n", strerror(errno)); in get_route_table()
340 printf("send to netlink: %s\n", strerror(errno)); in get_route_table()
347 printf("recv from netlink: %s\n", strerror(nll)); in get_route_table()
451 printf("open netlink socket: %s\n", strerror(errno)); in get_arp_table()
457 printf("bind to netlink: %s\n", strerror(errno)); in get_arp_table()
476 printf("send to netlink: %s\n", strerror(errno)); in get_arp_table()
483 printf("recv from netlink: %s\n", strerror(nll)); in get_arp_table()
513 printf("open netlink socket: %s\n", strerror(errno)); in monitor_route()
522 printf("bind to netlink: %s\n", strerror(errno)); in monitor_route()
[all …]
/Linux-v4.19/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-v4.19/tools/hv/
Dhv_vss_daemon.c92 buffer, errno, strerror(errno)); in is_dev_loop()
100 buffer, errno, strerror(errno)); in is_dev_loop()
153 ent->mnt_fsname, errno, strerror(errno)); in vss_operate()
192 errdir, save_errno, strerror(save_errno)); in vss_operate()
195 strerror(save_errno)); in vss_operate()
247 errno, strerror(errno)); in main()
258 errno, strerror(errno)); in main()
270 syslog(LOG_ERR, "poll failed; error:%d %s", errno, strerror(errno)); in main()
295 errno, strerror(errno)); in main()
328 strerror(errno)); in main()
Dhv_fcopy_daemon.c86 syslog(LOG_INFO, "Open Failed: %s", strerror(errno)); in hv_start_fcopy()
114 filesize, (long)bytes_written, strerror(errno)); in hv_copy_data()
175 syslog(LOG_ERR, "daemon() failed; error: %s", strerror(errno)); in main()
186 errno, strerror(errno)); in main()
194 syslog(LOG_ERR, "Registration failed: %s", strerror(errno)); in main()
207 syslog(LOG_ERR, "pread failed: %s", strerror(errno)); in main()
244 syslog(LOG_ERR, "pwrite failed: %s", strerror(errno)); in main()
/Linux-v4.19/tools/testing/selftests/membarrier/
Dmembarrier_test.c29 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_cmd_fail()
30 errno, strerror(errno)); in test_membarrier_cmd_fail()
52 test_name, flags, EINVAL, strerror(EINVAL), in test_membarrier_flags_fail()
53 errno, strerror(errno)); in test_membarrier_flags_fail()
91 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_fail()
92 errno, strerror(errno)); in test_membarrier_private_expedited_fail()
148 test_name, flags, EPERM, strerror(EPERM), in test_membarrier_private_expedited_sync_core_fail()
149 errno, strerror(errno)); in test_membarrier_private_expedited_sync_core_fail()
/Linux-v4.19/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-v4.19/samples/mic/mpssd/
Dmpssd.c177 mic->name, strerror(errno)); in tap_configure()
183 mic->name, strerror(errno)); in tap_configure()
190 mic->name, strerror(errno)); in tap_configure()
209 mic->name, strerror(errno)); in tap_configure()
215 mic->name, strerror(errno)); in tap_configure()
222 mic->name, strerror(errno)); in tap_configure()
239 mpsslog("Could not open /dev/net/tun %s\n", strerror(errno)); in tun_alloc()
252 mic->name, __func__, __LINE__, strerror(errno)); in tun_alloc()
262 mic->name, __func__, __LINE__, strerror(errno)); in tun_alloc()
410 strerror(errno), ret); in mic_virtio_copy()
[all …]
Dsysfs.c43 filename, strerror(errno)); in readsysfs()
50 filename, strerror(errno)); in readsysfs()
86 filename, strerror(errno)); in setsysfs()
94 filename, strerror(errno)); in setsysfs()
/Linux-v4.19/arch/arm/vdso/
Dvdsomunge.c153 fail("Cannot open %s: %s\n", infile, strerror(errno)); in main()
156 fail("Failed stat for %s: %s\n", infile, strerror(errno)); in main()
160 fail("Failed to map %s: %s\n", infile, strerror(errno)); in main()
194 fail("Cannot open %s: %s\n", outfile, strerror(errno)); in main()
197 fail("Cannot truncate %s: %s\n", outfile, strerror(errno)); in main()
202 fail("Failed to map %s: %s\n", outfile, strerror(errno)); in main()
217 fail("Failed to sync %s: %s\n", outfile, strerror(errno)); in main()
/Linux-v4.19/tools/bpf/bpftool/
Dcommon.c110 target, strerror(errno)); in mnt_bpffs()
117 target, target, strerror(errno)); in mnt_bpffs()
126 target, strerror(errno)); in mnt_bpffs()
142 strerror(errno)); in open_obj_pinned()
188 p_err("can't pin the object (%s): %s", name, strerror(errno)); in do_pin_fd()
198 strerror(errno)); in do_pin_fd()
241 p_err("can't get prog by id (%u): %s", id, strerror(errno)); in do_pin_any()
275 p_err("can't read link type: %s", strerror(errno)); in get_fd_type()
303 p_err("can't open fdinfo: %s", strerror(errno)); in get_fdinfo()
509 p_err("Can't stat /proc/self: %s", strerror(errno)); in ifindex_to_name_ns()
[all …]
/Linux-v4.19/tools/testing/selftests/sigaltstack/
Dsas.c62 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in my_usr1()
122 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main()
128 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main()
158 strerror(errno)); in main()
166 ksft_exit_fail_msg("mmap() - %s\n", strerror(errno)); in main()
178 ksft_exit_fail_msg("sigaltstack() - %s\n", strerror(errno)); in main()
/Linux-v4.19/tools/testing/selftests/networking/timestamping/
Dtimestamping.c87 printf("%s: %s\n", error, strerror(errno)); in bail()
146 printf("%s: %s\n", "send", strerror(errno)); in sendpacket()
223 strerror(err->ee_errno), in printpacket()
262 printf(" %s: %s\n", "SIOCGSTAMP", strerror(errno)); in printpacket()
270 printf(" %s: %s\n", "SIOCGSTAMPNS", strerror(errno)); in printpacket()
306 strerror(errno)); in recvpacket()
448 printf("%s: %s\n", "setsockopt IP_PKTINFO", strerror(errno)); in main()
453 printf("%s: %s\n", "getsockopt SO_TIMESTAMP", strerror(errno)); in main()
459 strerror(errno)); in main()
465 strerror(errno)); in main()
[all …]
/Linux-v4.19/arch/mips/vdso/
Dgenvdso.c122 path, strerror(errno)); in map_vdso()
128 path, strerror(errno)); in map_vdso()
136 path, strerror(errno)); in map_vdso()
239 dbg_vdso_path, strerror(errno)); in main()
243 vdso_path, strerror(errno)); in main()
250 out_path, strerror(errno)); in main()
/Linux-v4.19/tools/testing/selftests/watchdog/
Dwatchdog-test.c106 printf("WDIOC_GETBOOTSTATUS errno '%s'\n", strerror(errno)); in main()
114 printf("WDIOS_DISABLECARD errno '%s'\n", strerror(errno)); in main()
122 printf("WDIOS_ENABLECARD errno '%s'\n", strerror(errno)); in main()
136 printf("WDIOC_SETTIMEOUT errno '%s'\n", strerror(errno)); in main()
/Linux-v4.19/tools/testing/selftests/media_tests/
Dvideo_device_test.c75 printf("Video Device open errno %s\n", strerror(errno)); in main()
88 printf("VIDIOC_QUERYCAP errno %s\n", strerror(errno)); in main()
94 printf("VIDIOC_G_TUNER, errno %s\n", strerror(errno)); in main()
/Linux-v4.19/arch/mips/boot/tools/
Drelocs.c208 die("Cannot read ELF header: %s\n", strerror(errno)); in read_ehdr()
270 die("Seek to %d failed: %s\n", ehdr.e_shoff, strerror(errno)); in read_shdrs()
278 i, ehdr.e_shnum, strerror(errno)); in read_shdrs()
311 sec->shdr.sh_offset, strerror(errno)); in read_strtabs()
315 die("Cannot read symbol table: %s\n", strerror(errno)); in read_strtabs()
335 sec->shdr.sh_offset, strerror(errno)); in read_symtabs()
339 die("Cannot read symbol table: %s\n", strerror(errno)); in read_symtabs()
379 sec->shdr.sh_offset, strerror(errno)); in read_relocs()
383 die("Cannot read symbol table: %s\n", strerror(errno)); in read_relocs()
420 sec->shdr_offset, strerror(errno)); in remove_relocs()
[all …]
/Linux-v4.19/arch/um/os-Linux/
Dmem.c30 os_info("%s\n", strerror(errno)); in check_tmpfs()
104 strerror(errno)); in make_tempfile()
129 strerror(errno)); in make_tempfile()
200 os_warn("%s\n", strerror(err)); in check_tmpexec()

123456