Home
last modified time | relevance | path

Searched refs:errno (Results 1626 - 1650 of 14441) sorted by relevance

1...<<61626364656667686970>>...578

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
H A D12-1.c10 returns -1 and errno is set to [EPERM]
21 #include <errno.h>
43 if (errno == EPERM) { in set_nonroot()
74 if (EPERM == errno) { in main()
78 ("sigqueue() failed but errno not set correctly\n"); in main()
/third_party/ltp/testcases/open_posix_testsuite/include/
H A Dproc.h19 # include <errno.h>
40 proc_path, strerror(errno)); in tst_process_state_wait3()
47 proc_path, strerror(errno)); in tst_process_state_wait3()
/third_party/musl/libc-test/src/functionalext/supplement/linux/linux_gtest/
H A Dlinux_setxattr_test.cpp1 #include <errno.h>
17 * errno value can be set correctly.
22 errno = 0; in HWTEST_F()
25 EXPECT_TRUE(errno == EFAULT); in HWTEST_F()
31 * errno value can be set correctly.
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dsysinfo.c16 #include <errno.h>
77 if (errno != EFAULT) { in sysinfo_0200()
78 t_error("%s failed: errno = %d\n", __func__, errno); in sysinfo_0200()
/third_party/musl/libc-test/src/functional/
H A Dfdopen.c1 #include <errno.h>
9 errno = 0; \
11 t_error("%s failed (errno = %d)\n", #c, errno); \
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Duname.c16 #include <errno.h>
80 if (errno != EFAULT) { in uname_0200()
81 t_error("%s failed: errno = %d\n", __func__, errno); in uname_0200()
/third_party/musl/libc-test/src/functionalext/supplement/passwd/
H A Dgetgrgid_r.c16 #include <errno.h>
28 errno = 0; in getgrgid_r_0100()
40 if (errno != 0) { in getgrgid_r_0100()
41 t_error("%s errno should be zero\n", __func__); in getgrgid_r_0100()
H A Dgetgrnam_r.c16 #include <errno.h>
28 errno = 0; in getgrnam_r_0100()
40 if (errno != 0) { in getgrnam_r_0100()
41 t_error("%s errno should be zero\n", __func__); in getgrnam_r_0100()
/third_party/node/deps/uv/src/unix/
H A Drandom-devurandom.c45 return UV__ERR(errno); in uv__random_readpath()
56 while (n == -1 && errno == EINTR); in uv__random_readpath()
60 return UV__ERR(errno); in uv__random_readpath()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dvlan_ifconfig.c26 "failed: %s", __func__, strerror(errno)); in ifconfig_helper()
36 __func__, if_name, strerror(errno)); in ifconfig_helper()
49 __func__, if_name, up, strerror(errno)); in ifconfig_helper()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dvlan_ifconfig.c26 "failed: %s", __func__, strerror(errno)); in ifconfig_helper()
36 __func__, if_name, strerror(errno)); in ifconfig_helper()
49 __func__, if_name, up, strerror(errno)); in ifconfig_helper()
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dxterm.c10 #include <errno.h>
116 err = -errno; in xterm_open()
117 printk(UM_KERN_ERR "xterm_open : mkstemp failed, errno = %d\n", in xterm_open()
118 errno); in xterm_open()
123 err = -errno; in xterm_open()
124 printk(UM_KERN_ERR "xterm_open : unlink failed, errno = %d\n", in xterm_open()
125 errno); in xterm_open()
134 "errno = %d\n", -fd); in xterm_open()
143 "errno = %d\n", -err); in xterm_open()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
H A Docteon_main.h166 * errno -EINTR: user abort the command.
167 * errno -ETIME: user spefified timeout value has been expired.
168 * errno -EBUSY: the response of the request does not return in
189 int errno = 0; in wait_for_sc_completion_timeout() local
204 errno = -ETIME; in wait_for_sc_completion_timeout()
209 errno = -EINTR; in wait_for_sc_completion_timeout()
214 errno = -EBUSY; in wait_for_sc_completion_timeout()
217 return errno; in wait_for_sc_completion_timeout()
/kernel/linux/linux-5.10/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c6 #include <errno.h>
74 if (ret != -1 || errno != EINVAL) { in check_error_paths()
76 " errno %d (expected %d): %m\n", in check_error_paths()
77 ret, errno, EINVAL); in check_error_paths()
92 if (ret != -1 && errno != EFAULT) { in check_error_paths()
94 " errno %d (expected %d): %m\n", in check_error_paths()
95 ret, errno, EFAULT); in check_error_paths()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c11 #include <errno.h>
143 errno = rc; in bench_thread()
154 errno = rc; in bench_thread()
163 errno = rc; in bench_thread()
169 errno = rc; in bench_thread()
/kernel/linux/linux-5.10/tools/testing/selftests/exec/
H A Dnon-regular.c2 #include <errno.h>
26 ASSERT_EQ(errno, ENOENT) { in rm()
105 if (errno == EPERM) in setup_node()
166 EXPECT_EQ(errno, variant->expected); in TEST_F()
193 EXPECT_EQ(errno, EACCES); in TEST_F()
/kernel/linux/linux-5.10/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_signal_restart.c19 #include <errno.h>
104 if (!requeued.val || errno != EWOULDBLOCK) { in waiterfn()
106 res, strerror(errno)); in waiterfn()
152 error("sigaction\n", errno); in main()
194 error("FUTEX_CMP_REQUEUE_PI failed\n", errno); in main()
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dxterm.c10 #include <errno.h>
117 err = -errno; in xterm_open()
118 printk(UM_KERN_ERR "xterm_open : mkstemp failed, errno = %d\n", in xterm_open()
119 errno); in xterm_open()
124 err = -errno; in xterm_open()
125 printk(UM_KERN_ERR "xterm_open : unlink failed, errno = %d\n", in xterm_open()
126 errno); in xterm_open()
135 "errno = %d\n", -fd); in xterm_open()
144 "errno = %d\n", -err); in xterm_open()
/kernel/linux/linux-5.10/samples/connector/
H A Ducon.c24 #include <errno.h>
73 strerror(errno), errno); in netlink_send()
131 argv[1], strerror(errno)); in main()
198 if (errno != EINTR) { in main()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dmmap-basic.c2 #include <errno.h>
66 cpus->map[0], str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
96 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
105 pr_debug("failed to mmap events: %d (%s)\n", errno, in test__basic_mmap()
106 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
H A Docteon_main.h166 * errno -EINTR: user abort the command.
167 * errno -ETIME: user spefified timeout value has been expired.
168 * errno -EBUSY: the response of the request does not return in
189 int errno = 0; in wait_for_sc_completion_timeout() local
204 errno = -ETIME; in wait_for_sc_completion_timeout()
209 errno = -EINTR; in wait_for_sc_completion_timeout()
214 errno = -EBUSY; in wait_for_sc_completion_timeout()
217 return errno; in wait_for_sc_completion_timeout()
/kernel/linux/linux-6.6/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_signal_restart.c19 #include <errno.h>
104 if (!requeued.val || errno != EWOULDBLOCK) { in waiterfn()
106 res, strerror(errno)); in waiterfn()
152 error("sigaction\n", errno); in main()
194 error("FUTEX_CMP_REQUEUE_PI failed\n", errno); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/exec/
H A Dnon-regular.c2 #include <errno.h>
26 ASSERT_EQ(errno, ENOENT) { in rm()
105 if (errno == EPERM) in setup_node()
166 EXPECT_EQ(errno, variant->expected); in TEST_F()
193 EXPECT_EQ(errno, EACCES); in TEST_F()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c11 #include <errno.h>
143 errno = rc; in bench_thread()
154 errno = rc; in bench_thread()
163 errno = rc; in bench_thread()
169 errno = rc; in bench_thread()
/kernel/linux/linux-6.6/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c6 #include <errno.h>
74 if (ret != -1 || errno != EINVAL) { in check_error_paths()
76 " errno %d (expected %d): %m\n", in check_error_paths()
77 ret, errno, EINVAL); in check_error_paths()
92 if (ret != -1 && errno != EFAULT) { in check_error_paths()
94 " errno %d (expected %d): %m\n", in check_error_paths()
95 ret, errno, EFAULT); in check_error_paths()

Completed in 10 milliseconds

1...<<61626364656667686970>>...578