Home
last modified time | relevance | path

Searched refs:errno (Results 751 - 775 of 15198) sorted by relevance

1...<<31323334353637383940>>...608

/kernel/linux/linux-5.10/tools/testing/selftests/firmware/
H A Dfw_namespace.c6 #include <errno.h>
46 strerror(errno)); in trigger_fw()
60 strerror(errno)); in setup_fw()
63 strerror(errno)); in setup_fw()
78 strerror(errno)); in test_fw_in_ns()
87 strerror(errno)); in test_fw_in_ns()
103 strerror(errno)); in test_fw_in_ns()
/kernel/linux/linux-5.10/samples/bpf/
H A Dtest_cgrp2_attach.c27 #include <errno.h>
96 printf("Failed to create map: '%s'\n", strerror(errno)); in attach_filter()
104 printf("Failed to load prog: '%s'\n", strerror(errno)); in attach_filter()
111 strerror(errno)); in attach_filter()
160 printf("Failed to open cgroup path: '%s'\n", strerror(errno)); in main()
167 strerror(errno), errno); in main()
/kernel/linux/linux-5.10/include/trace/events/
H A Dsignal.h15 __entry->errno = 0; \
18 __entry->errno = 0; \
21 __entry->errno = info->si_errno; \
59 __field( int, errno )
76 TP_printk("sig=%d errno=%d code=%d comm=%s pid=%d grp=%d res=%d",
77 __entry->sig, __entry->errno, __entry->code,
104 __field( int, errno )
117 TP_printk("sig=%d errno=%d code=%d sa_handler=%lx sa_flags=%lx",
118 __entry->sig, __entry->errno, __entry->code,
/kernel/linux/linux-5.10/net/9p/
H A Derror.c20 #include <linux/errno.h>
208 int errno; in p9_errstr2errno() local
212 errno = 0; in p9_errstr2errno()
217 errno = c->val; in p9_errstr2errno()
222 if (errno == 0) { in p9_errstr2errno()
227 errno = ESERVERFAULT; in p9_errstr2errno()
230 return -errno; in p9_errstr2errno()
/kernel/linux/linux-6.6/include/trace/events/
H A Dsignal.h15 __entry->errno = 0; \
18 __entry->errno = 0; \
21 __entry->errno = info->si_errno; \
59 __field( int, errno )
76 TP_printk("sig=%d errno=%d code=%d comm=%s pid=%d grp=%d res=%d",
77 __entry->sig, __entry->errno, __entry->code,
104 __field( int, errno )
117 TP_printk("sig=%d errno=%d code=%d sa_handler=%lx sa_flags=%lx",
118 __entry->sig, __entry->errno, __entry->code,
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dmetadata.c30 return -errno; in prog_holds_map()
35 return -errno; in prog_holds_map()
49 ret = -errno; in prog_holds_map()
72 if (CHECK(!obj, "skel-load", "errno %d", errno)) in test_metadata_unused()
77 if (CHECK(err, "prog-holds-rodata", "errno: %d", err)) in test_metadata_unused()
94 CHECK(err, "rebind_map", "errno %d, expected 0", errno); in test_metadata_unused()
106 if (CHECK(!obj, "skel-load", "errno %d", errno)) in test_metadata_used()
[all...]
H A Dstacktrace_build_id_nmi.c38 if (pmu_fd < 0 && errno == ENOENT) { in test_stacktrace_build_id_nmi()
43 if (CHECK(pmu_fd < 0, "perf_event_open", "err %d errno %d\n", in test_stacktrace_build_id_nmi()
44 pmu_fd, errno)) in test_stacktrace_build_id_nmi()
73 "err %d errno %d\n", err, errno)) in test_stacktrace_build_id_nmi()
78 "err %d errno %d\n", err, errno)) in test_stacktrace_build_id_nmi()
85 "err %d errno %d\n", err, errno)) in test_stacktrace_build_id_nmi()
90 "err %d, errno in test_stacktrace_build_id_nmi()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/efivarfs/
H A Dopen-unlink.c2 #include <errno.h>
26 error = errno; in set_immutable()
28 errno = error; in set_immutable()
38 error = errno; in set_immutable()
40 errno = error; in set_immutable()
57 error = errno; in get_immutable()
59 errno = error; in get_immutable()
/kernel/linux/linux-6.6/tools/testing/selftests/firmware/
H A Dfw_namespace.c6 #include <errno.h>
46 strerror(errno)); in trigger_fw()
60 strerror(errno)); in setup_fw()
63 strerror(errno)); in setup_fw()
78 strerror(errno)); in test_fw_in_ns()
87 strerror(errno)); in test_fw_in_ns()
103 strerror(errno)); in test_fw_in_ns()
/kernel/linux/linux-6.6/tools/testing/selftests/pidfd/
H A Dpidfd_open_test.c4 #include <errno.h>
29 errno = 0; in safe_int()
31 if (errno == ERANGE && (sli == LONG_MAX || sli == LONG_MIN)) in safe_int()
34 if (errno != 0 && sli == 0) in safe_int()
132 strerror(errno)); in main()
141 strerror(errno)); in main()
148 ksft_print_msg("%s - failed to open pidfd\n", strerror(errno)); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A Dioperm.c15 #include <errno.h>
106 errno); in main()
114 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main()
122 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main()
136 printf("[FAIL]\tioperm(0x81, 1, 1) failed (%d)", errno); in main()
141 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main()
173 printf("[FAIL]\tioperm(0x80, 1, 0) failed (%d)", errno); in main()
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/
H A Dposix_fs_fstat_test.c70 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
86 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
102 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
106 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
110 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
131 ICUNIT_ASSERT_EQUAL(errno, EINVAL, POSIX_FS_IS_ERROR);
161 ICUNIT_ASSERT_EQUAL(errno, ENOENT, POSIX_FS_IS_ERROR);
H A Dposix_fs_ftruncate_test.c71 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
75 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
89 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
93 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
97 ICUNIT_ASSERT_EQUAL(errno, EBADF, POSIX_FS_IS_ERROR);
117 ICUNIT_ASSERT_EQUAL(errno, EINVAL, POSIX_FS_IS_ERROR);
141 ICUNIT_ASSERT_EQUAL(errno, EACCES, POSIX_FS_IS_ERROR);
/kernel/linux/linux-6.6/net/9p/
H A Derror.c18 #include <linux/errno.h>
206 int errno; in p9_errstr2errno() local
210 errno = 0; in p9_errstr2errno()
215 errno = c->val; in p9_errstr2errno()
220 if (errno == 0) { in p9_errstr2errno()
225 errno = ESERVERFAULT; in p9_errstr2errno()
228 return -errno; in p9_errstr2errno()
/kernel/linux/linux-6.6/samples/bpf/
H A Dtest_cgrp2_attach.c27 #include <errno.h>
101 printf("Failed to create map: '%s'\n", strerror(errno)); in attach_filter()
109 printf("Failed to load prog: '%s'\n", strerror(errno)); in attach_filter()
116 strerror(errno)); in attach_filter()
165 printf("Failed to open cgroup path: '%s'\n", strerror(errno)); in main()
172 strerror(errno), errno); in main()
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
H A Dprocess_test_013.cpp71 ret = errno; in TestCase()
79 ret = errno; in TestCase()
84 ret = errno; in TestCase()
89 ret = errno; in TestCase()
94 ret = errno; in TestCase()
99 ret = errno; in TestCase()
104 ret = errno; in TestCase()
/test/xts/acts/kernel_lite/utils/
H A Dmt_utils.cpp22 #include <errno.h>
118 LOG("> shmget errno = %d", errno); in InitGlobalVariable()
128 LOG("> shmat errno = %d", errno); in SetGlobalVariable()
133 LOG("> shmdt errno = %d", errno); in SetGlobalVariable()
144 LOG("> shmat errno = %d", errno); in GetGlobalVariable()
149 LOG("> shmdt errno in GetGlobalVariable()
[all...]
/test/xts/acts/commonlibrary/toolchain/libc-test/src/
H A Dtoolchaintest.cpp57 printf("exe:%d %s exec failed: %s\n", exe, argvs, strerror(errno)); in Start()
75 printf("signal triggering failed:%s\n", strerror(errno)); in RunTests()
80 printf("%s fork failed: %s\n", argvs, strerror(errno)); in RunTests()
90 if (errno == EAGAIN) { in RunTests()
93 printf("%s sigtimedwait failed: %s\n", argvs, strerror(errno)); in RunTests()
96 printf("%s kill failed: %s\n", argvs, strerror(errno)); in RunTests()
101 printf("%s waitpid failed: %s\n", argvs, strerror(errno)); in RunTests()
/test/xts/hats/kernel/freelist/encode_pointer/
H A DMalloc_encode_pointer.cpp91 printf("Malloc d0 failed: %s\n", strerror(errno)); in child()
98 printf("Malloc d1 failed: %s\n", strerror(errno)); in child()
154 printf(" fork failed: %s\n", strerror(errno)); in HWTEST_F()
157 if (errno == EAGAIN) { in HWTEST_F()
161 printf("sigtimedwait failed: %s\n", strerror(errno)); in HWTEST_F()
164 printf(" kill failed: %s\n", strerror(errno)); in HWTEST_F()
169 printf("waitpid failed: %s\n", strerror(errno)); in HWTEST_F()
/third_party/eudev/src/shared/
H A Dmkdir.c23 #include <errno.h>
37 return -errno; in mkdir_safe_internal()
40 return -errno; in mkdir_safe_internal()
102 if (r < 0 && errno != EEXIST) in mkdir_parents_internal()
103 return -errno; in mkdir_parents_internal()
121 if (r < 0 && (errno != EEXIST || is_dir(path, true) <= 0)) in mkdir_p_internal()
122 return -errno; in mkdir_p_internal()
/third_party/eudev/src/udev/
H A Dudev-watch.c21 #include <errno.h>
42 log_error_errno(errno, "inotify_init failed: %m"); in udev_watch_init()
59 log_error_errno(errno, "unable to open old watches dir " UDEV_ROOT_RUN "/udev/watch.old; old watches will not be restored: %m"); in udev_watch_restore()
90 } else if (errno != ENOENT) { in udev_watch_restore()
91 log_error_errno(errno, "unable to move watches dir " UDEV_ROOT_RUN "/udev/watch; old watches will not be restored: %m"); in udev_watch_restore()
106 log_error_errno(errno, "inotify_add_watch(%d, %s, %o) failed: %m", in udev_watch_begin()
116 log_error_errno(errno, "Failed to create symlink %s: %m", filename); in udev_watch_begin()
/third_party/ffmpeg/tools/
H A Dzmqsend.c88 "Impossible to open input file '%s': %s\n", infilename, strerror(errno)); in main()
95 "Could not create ZMQ context: %s\n", zmq_strerror(errno)); in main()
102 "Could not create ZMQ socket: %s\n", zmq_strerror(errno)); in main()
109 bind_address, zmq_strerror(errno)); in main()
129 av_log(NULL, AV_LOG_ERROR, "Could not send message: %s\n", zmq_strerror(errno)); in main()
136 "Could not initialize receiving message: %s\n", zmq_strerror(errno)); in main()
143 "Could not receive message: %s\n", zmq_strerror(errno)); in main()
/third_party/alsa-lib/src/timer/
H A Dtimer_query_hw.c38 res = close(handle->poll_fd) < 0 ? -errno : 0; in snd_timer_query_hw_close()
47 return -errno; in snd_timer_query_hw_next_device()
56 return -errno; in snd_timer_query_hw_info()
65 return -errno; in snd_timer_query_hw_params()
74 return -errno; in snd_timer_query_hw_status()
98 return -errno; in snd_timer_query_hw_open()
101 return -errno; in snd_timer_query_hw_open()
/third_party/cups-filters/backend/
H A Dcups-brf.c29 #include <errno.h>
102 if (ret == -1 && errno != EEXIST) { in main()
103 fprintf(stderr, "ERROR: could not create directory \"%s\": %s\n", dir, strerror(errno)); in main()
131 fprintf(stderr, "ERROR: could not create file \"%s\": %s\n", outfile, strerror(errno)); in main()
140 fprintf(stderr, "ERROR: while reading input: %s\n", strerror(errno)); in main()
151 fprintf(stderr, "ERROR: while writing to \"%s\": %s\n", outfile, strerror(errno)); in main()
157 fprintf(stderr, "ERROR: while closing \"%s\": %s\n", outfile, strerror(errno)); in main()
/third_party/ltp/lib/
H A Dtst_fs_link_count.c19 #include <errno.h>
49 if (stat(dir, &s) == -1 && errno == ENOENT) in tst_fs_fill_hardlinks_()
67 switch (errno) { in tst_fs_fill_hardlinks_()
90 link_filename, strerror(errno)); in tst_fs_fill_hardlinks_()
113 if (stat(dir, &s) == -1 && errno == ENOENT) in tst_fs_fill_subdirs_()
142 switch (errno) { in tst_fs_fill_subdirs_()
166 strerror(errno)); in tst_fs_fill_subdirs_()

Completed in 8 milliseconds

1...<<31323334353637383940>>...608