Home
last modified time | relevance | path

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

12345678910>>...78

/openbmc/linux/tools/testing/selftests/capabilities/
H 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 …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H 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 …]
/openbmc/u-boot/arch/sandbox/cpu/
H A Deth-raw-os.c46 return -errno; in sandbox_eth_raw_os_is_local()
51 ret = -errno; in sandbox_eth_raw_os_is_local()
63 return -errno; in sandbox_eth_raw_os_idx_to_name()
93 return -errno; in _raw_packet_start()
100 errno, strerror(errno)); in _raw_packet_start()
101 return -errno; in _raw_packet_start()
118 errno, strerror(errno)); in _raw_packet_start()
128 return -errno; in _raw_packet_start()
168 return -errno; in _local_inet_start()
181 return -errno; in _local_inet_start()
[all …]
/openbmc/linux/tools/testing/selftests/landlock/
H 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 …]
/openbmc/linux/tools/testing/selftests/membarrier/
H 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 …]
/openbmc/linux/tools/iio/
H 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 …]
/openbmc/linux/tools/testing/selftests/futex/functional/
H 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 …]
/openbmc/linux/tools/testing/selftests/mincore/
H 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()
153 if (errno == ENOMEM || errno == EINVAL) in TEST()
208 errno = 0; in TEST()
217 errno = 0; in TEST()
[all …]
/openbmc/linux/arch/um/os-Linux/
H 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 …]
H 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 …]
/openbmc/linux/tools/testing/selftests/mount/
H 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 …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/ez-ipupdate/files/
H A Dcache_file.c.patch3 Dont assume errno type
11 -extern int errno;
12 +# include <errno.h>
13 # define error_string strerror(errno)
16 -extern int errno;
17 +# include <errno.h>
25 -extern int errno;
26 +# include <errno.h>
27 # define error_string strerror(errno)
30 -extern int errno;
[all …]
/openbmc/linux/fs/hostfs/
H A Dhostfs_user.c48 return -errno; in stat_file()
50 return -errno; in stat_file()
67 return -errno; in access_file()
87 return -errno; in open_file()
96 *err_out = errno; in open_dir()
131 return -errno; in read_file()
142 return -errno; in write_file()
153 return -errno; in lseek_file()
166 return -errno; in fsync_file()
191 return -errno; in file_create()
[all …]
/openbmc/linux/tools/testing/selftests/filesystems/binderfs/
H 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 …]
/openbmc/linux/drivers/media/usb/as102/
H 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 …]
/openbmc/linux/tools/testing/selftests/bpf/
H 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()
1285 errno); in test_map_in_map()
1409 if (!attempts || (errno != EAGAIN && errno != EBUSY)) in map_update_retriable()
1410 return -errno; in map_update_retriable()
1427 if (!attempts || (errno != EAGAIN && errno != EBUSY)) in map_delete_retriable()
1428 return -errno; in map_delete_retriable()
[all …]
/openbmc/linux/tools/testing/selftests/breakpoints/
H 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 …]
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H 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 …]
/openbmc/linux/tools/testing/selftests/exec/
H 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()
/openbmc/linux/tools/hv/
H 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 …]
/openbmc/phosphor-debug-collector/
H A Ddump_offload.cpp59 "ERRNO", errno); in writeOnUnixSocket()
68 if (errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR) in writeOnUnixSocket()
74 "ERRNO", errno); in writeOnUnixSocket()
76 std::string(strerror(errno)); in writeOnUnixSocket()
102 std::string(strerror(errno)); in socketInit()
110 errno); in socketInit()
125 errno); in socketInit()
159 "ERRNO", errno, "DUMP_ID", dumpId); in requestOffload()
170 "ERRNO", errno, "DUMP_ID", dumpId); in requestOffload()
211 auto err = errno; in requestOffload()
[all …]
/openbmc/linux/tools/testing/selftests/tmpfs/
H 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()
/openbmc/linux/tools/testing/selftests/arm64/fp/
H 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 …]
/openbmc/linux/tools/testing/selftests/
H A Dkselftest.h150 int saved_errno = errno; in ksft_print_msg()
155 errno = saved_errno; in ksft_print_msg()
163 ksft_print_msg("%s: %s (%d)\n", msg, strerror(errno), errno); in ksft_perror()
175 int saved_errno = errno; in ksft_test_result_pass()
182 errno = saved_errno; in ksft_test_result_pass()
196 errno = saved_errno; in ksft_test_result_fail()
222 errno = saved_errno; in ksft_test_result_xfail()
236 errno = saved_errno; in ksft_test_result_skip()
251 errno = saved_errno; in ksft_test_result_error()
296 errno = saved_errno; in ksft_exit_fail_msg()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H 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 …]

12345678910>>...78