/kernel/linux/linux-5.10/tools/testing/selftests/efivarfs/ |
H A D | open-unlink.c | 2 #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-5.10/tools/testing/selftests/firmware/ |
H A D | fw_namespace.c | 6 #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 D | test_cgrp2_attach.c | 27 #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 D | signal.h | 15 __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 D | error.c | 20 #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 D | signal.h | 15 __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 D | metadata.c | 30 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 D | stacktrace_build_id_nmi.c | 38 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 D | open-unlink.c | 2 #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 D | fw_namespace.c | 6 #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 D | pidfd_open_test.c | 4 #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 D | ioperm.c | 15 #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 D | posix_fs_fstat_test.c | 70 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 D | posix_fs_ftruncate_test.c | 71 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 D | error.c | 18 #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 D | test_cgrp2_attach.c | 27 #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 D | process_test_013.cpp | 71 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()
|
/third_party/eudev/src/shared/ |
H A D | mkdir.c | 23 #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 D | udev-watch.c | 21 #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 D | zmqsend.c | 88 "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 D | timer_query_hw.c | 38 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 D | cups-brf.c | 29 #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 D | tst_fs_link_count.c | 19 #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_()
|
H A D | tst_fill_fs.c | 6 #include <errno.h> 40 if (errno != ENOSPC) in fill_random() 52 if (errno == ENOSPC && len >= fi.f_bsize/2) { in fill_random() 60 if (errno != ENOSPC) in fill_random() 83 if (errno == ENOSPC) { in fill_flat_vec() 92 if (errno == ENOSPC) { in fill_flat_vec() 123 if (errno != ENOSPC) in fill_flat_vec()
|
/third_party/node/test/parallel/ |
H A D | test-net-server-listen-handle.js | 40 let handle, errno, handleName; 43 errno = handle.bind('0.0.0.0', 0); 48 errno = handle.bind(path); 52 if (errno < 0) { 53 assert.fail(`unable to bind ${handleName}: ${getSystemErrorName(errno)}`); 59 `Bound ${handleName} has fd -1 and errno ${errno}`);
|