/kernel/linux/linux-5.10/drivers/staging/greybus/tools/ |
H A D | lbtest | 69 print("I/O error({0}): {1}".format(e.errno, e.strerror)) 78 print("I/O error({0}): {1}".format(e.errno, e.strerror)) 115 print("I/O error({0}): {1}".format(e.errno, e.strerror))
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | task-exit.c | 10 #include <errno.h> 109 pr_debug("failed to mmap events: %d (%s)\n", errno, in test__task_exit() 110 str_error_r(errno, sbuf, sizeof(sbuf))); in test__task_exit()
|
H A D | openat-syscall-tp-fields.c | 15 #include <errno.h> 72 str_error_r(errno, sbuf, sizeof(sbuf))); in test__syscall_openat_tp_fields() 79 str_error_r(errno, sbuf, sizeof(sbuf))); in test__syscall_openat_tp_fields()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | module_fentry_shadow.c | 27 if (errno == ENOENT) in get_bpf_testmod_btf_fd() 29 err = -errno; in get_bpf_testmod_btf_fd() 41 err = -errno; in get_bpf_testmod_btf_fd()
|
H A D | lwt_helpers.h | 14 fprintf(stderr, "(%s:%d: errno: %s) " MSG "\n", \ 15 __FILE__, __LINE__, strerror(errno), ##__VA_ARGS__) 116 if (errno == EINTR) in wait_for_packet() 118 else if (errno == EAGAIN || ret == 0) in wait_for_packet()
|
H A D | perf_branches.c | 123 if (errno == ENOENT || errno == EOPNOTSUPP) { in test_perf_branches_hw() 129 if (CHECK(pfd < 0, "perf_event_open", "err %d errno %d\n", in test_perf_branches_hw() 130 pfd, errno)) in test_perf_branches_hw()
|
H A D | send_signal.c | 55 errno = 0; in test_send_signal_common() 57 ASSERT_OK(errno, "getpriority"); in test_send_signal_common() 182 if (errno == ENOENT) { in test_send_signal_nmi()
|
H A D | sk_storage_tracing.c | 55 "listen_fd:%d errno:%d\n", listen_fd, errno)) in do_test() 59 if (CHECK(active_fd == -1, "connect_to_fd", "active_fd:%d errno:%d\n", in do_test() 60 active_fd, errno)) in do_test() 69 if (CHECK(passive_fd == -1, "accept", "passive_fd:%d errno:%d\n", in do_test() 70 passive_fd, errno)) in do_test()
|
H A D | sockmap_listen.c | 12 #include <errno.h> 41 if (!err || errno != EINVAL) in test_insert_invalid() 46 if (!err || errno != EBADF) in test_insert_invalid() 61 errno = 0; in test_insert_opened() 65 if (!err || errno != EOPNOTSUPP) in test_insert_opened() 91 errno = 0; in test_insert_bound() 94 if (!err || errno != EOPNOTSUPP) in test_insert_bound() 152 errno = 0; in test_delete_after_close() 154 if (!err || (errno != EINVAL && errno ! in test_delete_after_close() [all...] |
/kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
H A D | timerlat_u.c | 12 #include <errno.h> 55 err_msg("Error setting timerlat u default priority: %s\n", strerror(errno)); in timerlat_u_main() 82 err_msg("Error opening %s:%s\n", buffer, strerror(errno)); in timerlat_u_main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | audit_logread.c | 4 #include <errno.h> 37 } while (ret < 0 && errno == EINTR); in audit_recv() 72 } while (ret < 0 && errno == EINTR); in audit_send()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dexcr/ |
H A D | hashchk_test.c | 5 #include <errno.h> 131 _exit(errno); in hashchk_exec_random_key_test() 134 _exit(errno); in hashchk_exec_random_key_test()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/signal/ |
H A D | sig_sc_double_restart.c | 27 #include <errno.h> 71 errno = -_fd; in raw_read() 128 if (errno == ENOANO) { in test_restart()
|
/kernel/linux/linux-6.6/tools/testing/selftests/rlimits/ |
H A D | rlimits-per-userns.c | 21 #include <errno.h> 119 errno = 0; in main() 125 if (ret < 0 && errno != ECHILD) in main()
|
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/ |
H A D | posix_fs_write_test.c | 75 ICUNIT_ASSERT_EQUAL(errno, EINVAL, POSIX_FS_IS_ERROR); 79 ICUNIT_ASSERT_EQUAL(errno, EINVAL, POSIX_FS_IS_ERROR); 106 ICUNIT_ASSERT_EQUAL(errno, EACCES, POSIX_FS_IS_ERROR);
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | tracelog.c | 5 #include <errno.h> 141 p_err("could not open trace pipe: %s", strerror(errno)); in do_tracelog() 154 strerror(errno)); in do_tracelog()
|
H A D | prog.c | 7 #include <errno.h> 585 p_err("can't get prog info: %s", strerror(errno)); in show_prog() 659 if (errno == ENOENT) { in do_show() 663 p_err("can't get next program: %s%s", strerror(errno), in do_show() 664 errno == EINVAL ? " -- kernel too old?" : ""); in do_show() 671 if (errno == ENOENT) in do_show() 674 id, strerror(errno)); in do_show() 747 strerror(errno)); in prog_dump() 755 n < 0 ? strerror(errno) : "short write"); in prog_dump() 958 p_err("can't get prog info: %s", strerror(errno)); in do_dump() [all...] |
/kernel/linux/linux-6.6/tools/laptop/dslm/ |
H A D | dslm.c | 11 #include <errno.h> 37 if (errno != EIO || args[0] != 0 || args[1] != 0) { in check_powermode() 148 printf("Can't open %s, because: %s\n", disk, strerror(errno)); in main()
|
/kernel/linux/linux-6.6/tools/lib/api/ |
H A D | io.h | 10 #include <errno.h> 67 errno = ETIMEDOUT; in io__get_char() 69 errno = EIO; in io__get_char()
|
/kernel/linux/linux-6.6/samples/vfs/ |
H A D | test-fsmount.c | 11 #include <errno.h> 25 err = errno; in check_messages() 46 errno = err; in check_messages()
|
/kernel/liteos_a/apps/perf/src/ |
H A D | perf_record.c | 38 #include <errno.h> 121 printf("create file [%s] failed, fd: %d, %s!\n", filePath, fd, strerror(errno)); in PerfWriteFile() 127 printf("failed to write file [%s], %s!\n", filePath, strerror(errno)); in PerfWriteFile()
|
/kernel/linux/linux-5.10/arch/mips/boot/ |
H A D | elf2ecoff.c | 38 #include <errno.h> 87 count ? strerror(errno) : in copy() 139 fprintf(stderr, "%s: fseek: %s\n", name, strerror(errno)); in saveRead() 151 count ? strerror(errno) : "End of file reached"); in saveRead() 302 argv[1], strerror(errno)); in main() 311 i ? strerror(errno) : "End of file reached"); in main() 509 strerror(errno)); in main() 590 strerror(errno)); in main() 614 strerror(errno)); in main()
|
/kernel/linux/linux-6.6/arch/mips/boot/ |
H A D | elf2ecoff.c | 38 #include <errno.h> 87 count ? strerror(errno) : in copy() 139 fprintf(stderr, "%s: fseek: %s\n", name, strerror(errno)); in saveRead() 151 count ? strerror(errno) : "End of file reached"); in saveRead() 302 argv[1], strerror(errno)); in main() 311 i ? strerror(errno) : "End of file reached"); in main() 509 strerror(errno)); in main() 590 strerror(errno)); in main() 614 strerror(errno)); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
H A D | test_core.c | 13 #include <errno.h> 34 if (errno != EINTR) { in touch_anon() 206 if (errno == ENOSYS) in test_cgcore_populated() 271 * EOPNOTSUPP as the errno. 302 if (errno != EOPNOTSUPP) in test_cgcore_invalid_domain() 308 if (errno == ENOSYS) in test_cgcore_invalid_domain() 311 if (errno != EOPNOTSUPP) in test_cgcore_invalid_domain() 727 if (write(cg_test_b_procs_fd, "0", 1) >= 0 || errno != EACCES) in test_cgcore_lesser_euid_open() 758 targ->err = errno; in lesser_ns_open_thread_fn() 820 if ((status = write(cg_test_b_procs_fd, "0", 1)) >= 0 || errno ! in test_cgcore_lesser_ns_open() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | xdp_features.c | 179 errno = 0; in parse_arg() 192 errno, strerror(errno)); in parse_arg() 262 return -errno; in dut_run_echo_thread() 373 return -errno; in dut_run() 382 return -errno; in dut_run() 560 return -errno; in send_echo_msg() 586 return -errno; in tester_run() 597 return -errno; in tester_run()
|