Home
last modified time | relevance | path

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

1234567891011

/tools/testing/selftests/capabilities/
A Dtest_execve.c46 filename, strerror(errno)); in vmaybe_write_file()
59 filename, strerror(errno)); in vmaybe_write_file()
95 strerror(errno)); in create_and_enter_ns()
125 strerror(errno)); in create_and_enter_ns()
138 strerror(errno)); in chdir_to_tmpfs()
142 strerror(errno)); in chdir_to_tmpfs()
321 strerror(errno)); in do_tests()
331 strerror(errno)); in do_tests()
359 strerror(errno)); in do_tests()
393 strerror(errno)); in do_tests()
[all …]
/tools/testing/selftests/mount/
A Dnosymfollow-test.c50 die("vsnprintf failed: %s\n", strerror(errno)); in vmaybe_write_file()
68 filename, strerror(errno)); in vmaybe_write_file()
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()
121 die("creat failed: %s\n", strerror(errno)); in setup_symlink()
125 die("symlink failed: %s\n", strerror(errno)); in setup_symlink()
139 link, strerror(errno)); in test_link_traversal()
159 die("readlink failed: %s\n", strerror(errno)); in test_readlink()
183 die("statfs failed: %s\n", strerror(errno)); in test_statfs()
207 die("mount failed: %s\n", strerror(errno)); in main()
[all …]
A Dunprivileged-remount-test.c67 strerror(errno)); in vmaybe_write_file()
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()
213 strerror(errno)); in test_unpriv_remount()
227 strerror(errno)); in test_unpriv_remount()
268 strerror(errno)); in test_priv_mount_unpriv_remount()
276 strerror(errno)); in test_priv_mount_unpriv_remount()
[all …]
/tools/testing/selftests/breakpoints/
A Dstep_after_suspend_test.c32 strerror(errno)); in child()
38 strerror(errno)); in child()
57 ksft_print_msg("fork() failed: %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()
97 strerror(errno)); in run_test()
106 strerror(errno)); in run_test()
112 strerror(errno)); in run_test()
123 strerror(errno)); in run_test()
[all …]
A Dbreakpoint_test_arm64.c40 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()
176 strerror(errno)); in run_test()
[all …]
/tools/testing/selftests/mm/
A Dmrelease_test.c30 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()
56 ksft_exit_fail_msg("process_mrelease with wrong flags: %s\n", strerror(errno)); in run_negative_tests()
96 strerror(errno)); 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()
[all …]
A Dmlock2-tests.c184 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()
354 ksft_exit_fail_msg("mmap error: %s", strerror(errno)); in test_vma_management()
380 ksft_test_result_fail("munlock(): %s", strerror(errno)); in test_vma_management()
[all …]
A Dcompaction_test.c36 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()
106 strerror(errno)); in check_compaction()
122 nr_hugepages_ul, strerror(errno)); in check_compaction()
130 strerror(errno)); in check_compaction()
148 strerror(errno)); in check_compaction()
178 strerror(errno)); in set_zero_hugepages()
183 strerror(errno)); in set_zero_hugepages()
[all …]
A Dhugepage-mremap.c71 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()
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()
A Dgup_longterm.c109 strerror(errno)); in do_test()
139 ksft_print_msg("mmap() failed (%s)\n", strerror(errno)); in do_test()
209 strerror(errno)); in do_test()
216 strerror(errno)); in do_test()
247 strerror(-ret)); in do_test()
263 strerror(errno)); in do_test()
274 strerror(-ret)); in do_test()
328 ksft_print_msg("tmpfile() failed (%s)\n", strerror(errno)); in run_with_tmpfile()
333 ksft_print_msg("fileno() failed (%s)\n", strerror(errno)); in run_with_tmpfile()
352 ksft_print_msg("mkstemp() failed (%s)\n", strerror(errno)); in run_with_local_tmpfile()
[all …]
A Dpagemap_ioctl.c157 ksft_exit_fail_msg("error %d %d %s\n", 1, errno, strerror(errno)); in wp_addr_range()
327 ksft_exit_fail_msg("error %ld %d %s\n", ret, errno, strerror(errno)); in sanity_tests_sd()
337 ksft_exit_fail_msg("error %ld %d %s\n", ret, errno, strerror(errno)); in sanity_tests_sd()
1168 ksft_exit_fail_msg("error nomem %d %s\n", errno, strerror(errno)); in sanity_tests()
1190 strerror(errno)); in sanity_tests()
1198 ksft_exit_fail_msg("error nomem %d %s\n", errno, strerror(errno)); in sanity_tests()
1408 ksft_exit_fail_msg("Error mmap %s.\n", strerror(errno)); in transact_test()
1661 strerror(errno)); in main()
1673 ksft_exit_fail_msg("error nomem %d %s\n", errno, strerror(errno)); in main()
1690 strerror(errno)); in main()
[all …]
/tools/perf/arch/x86/tests/
A 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 …]
/tools/testing/selftests/filesystems/binderfs/
A Dbinderfs_test.c46 strerror(errno)); in change_mountns()
52 strerror(errno)); in change_mountns()
74 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()
304 strerror(errno)); in change_userns()
[all …]
/tools/testing/selftests/pidfd/
A Dpidfd_poll_test.c58 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()
/tools/testing/selftests/media_tests/
A Dvideo_device_test.c52 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()
/tools/testing/selftests/filesystems/statmount/
A Dstatmount_test.c137 strerror(errno)); in setup_namespace()
148 strerror(errno)); in setup_namespace()
153 strerror(errno)); in setup_namespace()
165 strerror(errno)); in setup_namespace()
194 strerror(errno)); in setup_mount_tree()
243 strerror(errno)); in test_statmount_zero_mask()
269 strerror(errno)); in test_statmount_mnt_basic()
329 strerror(errno)); in test_statmount_sb_basic()
345 strerror(errno)); in test_statmount_sb_basic()
360 strerror(errno)); in test_statmount_sb_basic()
[all …]
A Dstatmount_test_ns.c68 mnt_ns, strerror(errno)); in get_mnt_ns_id()
75 mnt_ns, strerror(errno)); in get_mnt_ns_id()
107 ksft_print_msg("statmount mnt ns id: %s\n", strerror(errno)); in _test_statmount_mnt_ns_id()
138 ksft_exit_fail_msg("failed to fork: %s\n", strerror(errno)); in test_statmount_mnt_ns_id()
168 ksft_print_msg("listmount: %s\n", strerror(errno)); in validate_external_listmount()
185 ksft_print_msg("statmount mnt ns id: %s\n", strerror(errno)); in validate_external_listmount()
216 strerror(errno)); in test_listmount_ns()
219 strerror(errno)); in test_listmount_ns()
223 ksft_exit_fail_msg("failed to fork: %s\n", strerror(errno)); in test_listmount_ns()
238 ksft_print_msg("listmount: %s\n", strerror(errno)); in test_listmount_ns()
/tools/testing/selftests/bpf/
A Dxdp_synproxy.c39 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()
202 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()
299 strerror(-err)); in syncookie_open_bpf_maps()
325 strerror(-err)); in syncookie_open_bpf_maps()
[all …]
/tools/testing/selftests/bpf/map_tests/
A Dmap_in_map_batch_ops.c23 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()
136 "error=%s\n", strerror(errno)); in fetch_and_validate()
164 "error: %s\n", strerror(errno)); in fetch_and_validate()
203 "error=%s\n", strerror(errno)); in _map_in_map_batch_ops()
[all …]
A Dmap_percpu_stats.c81 "error: %s\n", strerror(errno)); in delete_and_lookup_batch()
98 CHECK(!keys, "calloc", "error: %s\n", strerror(errno)); in delete_all_elements()
117 "error: key %u: %s\n", i, strerror(errno)); in delete_all_elements()
121 "error: key %u: %s\n", i, strerror(errno)); in delete_all_elements()
154 strerror(errno), "small"); in create_small_hash()
207 CHECK(ret != 0, "pthread_create", "error: %s\n", strerror(ret)); in upsert_elements()
212 CHECK(ret != 0, "pthread_join", "error: %s\n", strerror(ret)); in upsert_elements()
223 CHECK(n <= 0, "read", "error: %s\n", strerror(errno)); in read_cur_elements()
228 CHECK(errno != 0, "strtol", "error: %s\n", strerror(errno)); in read_cur_elements()
351 strerror(errno), name); in map_create_opts()
[all …]
A Dhtab_map_batch_ops.c38 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()
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()
232 "error: %s\n", strerror(errno)); in __test_map_lookup_and_delete_batch()
[all …]
/tools/testing/selftests/watchdog/
A Dwatchdog-test.c198 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 …]
/tools/testing/selftests/arm64/fp/
A Dkernel-test.c83 strerror(errno), errno); in create_socket()
169 addr.salg_name, strerror(errno), errno); in create_socket()
176 addr.salg_name, strerror(errno), errno); in create_socket()
185 strerror(errno), errno); in create_socket()
214 strerror(errno), errno); in compute_digest()
222 strerror(errno), errno); in compute_digest()
241 strerror(errno), errno); in compute_digest()
265 strerror(errno), errno); in main()
271 strerror(errno), errno); in main()
275 strerror(errno), errno); in main()
[all …]
/tools/testing/selftests/firmware/
A Dfw_namespace.c42 strerror(errno)); in trigger_fw()
56 strerror(errno)); in setup_fw()
59 strerror(errno)); in setup_fw()
74 strerror(errno)); in test_fw_in_ns()
83 strerror(errno)); in test_fw_in_ns()
99 strerror(errno)); in test_fw_in_ns()
/tools/testing/selftests/arm64/gcs/
A Dgcs-stress.c67 strerror(errno), errno); in start_thread()
72 strerror(errno), errno); in start_thread()
110 strerror(errno), errno); in start_thread()
118 errno, strerror(errno)); in start_thread()
339 strerror(errno), errno); in drain_output()
406 strerror(errno), ret); in main()
413 strerror(errno), errno); in main()
423 strerror(errno), errno); in main()
427 strerror(errno), errno); in main()
432 strerror(errno), errno); in main()
[all …]

Completed in 34 milliseconds

1234567891011