Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 25 of 1114) sorted by relevance

12345678910>>...45

/linux-6.3-rc2/tools/testing/selftests/capabilities/
A Dtest_execve.c54 filename, strerror(errno)); in vmaybe_write_file()
107 strerror(errno)); in create_and_enter_ns()
134 strerror(errno)); in create_and_enter_ns()
147 strerror(errno)); in chdir_to_tmpfs()
151 strerror(errno)); in chdir_to_tmpfs()
286 if (errno == EINVAL) in do_tests()
327 strerror(errno)); in do_tests()
337 strerror(errno)); in do_tests()
365 strerror(errno)); in do_tests()
399 strerror(errno)); in do_tests()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dpinning.c23 CHECK(err, "get map info", "err %d errno %d", err, errno); in get_map_id()
72 if (CHECK(!err || errno != ENOENT, "stat nopinpath", in test_pinning()
73 "err %d errno %d\n", err, errno)) in test_pinning()
78 if (CHECK(!err || errno != ENOENT, "stat nopinpath2", in test_pinning()
79 "err %d errno %d\n", err, errno)) in test_pinning()
110 if (CHECK(err, "re-pin map", "err %d errno %d\n", err, errno)) in test_pinning()
120 if (CHECK(err, "unpin maps", "err %d errno %d\n", err, errno)) in test_pinning()
125 if (CHECK(err, "pin maps", "err %d errno %d\n", err, errno)) in test_pinning()
148 if (CHECK(err, "pin maps", "err %d errno %d\n", err, errno)) in test_pinning()
198 if (CHECK(!err || errno != ENOENT, "stat nopinpath2", in test_pinning()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/
A DDENYLIST.aarch6416 cgroup_hierarchical_stats # attach unexpected error: -524 (errno 524)
18 deny_namespace # attach unexpected error: -524 (errno 524)
19 fentry_fexit # fentry_attach unexpected error: -1 (errno 524)
20 fentry_test # fentry_attach unexpected error: -1 (errno 524)
23 fexit_test # fexit_attach unexpected error: -1 (errno 524)
50 recursion # skel_attach unexpected error: -524 (errno 524)
57 task_local_storage/exit_creds # skel_attach unexpected error: -524 (errno 524)
58 task_local_storage/recursion # skel_attach unexpected error: -524 (errno 524)
64 timer # timer unexpected error: -524 (errno 524)
66 timer_mim # timer_mim unexpected error: -524 (errno 524)
[all …]
A Dtest_maps.c57 errno == EEXIST); in test_hashmap()
61 errno == EINVAL); in test_hashmap()
80 errno == ENOENT); in test_hashmap()
90 errno == E2BIG); in test_hashmap()
99 errno == E2BIG); in test_hashmap()
1281 errno); in test_map_in_map()
1405 if (!attempts || (errno != EAGAIN && errno != EBUSY)) in map_update_retriable()
1406 return -errno; in map_update_retriable()
1423 if (!attempts || (errno != EAGAIN && errno != EBUSY)) in map_delete_retriable()
1424 return -errno; in map_delete_retriable()
[all …]
/linux-6.3-rc2/tools/testing/selftests/landlock/
A Dbase_test.c35 ASSERT_EQ(EINVAL, errno); in TEST()
37 ASSERT_EQ(EINVAL, errno); in TEST()
39 ASSERT_EQ(EINVAL, errno); in TEST()
43 ASSERT_EQ(EFAULT, errno); in TEST()
47 ASSERT_EQ(EFAULT, errno); in TEST()
50 ASSERT_EQ(E2BIG, errno); in TEST()
54 ASSERT_EQ(ENOMSG, errno); in TEST()
58 ASSERT_EQ(ENOMSG, errno); in TEST()
60 ASSERT_EQ(ENOMSG, errno); in TEST()
65 ASSERT_EQ(E2BIG, errno); in TEST()
[all …]
/linux-6.3-rc2/tools/iio/
A Diio_utils.c265 ret = errno ? -errno : -ENODATA; in iioutils_get_param_float()
357 ret = errno ? -errno : -ENODATA; in build_channel_array()
405 ret = errno ? -errno : -ENODATA; in build_channel_array()
461 ret = errno ? -errno : -ENODATA; in build_channel_array()
622 ret = errno ? -errno : -ENODATA; in find_type_by_name()
696 ret = errno ? -errno : -ENODATA; in _write_sysfs_int()
794 ret = errno ? -errno : -ENODATA; in _write_sysfs_string()
878 errno = 0; in read_sysfs_posint()
880 ret = errno ? -errno : -ENODATA; in read_sysfs_posint()
927 ret = errno ? -errno : -ENODATA; in read_sysfs_float()
[all …]
/linux-6.3-rc2/tools/testing/selftests/membarrier/
A Dmembarrier_test_impl.h31 test_name, flags, errno); in test_membarrier_get_registrations()
54 if (errno != EINVAL) { in test_membarrier_cmd_fail()
58 errno, strerror(errno)); in test_membarrier_cmd_fail()
77 if (errno != EINVAL) { in test_membarrier_flags_fail()
81 errno, strerror(errno)); in test_membarrier_flags_fail()
86 test_name, flags, errno); in test_membarrier_flags_fail()
116 if (errno != EPERM) { in test_membarrier_private_expedited_fail()
120 errno, strerror(errno)); in test_membarrier_private_expedited_fail()
175 if (errno != EPERM) { in test_membarrier_private_expedited_sync_core_fail()
179 errno, strerror(errno)); in test_membarrier_private_expedited_sync_core_fail()
[all …]
/linux-6.3-rc2/tools/testing/selftests/futex/functional/
A Dfutex_waitv.c44 error("gettime64 failed\n", errno); in waiterfn()
51 errno, strerror(errno)); in waiterfn()
105 res ? errno : res, in main()
106 res ? strerror(errno) : ""); in main()
138 res ? errno : res, in main()
152 error("gettime64 failed\n", errno); in main()
159 res ? errno : res, in main()
178 res ? errno : res, in main()
196 res ? errno : res, in main()
212 res ? errno : res, in main()
[all …]
/linux-6.3-rc2/arch/um/os-Linux/
A Dfile.c50 return -errno; in os_stat_fd()
64 return -errno; in os_stat_file()
82 return -errno; in os_access()
94 return -errno; in os_ioctl_generic()
103 return -errno; in os_get_ifname()
114 return -errno; in os_set_slip()
118 return -errno; in os_set_slip()
129 return -errno; in os_mode_fd()
207 err = -errno; in os_open_file()
225 err = -errno; in os_connect_socket()
[all …]
A Dumid.c63 err = -errno; in make_uml_dir()
92 return -errno; in remove_files_and_dir()
108 ret = -errno; in remove_files_and_dir()
114 ret = -errno; in remove_files_and_dir()
150 fd = -errno; in is_umdir_used()
234 errno); in create_pid_file()
271 err = -errno; in make_umid()
285 err = -errno; in make_umid()
293 err = -errno; in make_umid()
303 err = -errno; in make_umid()
[all …]
/linux-6.3-rc2/tools/testing/selftests/mincore/
A Dmincore_selftest.c44 errno = 0; in TEST()
49 errno = 0; in TEST()
57 errno = 0; in TEST()
63 errno = 0; in TEST()
69 errno = 0; in TEST()
93 errno = 0; in TEST()
148 errno = 0; in TEST()
208 errno = 0; in TEST()
217 errno = 0; in TEST()
230 errno = 0; in TEST()
[all …]
/linux-6.3-rc2/tools/testing/selftests/mount/
A Dnosymfollow-test.c50 die("vsnprintf failed: %s\n", strerror(errno)); in vmaybe_write_file()
57 if ((errno == ENOENT) && enoent_ok) 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()
137 if ((link != -1 || errno != ELOOP)) { in test_link_traversal()
139 link, strerror(errno)); in test_link_traversal()
183 die("statfs failed: %s\n", strerror(errno)); in test_statfs()
[all …]
/linux-6.3-rc2/tools/testing/selftests/filesystems/binderfs/
A Dbinderfs_test.c33 int _e_ = errno; \
35 errno = _e_; \
46 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()
[all …]
/linux-6.3-rc2/fs/hostfs/
A Dhostfs_user.c47 return -errno; in stat_file()
49 return -errno; in stat_file()
66 return -errno; in access_file()
86 return -errno; in open_file()
95 *err_out = errno; in open_dir()
130 return -errno; in read_file()
141 return -errno; in write_file()
152 return -errno; in lseek_file()
165 return -errno; in fsync_file()
190 return -errno; in file_create()
[all …]
/linux-6.3-rc2/drivers/media/usb/as102/
A Das102_fw.c96 int total_read_bytes = 0, errno = 0; in as102_firmware_upload() local
128 if (errno < 0) in as102_firmware_upload()
145 if (errno < 0) in as102_firmware_upload()
152 return (errno == 0) ? total_read_bytes : errno; in as102_firmware_upload()
157 int errno = -EFAULT; in as102_fw_upload() local
175 errno = -ENOMEM; in as102_fw_upload()
181 if (errno < 0) { in as102_fw_upload()
189 if (errno < 0) { in as102_fw_upload()
205 if (errno < 0) { in as102_fw_upload()
213 if (errno < 0) { in as102_fw_upload()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/map_tests/
A Dsk_storage_map.c185 err = -errno; in insert_close_thread()
192 err = -errno; in insert_close_thread()
195 errno); in insert_close_thread()
239 err = -errno; in do_sk_storage_map_stress_free()
290 err = -errno; in update_thread()
292 err, errno); in update_thread()
314 err = -errno; in delete_thread()
316 err, errno); in delete_thread()
343 err = -errno; in do_sk_storage_map_stress_change()
358 err = -errno; in do_sk_storage_map_stress_change()
[all …]
/linux-6.3-rc2/tools/testing/selftests/breakpoints/
A Dstep_after_suspend_test.c32 strerror(errno)); in child()
38 strerror(errno)); in child()
74 strerror(errno)); in run_test()
79 if (errno == EIO) { 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 …]
/linux-6.3-rc2/tools/hv/
A Dhv_vss_daemon.c83 buffer, errno, strerror(errno)); in is_dev_loop()
89 if (errno != ENOENT) in is_dev_loop()
91 buffer, errno, strerror(errno)); in is_dev_loop()
144 ent->mnt_fsname, errno, strerror(errno)); in vss_operate()
183 save_errno = errno; in vss_operate()
253 errno); in main()
262 errno, strerror(errno)); in main()
273 errno, strerror(errno)); in main()
285 syslog(LOG_ERR, "poll failed; error:%d %s", errno, strerror(errno)); in main()
286 if (errno == EINVAL) { in main()
[all …]
/linux-6.3-rc2/tools/testing/selftests/exec/
A Drecursion-depth.c30 if (errno == ENOSYS || errno == EPERM) { in main()
31 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
34 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
38 fprintf(stderr, "error: mount '/', errno %d\n", errno); in main()
43 fprintf(stderr, "error: mount ramfs, errno %d\n", errno); in main()
51 fprintf(stderr, "error: creat, errno %d\n", errno); in main()
56 fprintf(stderr, "error: write, errno %d\n", errno); in main()
62 if (rv == -1 && errno == ELOOP) { in main()
65 fprintf(stderr, "error: execve, rv %d, errno %d\n", rv, errno); in main()
/linux-6.3-rc2/tools/testing/selftests/arm64/fp/
A Dfp-stress.c68 strerror(errno), errno); in child_start()
73 strerror(errno), errno); in child_start()
111 strerror(errno), errno); in child_start()
119 program, errno, strerror(errno)); in child_start()
397 strerror(errno), errno); in probe_vls()
423 strerror(errno), errno); in drain_output()
518 strerror(errno), errno); in main()
528 strerror(errno), errno); in main()
532 strerror(errno), errno); in main()
537 strerror(errno), errno); in main()
[all …]
A Dvec-syscfg.c91 errno, strerror(errno)); in get_child_rdvl()
100 errno, strerror(errno)); in get_child_rdvl()
121 data->rdvl_binary, errno, strerror(errno)); in get_child_rdvl()
133 errno, strerror(errno)); in get_child_rdvl()
361 errno, strerror(errno)); in prctl_set()
382 errno, strerror(errno)); in prctl_set()
424 errno, strerror(errno)); in prctl_set_no_child()
462 errno, strerror(errno)); in prctl_set_for_child()
518 errno, strerror(errno)); in prctl_set_onexec()
527 errno, strerror(errno)); in prctl_set_onexec()
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/
A Dreuseport_addr_any.c50 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd()
82 error(1, errno, "failed to set SO_REUSEPORT"); in build_rcv_fd()
93 error(1, errno, "failed to setsockopt"); in build_rcv_fd()
154 error(1, errno, "failed to setsockopt"); in connect_and_send()
157 error(1, errno, "failed to bind send socket"); in connect_and_send()
163 error(1, errno, "failed to send message"); in connect_and_send()
176 error(1, errno, "epoll_wait failed"); in receive_once()
181 error(1, errno, "failed to accept"); in receive_once()
189 error(1, errno, "failed to recv"); in receive_once()
201 error(1, errno, "failed to create epoll"); in test()
[all …]
A Dfin_ack_lat.c59 error(-1, errno, "inet_pton"); in client()
62 error(-1, errno, "connect"); in client()
76 error(-1, errno, "getsockname"); in client()
96 error(-1, errno, "accept"); in server()
99 error(-1, errno, "read"); in server()
119 error(-1, errno, "signal"); in main()
123 error(-1, errno, "socket"); in main()
127 error(-1, errno, "setsockopt"); in main()
135 error(-1, errno, "bind"); in main()
138 error(-1, errno, "listen"); in main()
[all …]
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/
A Dsev_migrate_tests.c117 errno); in test_sev_migrate_from()
176 errno); in test_sev_migrate_parameters()
191 ret, errno); in test_sev_migrate_parameters()
197 ret, errno); in test_sev_migrate_parameters()
203 ret, errno); in test_sev_migrate_parameters()
209 ret, errno); in test_sev_migrate_parameters()
305 ret, errno); in test_sev_mirror_parameters()
310 errno); in test_sev_mirror_parameters()
316 ret, errno); in test_sev_mirror_parameters()
326 ret, errno); in test_sev_mirror_parameters()
[all …]
/linux-6.3-rc2/tools/testing/selftests/tmpfs/
A Dbug-link-o-tmpfile.c31 if (errno == ENOSYS || errno == EPERM) { in main()
32 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
35 fprintf(stderr, "error: unshare, errno %d\n", errno); in main()
39 fprintf(stderr, "error: mount '/', errno %d\n", errno); in main()
45 fprintf(stderr, "error: mount tmpfs, errno %d\n", errno); in main()
51 fprintf(stderr, "error: open 1, errno %d\n", errno); in main()
55 fprintf(stderr, "error: linkat, errno %d\n", errno); in main()
62 fprintf(stderr, "error: open 2, errno %d\n", errno); in main()

Completed in 43 milliseconds

12345678910>>...45