Home
last modified time | relevance | path

Searched refs:errno (Results 226 - 250 of 14177) sorted by relevance

12345678910>>...568

/third_party/ltp/testcases/network/tcp_cmds/sendfile/
H A Dtestsf_s.c11 #include <errno.h>
52 tst_brkm(TBROK, NULL, "socket error = %d", errno); in main()
77 tst_resm(TBROK, "bind error = %d", errno); in main()
84 tst_resm(TBROK, "listen error = %d", errno); in main()
96 tst_resm(TBROK, "accept error = %d", errno); in main()
97 if (errno == EINTR) in main()
107 tst_resm(TBROK, "fork error = %d", errno); in main()
122 tst_resm(TBROK, "socket read error = %d", errno); in main()
146 tst_resm(TBROK, "file open error = %d", errno); in main()
151 errno in main()
[all...]
/third_party/node/deps/uv/src/unix/
H A Dlinux-syscalls.c27 #include <errno.h>
158 if (errno == EINVAL) in uv__sendmmsg()
159 errno = ENOSYS; in uv__sendmmsg()
165 return errno = ENOSYS, -1; in uv__sendmmsg()
184 if (errno == EINVAL) in uv__recvmmsg()
185 errno = ENOSYS; in uv__recvmmsg()
191 return errno = ENOSYS, -1; in uv__recvmmsg()
198 return errno = ENOSYS, -1; in uv__preadv()
207 return errno = ENOSYS, -1; in uv__pwritev()
216 return errno in uv__dup3()
[all...]
/kernel/liteos_m/kal/posix/src/
H A Dtime.c35 #include <errno.h>
102 errno = EINVAL; in nanosleep()
111 errno = EINVAL; in nanosleep()
125 errno = EINTR; in nanosleep()
135 errno = EINVAL; in timer_create()
140 errno = ENOTSUP; in timer_create()
151 errno = (ret == LOS_ERRNO_SWTMR_MAXSIZE) ? EAGAIN : EINVAL; in timer_create()
163 errno = EINVAL; in timer_delete()
181 errno = ENOTSUP; in timer_settime()
186 errno in timer_settime()
[all...]
H A Dsignal.c32 #include <errno.h>
69 errno = EINVAL; in signal()
75 errno = EINVAL; in signal()
84 errno = EINVAL; in sigprocmask()
95 errno = EINVAL; in sigaction()
119 errno = EINVAL; in sigwait()
141 errno = EINTR; in sigtimedwait()
143 errno = EAGAIN; in sigtimedwait()
145 errno = EINVAL; in sigtimedwait()
160 errno in pthread_kill()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/
H A Dvgic_init.c46 TEST_ASSERT(ret && errno == want, "%s; want errno = %d", msg, want); in v3_redist_reg_get_errno()
71 return __vcpu_run(vcpu) ? -errno : 0; in run_vcpu()
150 TEST_ASSERT(ret && errno == ENXIO, "attribute not supported"); in subtest_dist_rdist()
156 TEST_ASSERT(ret && errno == EINVAL, "GIC dist base not aligned"); in subtest_dist_rdist()
161 TEST_ASSERT(ret && errno == EINVAL, "GIC redist/cpu base not aligned"); in subtest_dist_rdist()
167 TEST_ASSERT(ret && errno == E2BIG, "dist address beyond IPA limit"); in subtest_dist_rdist()
171 TEST_ASSERT(ret && errno == E2BIG, "redist address beyond IPA limit"); in subtest_dist_rdist()
177 TEST_ASSERT(ret && errno == E2BIG, in subtest_dist_rdist()
189 TEST_ASSERT(ret && errno in subtest_dist_rdist()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dget_cgroup_id_user.c7 #include <errno.h>
62 if (CHECK(cgroup_fd < 0, "cgroup_setup_and_join", "err %d errno %d\n", cgroup_fd, errno)) in main()
66 if (CHECK(err, "bpf_prog_load", "err %d errno %d\n", err, errno)) in main()
70 if (CHECK(cgidmap_fd < 0, "bpf_find_map", "err %d errno %d\n", in main()
71 cgidmap_fd, errno)) in main()
75 if (CHECK(pidmap_fd < 0, "bpf_find_map", "err %d errno %d\n", in main()
76 pidmap_fd, errno)) in main()
85 if (CHECK(efd < 0, "open", "err %d errno in main()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dget_cgroup_id_user.c7 #include <errno.h>
66 if (CHECK(cgroup_fd < 0, "cgroup_setup_and_join", "err %d errno %d\n", cgroup_fd, errno)) in main()
73 if (CHECK(err, "bpf_prog_test_load", "err %d errno %d\n", err, errno)) in main()
77 if (CHECK(cgidmap_fd < 0, "bpf_find_map", "err %d errno %d\n", in main()
78 cgidmap_fd, errno)) in main()
82 if (CHECK(pidmap_fd < 0, "bpf_find_map", "err %d errno %d\n", in main()
83 pidmap_fd, errno)) in main()
97 if (CHECK(efd < 0, "open", "err %d errno in main()
[all...]
/third_party/ltp/testcases/kernel/mem/shmt/
H A Dshmt09.c44 #include <errno.h>
84 tst_brkm(TFAIL, NULL, "Error: sbrk failed, errno = %d", in main()
85 errno); in main()
90 tst_brkm(TFAIL, NULL, "Error: sbrk failed, errno = %d", in main()
91 errno); in main()
98 "Error: shmget Failed, shmid = %d, errno = %d", in main()
99 shmid, errno); in main()
106 "Error: shmat Failed, shmid = %d, errno = %d", in main()
107 shmid, errno); in main()
118 tst_resm(TFAIL, "Error: sbrk failed, errno in main()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
H A D16-1.c37 #include <errno.h>
137 printf("Failed: sem_wait(): errno: %s signal: %s\n", in threaded()
138 strerror(errno), s->sig_name); in threaded()
139 if (errno == EINTR) in threaded()
163 errno = pthread_create(&child, NULL, threaded, s); in test_sig()
164 if (errno) in test_sig()
179 errno = pthread_kill(child, s->sig); in test_sig()
180 if (errno) in test_sig()
192 errno = pthread_join(child, &thread_status); in test_sig()
193 if (errno) in test_sig()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/sem_getvalue/
H A Dstress.c39 #include <errno.h>
93 UNRESOLVED(errno, "Failed to post the semaphore"); in threaded()
99 } while ((ret != 0) && (errno == EINTR)); in threaded()
102 UNRESOLVED(errno, "Failed to wait for the semaphore"); in threaded()
147 UNRESOLVED(errno, "Failed to sem_open"); in main()
153 UNRESOLVED(errno, "Failed to sem_unlink"); in main()
159 UNRESOLVED(errno, "Failed to sem_init"); in main()
180 UNRESOLVED(errno, "Failed to get sem value"); in main()
193 UNRESOLVED(errno, "Failed to get sem value"); in main()
223 UNRESOLVED(errno, "Faile in main()
[all...]
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dchan_user.c8 #include <errno.h>
31 else if (errno == EAGAIN) in generic_read()
33 return -errno; in generic_read()
45 else if (errno == EAGAIN) in generic_write()
49 return -errno; in generic_write()
59 return -errno; in generic_window_size()
112 return -errno; in generic_console_write()
170 "errno = %d\n", errno); in winch_thread()
177 printk(UM_KERN_ERR "winch_thread : setsid failed, errno in winch_thread()
[all...]
/kernel/linux/linux-5.10/tools/testing/vsock/
H A Dutil.c10 #include <errno.h>
40 errno = 0; in parse_cid()
42 if (errno || *endptr != '\0') { in parse_cid()
110 } while (ret < 0 && errno == EINTR); in vsock_stream_connect()
114 int old_errno = errno; in vsock_stream_connect()
118 errno = old_errno; in vsock_stream_connect()
166 } while (client_fd < 0 && errno == EINTR); in vsock_stream_accept()
169 old_errno = errno; in vsock_stream_accept()
171 errno = old_errno; in vsock_stream_accept()
195 * <0 Negative errno (fo
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dreuseport_dualstack.c17 #include <errno.h>
58 error(1, errno, "failed to create receive socket"); in build_rcv_fd()
63 error(1, errno, "failed to set SO_REUSEPORT"); in build_rcv_fd()
66 error(1, errno, "failed to bind receive socket"); in build_rcv_fd()
69 error(1, errno, "failed to listen on receive port"); in build_rcv_fd()
88 error(1, errno, "failed to create send socket"); in send_from_v4()
91 error(1, errno, "failed to bind send socket"); in send_from_v4()
94 error(1, errno, "failed to connect send socket"); in send_from_v4()
97 error(1, errno, "failed to send message"); in send_from_v4()
110 error(1, errno, "epoll_wai in receive_once()
[all...]
H A Dso_txtime.c14 #include <errno.h>
59 error(1, errno, "gettime"); in gettime_ns()
95 error(1, errno, "write"); in do_send_one()
108 if (ret == -1 && errno == EAGAIN) in do_recv_one()
111 error(1, errno, "read"); in do_recv_one()
136 if (ret != -1 || errno != EAGAIN) in do_recv_verify_empty()
137 error(1, 0, "recv: not empty as expected (%d, %d)", ret, errno); in do_recv_verify_empty()
166 if (ret == -1 && errno == EAGAIN) in do_recv_errqueue_timeout()
169 error(1, errno, "errqueue"); in do_recv_errqueue_timeout()
197 error(1, 0, "errqueue: errno in do_recv_errqueue_timeout()
[all...]
H A Dpsock_snd.c6 #include <errno.h>
178 error(1, errno, "if_nametoindex"); in do_bind()
181 error(1, errno, "bind"); in do_bind()
205 error(1, errno, "if_nametoindex"); in do_send()
211 error(1, errno, "write"); in do_send()
225 error(1, errno, "socket t"); in do_tx()
232 error(1, errno, "setsockopt qdisc bypass"); in do_tx()
236 error(1, errno, "setsockopt vnet"); in do_tx()
246 error(1, errno, "close t"); in do_tx()
259 error(1, errno, "socke in setup_rx()
[all...]
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dchan_user.c8 #include <errno.h>
31 else if (errno == EAGAIN) in generic_read()
33 return -errno; in generic_read()
45 else if (errno == EAGAIN) in generic_write()
49 return -errno; in generic_write()
59 return -errno; in generic_window_size()
112 return -errno; in generic_console_write()
170 "errno = %d\n", errno); in winch_thread()
177 printk(UM_KERN_ERR "winch_thread : setsid failed, errno in winch_thread()
[all...]
/kernel/linux/linux-5.10/tools/gpio/
H A Dgpio-utils.c12 #include <errno.h>
56 * On failure return the errno.
75 ret = -errno; in gpiotools_request_linehandle()
77 chrdev_name, strerror(errno)); in gpiotools_request_linehandle()
92 ret = -errno; in gpiotools_request_linehandle()
94 "GPIO_GET_LINEHANDLE_IOCTL", ret, strerror(errno)); in gpiotools_request_linehandle()
123 * On failure return the errno.
142 ret = -errno; in gpiotools_request_line()
144 chrdev_name, strerror(errno)); in gpiotools_request_line()
158 ret = -errno; in gpiotools_request_line()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dreuseport_dualstack.c17 #include <errno.h>
58 error(1, errno, "failed to create receive socket"); in build_rcv_fd()
63 error(1, errno, "failed to set SO_REUSEPORT"); in build_rcv_fd()
66 error(1, errno, "failed to bind receive socket"); in build_rcv_fd()
69 error(1, errno, "failed to listen on receive port"); in build_rcv_fd()
88 error(1, errno, "failed to create send socket"); in send_from_v4()
91 error(1, errno, "failed to bind send socket"); in send_from_v4()
94 error(1, errno, "failed to connect send socket"); in send_from_v4()
97 error(1, errno, "failed to send message"); in send_from_v4()
110 error(1, errno, "epoll_wai in receive_once()
[all...]
H A Dipv6_flowlabel.c9 #include <errno.h>
89 error(1, errno, "send"); in do_send()
119 error(1, errno, "recv"); in do_recv()
161 error(1, errno, "open sysctl"); in get_autoflowlabel_enabled()
165 error(1, errno, "read sysctl"); in get_autoflowlabel_enabled()
170 error(1, errno, "close sysctl"); in get_autoflowlabel_enabled()
189 error(1, errno, "setsockopt flowlabel get"); in flowlabel_get()
230 error(1, errno, "socket t"); in main()
234 error(1, errno, "socket r"); in main()
237 error(1, errno, "connec in main()
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/semaphore/
H A Dsemaphore_func_test.c35 #include <errno.h>
114 ICUNIT_ASSERT_EQUAL(errno, ETIMEDOUT, errno);
162 ICUNIT_ASSERT_EQUAL(errno, ETIMEDOUT, errno);
186 ICUNIT_ASSERT_EQUAL(errno, EINVAL, errno);
195 ICUNIT_ASSERT_EQUAL(errno, EINVAL, errno);
201 ICUNIT_ASSERT_EQUAL(errno, EINVA
[all...]
/third_party/ntfs-3g/libntfs-3g/
H A Defs.c33 #include <errno.h>
87 errno = EFAULT; in ntfs_get_efs_info()
92 errno = ERANGE; in ntfs_get_efs_info()
106 errno = EIO; in ntfs_get_efs_info()
110 errno = ENODATA; in ntfs_get_efs_info()
115 return (attr_size ? (int)attr_size : -errno); in ntfs_get_efs_info()
176 errno = EIO; in fixup_loop()
224 errno = EEXIST; in ntfs_set_efs_info()
234 errno = EIO; in ntfs_set_efs_info()
241 errno in ntfs_set_efs_info()
[all...]
/vendor/hihope/dayu210/bluetooth/src/
H A Dupio.c32 #include <errno.h>
151 path, strerror(errno), errno); in init_rfkill()
320 rfkill_state_path, strerror(errno), errno); in upio_set_bluetooth_power()
327 rfkill_state_path, strerror(errno), errno); in upio_set_bluetooth_power()
370 VENDOR_LPM_PROC_NODE, strerror(errno), errno); in upio_set()
388 VENDOR_LPM_PROC_NODE, strerror(errno),errn in upio_set()
[all...]
/vendor/hihope/rk3568/bluetooth/src/
H A Dupio.c32 #include <errno.h>
151 path, strerror(errno), errno); in init_rfkill()
320 rfkill_state_path, strerror(errno), errno); in upio_set_bluetooth_power()
327 rfkill_state_path, strerror(errno), errno); in upio_set_bluetooth_power()
370 VENDOR_LPM_PROC_NODE, strerror(errno), errno); in upio_set()
388 VENDOR_LPM_PROC_NODE, strerror(errno),errn in upio_set()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_attach_multi.c20 printf("failed to create map '%s'\n", strerror(errno)); in prog_load_cnt()
27 printf("failed to create map '%s'\n", strerror(errno)); in prog_load_cnt()
35 printf("failed to create map '%s'\n", strerror(errno)); in prog_load_cnt()
118 "prog0_attach_to_cg1_multi", "errno=%d\n", errno)) in test_cgroup_attach_multi()
128 "prog1_attach_to_cg1_multi", "errno=%d\n", errno)) in test_cgroup_attach_multi()
133 "prog2_attach_to_cg2_override", "errno=%d\n", errno)) in test_cgroup_attach_multi()
138 "prog3_attach_to_cg3_multi", "errno in test_cgroup_attach_multi()
[all...]
/kernel/linux/linux-5.10/tools/bootconfig/
H A Dmain.c12 #include <errno.h>
125 return -errno; in load_xbc_fd()
131 /* Return the read size or -errno */
139 return -errno; in load_xbc_file()
142 return -errno; in load_xbc_file()
167 return -errno; in load_xbc_from_initrd()
173 return pr_errno("Failed to lseek for magic", -errno); in load_xbc_from_initrd()
176 return pr_errno("Failed to read", -errno); in load_xbc_from_initrd()
183 return pr_errno("Failed to lseek for size", -errno); in load_xbc_from_initrd()
186 return pr_errno("Failed to read size", -errno); in load_xbc_from_initrd()
[all...]

Completed in 12 milliseconds

12345678910>>...568