/kernel/linux/linux-5.10/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 11 #include <errno.h> 49 errno); in etap_change() 125 err = -errno; in etap_tramp() 149 err = -errno; in etap_open() 151 "err = %d\n", errno); in etap_open() 157 err = -errno; in etap_open() 159 "err = %d\n", errno); in etap_open() 205 "errno = %d\n", errno); in etap_close() 209 "failed, errno in etap_close() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/ |
H A D | safesetid-test.c | 4 #include <errno.h> 50 strerror(errno)); in vmaybe_write_file() 60 if ((errno == ENOENT) && enoent_ok) in vmaybe_write_file() 71 filename, strerror(errno)); in vmaybe_write_file() 77 filename, strerror(errno)); in vmaybe_write_file() 127 if (errno == ENOENT) { in ensure_securityfs_mounted() 138 add_whitelist_policy_file, strerror(errno)); in ensure_securityfs_mounted() 162 add_whitelist_policy_file, strerror(errno)); in write_policies() 167 add_whitelist_policy_file, strerror(errno)); in write_policies()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_skc_cls_ingress.c | 10 #include <errno.h> 31 sysctl, strerror(errno), errno)) in write_sysctl() 39 sysctl, value, len, err, strerror(errno), errno)) in write_sysctl() 49 strerror(errno), errno)) in prepare_netns() 105 if (CHECK(err, "getsockname(listen_fd)", "err:%d errno:%d\n", err, in test_conn() 106 errno)) in test_conn() 160 if (CHECK(err, "getsockname(listen_fd)", "err:%d errno in test_syncookie() [all...] |
/kernel/linux/linux-6.6/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 11 #include <errno.h> 49 errno); in etap_change() 125 err = -errno; in etap_tramp() 149 err = -errno; in etap_open() 151 "err = %d\n", errno); in etap_open() 157 err = -errno; in etap_open() 159 "err = %d\n", errno); in etap_open() 205 "errno = %d\n", errno); in etap_close() 209 "failed, errno in etap_close() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | madv_populate.c | 15 #include <errno.h> 66 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_read() 84 ksft_test_result(ret == -1 && errno == EINVAL, in test_prot_write() 110 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 113 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 118 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 121 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 126 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes() 129 ksft_test_result(ret == -1 && errno == ENOMEM, in test_holes()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | bpf_prog_linfo.c | 109 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 117 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 121 return errno = ENOMEM, NULL; in bpf_prog_linfo__new() 177 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 189 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 193 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 201 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 228 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind() 234 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind()
|
/third_party/libbpf/src/ |
H A D | bpf_prog_linfo.c | 109 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 117 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 121 return errno = ENOMEM, NULL; in bpf_prog_linfo__new() 177 return errno = EINVAL, NULL; in bpf_prog_linfo__new() 189 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 193 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 201 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind_addr_func() 228 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind() 234 return errno = ENOENT, NULL; in bpf_prog_linfo__lfind()
|
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_ENUMOUTPUT.c | 8 * 28 Mar 2009 0.2 Clean up ret and errno variable names and dprintf() output 21 #include <errno.h> 25 #include <linux/errno.h> 49 errno_enum = errno; in test_VIDIOC_ENUMOUTPUT() 112 dprintf("\terrno=%i\n", errno); in test_VIDIOC_ENUMOUTPUT() 129 errno_enum = errno; in test_VIDIOC_ENUMOUTPUT_S32_MAX() 148 errno_enum = errno; in test_VIDIOC_ENUMOUTPUT_S32_MAX_1() 167 errno_enum = errno; in test_VIDIOC_ENUMOUTPUT_U32_MAX() 186 errno_enum = errno; in test_VIDIOC_ENUMOUTPUT_NULL() 192 errno_null = errno; in test_VIDIOC_ENUMOUTPUT_NULL() [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | unix_io.c | 36 #include <errno.h> 124 errno = EBUSY; in ntfs_device_unix_io_open() 145 err = errno; in ntfs_device_unix_io_open() 161 err = errno; in ntfs_device_unix_io_open() 178 err = errno; in ntfs_device_unix_io_open() 191 errno = err; in ntfs_device_unix_io_open() 208 errno = EBADF; in ntfs_device_unix_io_close() 280 errno = EROFS; in ntfs_device_unix_io_write() 319 errno = EROFS; in ntfs_device_unix_io_pwrite()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl06.c | 56 #include <errno.h> 110 tst_resm(TFAIL, "\tsignal failed. errno = %d", errno); in main() 173 tst_resm(TFAIL, "\tsemget() failed errno %d", errno); in dotest() 186 tst_resm(TFAIL, "\tfirst semop() failed errno %d", errno); in dotest() 230 tst_resm(TFAIL, "\tsemctl() failed errno %d", errno); in dotest() 250 tst_resm(TFAIL, "\tsemctl(IPC_RMID) failed errno in dotest() [all...] |
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | fcntl_ext.c | 15 #include <errno.h> 66 t_error("fork failed: %s\n", strerror(errno)); in open_0020() 100 t_error("fork failed: %s\n", strerror(errno)); in open_0030() 162 t_error("fork failed: %s\n", strerror(errno)); in openat_0020() 196 t_error("fork failed: %s\n", strerror(errno)); in openat_0030() 259 t_error("fork failed: %s\n", strerror(errno)); in open64_0020() 293 t_error("fork failed: %s\n", strerror(errno)); in open64_0030() 355 t_error("fork failed: %s\n", strerror(errno)); in openat64_0020() 389 t_error("fork failed: %s\n", strerror(errno)); in openat64_0030()
|
/third_party/node/deps/uv/src/unix/ |
H A D | netbsd.c | 26 #include <errno.h> 85 return UV__ERR(errno); in uv_exepath() 106 return UV__ERR(errno); in uv_get_free_memory() 123 return UV__ERR(errno); in uv_get_total_memory() 171 return UV__ERR(errno); in uv_uptime() 195 return UV__ERR(errno); in uv_cpu_info() 200 return UV__ERR(errno); in uv_cpu_info() 214 return UV__ERR(errno); in uv_cpu_info() 249 return UV__ERR(errno); in uv__random_sysctl()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | poll-posix.c | 40 #include <errno.h> 109 if ((ready == -1) && (errno == EBADF)) { in pa_poll() 153 } else if (errno == EBADF) in pa_poll() 187 errno = WSAGetLastError(); in pa_poll() 204 if (r == 0 || (r < 0 && errno == ENOTSOCK)) in pa_poll() 211 if (errno == ESHUTDOWN || errno == ECONNRESET || in pa_poll() 212 errno == ECONNABORTED || errno == ENETRESET) { in pa_poll()
|
/third_party/python/Lib/test/ |
H A D | test_ossaudiodev.py | 14 import errno namespace 52 if msg.args[0] in (errno.EACCES, errno.ENOENT, 53 errno.ENODEV, errno.EBUSY): 198 if msg.args[0] in (errno.EACCES, errno.ENOENT, 199 errno.ENODEV, errno.EBUSY):
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | gen.c | 8 #include <errno.h> 256 return -errno; in codegen_datasecs() 309 return -errno; in codegen_subskel_datasecs() 955 p_err("failed to stat() %s: %s", file, strerror(errno)); in do_skeleton() 962 p_err("failed to open() %s: %s", file, strerror(errno)); in do_skeleton() 968 p_err("failed to mmap() %s: %s", file, strerror(errno)); in do_skeleton() 981 err = -errno; in do_skeleton() 1024 #include <errno.h> \n\ in do_skeleton() 1118 errno = ENOMEM; \n\ in do_skeleton() 1133 errno in do_skeleton() [all...] |
/third_party/ltp/testcases/kernel/fs/fsstress/ |
H A D | fsstress.c | 534 fd, errno); in main() 601 if (rval >= 0 || errno != ENAMETOOLONG) in attr_list_path() 620 if (rval >= 0 || errno != ENAMETOOLONG) in attr_remove_path() 640 if (rval >= 0 || errno != ENAMETOOLONG) in attr_set_path() 674 if (rval >= 0 || errno != ENAMETOOLONG) in creat_path() 928 if (rval >= 0 || errno != ENAMETOOLONG) in lchown_path() 949 if (rval >= 0 || errno != ENAMETOOLONG) in link_path() 1000 if (rval >= 0 || errno != ENAMETOOLONG) in lstat64_path() 1034 if (rval >= 0 || errno != ENAMETOOLONG) in mkdir_path() 1052 if (rval >= 0 || errno ! in mknod_path() [all...] |
/kernel/linux/linux-5.10/drivers/greybus/ |
H A D | operation.c | 29 * Protects updates to operation->errno. 34 int errno); 112 * Initially an outgoing operation's errno value is -EBADR. 114 * valid value operation->errno can be set to is -EINPROGRESS, 148 prev = operation->errno; in gb_operation_result_set() 150 operation->errno = result; in gb_operation_result_set() 152 operation->errno = -EILSEQ; in gb_operation_result_set() 172 prev = operation->errno; in gb_operation_result_set() 174 operation->errno = result; /* First and final result */ in gb_operation_result_set() 182 int result = operation->errno; in gb_operation_result() 439 gb_operation_errno_map(int errno) gb_operation_errno_map() argument 823 gb_operation_response_send(struct gb_operation *operation, int errno) gb_operation_response_send() argument 965 int errno; gb_connection_recv_response() local 1071 gb_operation_cancel(struct gb_operation *operation, int errno) gb_operation_cancel() argument 1093 gb_operation_cancel_incoming(struct gb_operation *operation, int errno) gb_operation_cancel_incoming() argument [all...] |
/kernel/linux/linux-6.6/drivers/greybus/ |
H A D | operation.c | 29 * Protects updates to operation->errno. 34 int errno); 112 * Initially an outgoing operation's errno value is -EBADR. 114 * valid value operation->errno can be set to is -EINPROGRESS, 148 prev = operation->errno; in gb_operation_result_set() 150 operation->errno = result; in gb_operation_result_set() 152 operation->errno = -EILSEQ; in gb_operation_result_set() 172 prev = operation->errno; in gb_operation_result_set() 174 operation->errno = result; /* First and final result */ in gb_operation_result_set() 182 int result = operation->errno; in gb_operation_result() 439 gb_operation_errno_map(int errno) gb_operation_errno_map() argument 823 gb_operation_response_send(struct gb_operation *operation, int errno) gb_operation_response_send() argument 965 int errno; gb_connection_recv_response() local 1071 gb_operation_cancel(struct gb_operation *operation, int errno) gb_operation_cancel() argument 1093 gb_operation_cancel_incoming(struct gb_operation *operation, int errno) gb_operation_cancel_incoming() argument [all...] |
/third_party/node/deps/openssl/openssl/apps/lib/ |
H A D | opt.c | 24 #include <errno.h> 544 int oerrno = errno; in opt_long() 548 errno = 0; in opt_long() 552 || ((l == LONG_MAX || l == LONG_MIN) && errno == ERANGE) in opt_long() 553 || (l == 0 && errno != 0)) { in opt_long() 555 errno = oerrno; in opt_long() 559 errno = oerrno; in opt_long() 570 int oerrno = errno; in opt_intmax() 574 errno = 0; in opt_intmax() 579 && errno in opt_intmax() [all...] |
/third_party/openssl/apps/lib/ |
H A D | opt.c | 24 #include <errno.h> 544 int oerrno = errno; in opt_long() 548 errno = 0; in opt_long() 552 || ((l == LONG_MAX || l == LONG_MIN) && errno == ERANGE) in opt_long() 553 || (l == 0 && errno != 0)) { in opt_long() 555 errno = oerrno; in opt_long() 559 errno = oerrno; in opt_long() 570 int oerrno = errno; in opt_intmax() 574 errno = 0; in opt_intmax() 579 && errno in opt_intmax() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_linux.c | 37 __func__, strerror(errno)); in linux_af_alg_socket() 48 __func__, type, name, strerror(errno)); in linux_af_alg_socket() 73 __func__, strerror(errno)); in linux_af_alg_hash_vector() 81 __func__, strerror(errno)); in linux_af_alg_hash_vector() 91 __func__, strerror(errno)); in linux_af_alg_hash_vector() 106 __func__, strerror(errno)); in linux_af_alg_hash_vector() 296 __func__, strerror(errno)); in crypto_hash_init() 305 __func__, strerror(errno)); in crypto_hash_init() 326 __func__, strerror(errno)); in crypto_hash_update() 376 __func__, strerror(errno)); in crypto_hash_finish() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_linux.c | 37 __func__, strerror(errno)); in linux_af_alg_socket() 48 __func__, type, name, strerror(errno)); in linux_af_alg_socket() 73 __func__, strerror(errno)); in linux_af_alg_hash_vector() 81 __func__, strerror(errno)); in linux_af_alg_hash_vector() 91 __func__, strerror(errno)); in linux_af_alg_hash_vector() 106 __func__, strerror(errno)); in linux_af_alg_hash_vector() 296 __func__, strerror(errno)); in crypto_hash_init() 305 __func__, strerror(errno)); in crypto_hash_init() 326 __func__, strerror(errno)); in crypto_hash_update() 376 __func__, strerror(errno)); in crypto_hash_finish() [all...] |
/third_party/libuv/src/unix/ |
H A D | core.c | 30 #include <errno.h> 134 return UV__ERR(errno); in uv_clock_gettime() 252 return UV__ERR(errno); in uv__socket_sockopt() 277 * value is -1 and the errno is EINPROGRESS. Degrade the value to 1. in uv__getiovmax() 527 if (errno != EINVAL) in uv__socket() 528 return UV__ERR(errno); in uv__socket() 533 return UV__ERR(errno); in uv__socket() 584 while (peerfd == -1 && errno == EINTR); in uv__accept() 587 return UV__ERR(errno); in uv__accept() 644 saved_errno = errno; in uv__close_nocheckstdio() [all...] |
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | link.c | 4 #include <errno.h> 42 p_err("failed to get link with ID %d: %s", id, strerror(errno)); in link_parse_fd() 108 p_err("can't get prog info: %s", strerror(errno)); in get_prog_info() 274 strerror(errno)); in do_show_link() 324 if (errno == ENOENT) in do_show() 326 p_err("can't get next link: %s%s", strerror(errno), in do_show() 327 errno == EINVAL ? " -- kernel too old?" : ""); in do_show() 333 if (errno == ENOENT) in do_show() 336 id, strerror(errno)); in do_show() 349 return errno in do_show() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | za-ptrace.c | 5 #include <errno.h> 51 ksft_exit_fail_msg("PTRACE_TRACEME", strerror(errno)); in do_child() 54 ksft_exit_fail_msg("raise(SIGSTOP)", strerror(errno)); in do_child() 70 errno = ENOMEM; in get_za() 119 strerror(errno), errno); in ptrace_set_get_vl() 283 if (errno == ESRCH) in do_parent() 286 if (errno == EINVAL) { in do_parent() 292 strerror(errno)); in do_parent() 302 if (errno in do_parent() [all...] |