/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | ch.c | 18 #include <linux/errno.h> 128 int errno; member 131 these errno assignments, so they may be wrong... */ 136 .errno = EBADSLT, /* Invalid element address */ 141 .errno = EBADE, /* Import or export element accessed */ 146 .errno = EXFULL, /* Medium destination element full */ 151 .errno = EBADE, /* Medium source element empty */ 156 .errno = EBADRQC, /* Invalid command operation code */ 166 int i,errno = 0; in ch_find_errno() local 171 for (i = 0; ch_err[i].errno ! in ch_find_errno() 190 int errno, retries = 0, timeout, result; ch_do_scsi() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | ch.c | 18 #include <linux/errno.h> 128 int errno; member 131 these errno assignments, so they may be wrong... */ 136 .errno = EBADSLT, /* Invalid element address */ 141 .errno = EBADE, /* Import or export element accessed */ 146 .errno = EXFULL, /* Medium destination element full */ 151 .errno = EBADE, /* Medium source element empty */ 156 .errno = EBADRQC, /* Invalid command operation code */ 166 int i,errno = 0; in ch_find_errno() local 171 for (i = 0; ch_err[i].errno ! in ch_find_errno() 189 int errno, retries = 0, timeout, result; ch_do_scsi() local [all...] |
/third_party/elfutils/debuginfod/ |
H A D | debuginfod-client.c | 46 #include <errno.h> 53 debuginfod_client *debuginfod_begin (void) { errno = ENOSYS; return NULL; } in debuginfod_begin() 80 #include <errno.h> 250 return -errno; in debuginfod_config_cache() 254 int ret = -errno; in debuginfod_config_cache() 263 int ret = -errno; in debuginfod_config_cache() 326 return -errno; in debuginfod_clean_cache() 469 dprintf(vds, "header file %s: %s\n", filename, strerror(errno)); in add_headers_from_file() 781 Return a negative errno if unsuccessful. */ 1020 && (errno ! in debuginfod_query_server() [all...] |
/third_party/backends/backend/ |
H A D | v4l.c | 50 #include <errno.h> 128 errno = 0; in attach() 147 v4lfd, devname, strerror (errno)); in attach() 165 strerror (errno)); in attach() 451 V4L_CONFIG_FILE, strerror (errno)); in sane_init() 553 DBG (1, "sane_open: can't open %s (%s)\n", devname, strerror (errno)); in sane_open() 567 s->fd, devname, strerror (errno)); in sane_open() 607 strerror (errno)); in sane_open() 629 strerror (errno)); in sane_open() 641 DBG (1, "sane_open: ioctl VIDIOCSPICT failed (%s)\n", strerror (errno)); in sane_open() [all...] |
/kernel/linux/linux-6.6/drivers/usb/misc/sisusbvga/ |
H A D | sisusbvga.c | 44 #include <linux/errno.h> 2301 int errno = 0; in sisusb_read() local 2333 errno = -EIO; in sisusb_read() 2335 errno = -EFAULT; in sisusb_read() 2344 errno = -EIO; in sisusb_read() 2346 errno = -EFAULT; in sisusb_read() 2355 errno = -EIO; in sisusb_read() 2357 errno = -EFAULT; in sisusb_read() 2364 errno = -EIO; in sisusb_read() 2377 errno in sisusb_read() 2436 int errno = 0; sisusb_write() local [all...] |
/foundation/multimodalinput/input/intention/services/test/unittest/src/ |
H A D | device_manager_test.cpp | 177 FI_HILOGE("epoll_create1 failed:%{public}s", ::strerror(errno)); in EpollCreate() 240 FI_HILOGE("Close epoll fd failed, error:%{public}s, epollFd_:%{public}d", strerror(errno), epollFd_); in EpollClose() 258 FI_HILOGE("epoll_ctl(%{public}d,%{public}d,%{public}d) failed:%{public}s", epollFd_, op, fd, ::strerror(errno)); in EpollCtl() 280 FI_HILOGE("Read expiration failed:%{public}s", strerror(errno)); in OnTimeout() 284 FI_HILOGE("Epoll hangup:%{public}s", strerror(errno)); in OnTimeout() 294 FI_HILOGE("Epoll hangup:%{public}s", strerror(errno)); in OnDeviceMgr() 351 FI_HILOGE("Close timer fd failed, error:%{public}s", strerror(errno)); in OnStop() 411 FI_HILOGW("Read failed erron:%{public}d", errno); in OnDelegateTask()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | clat_utils.cpp | 185 auto err = errno; in GetSuitableIpv6Address() 192 auto err = errno; in GetSuitableIpv6Address() 268 NETNATIVE_LOGW("open tun device failed, errno: %{public}d", errno); in CreateTunInterface() 338 NETNATIVE_LOGW("setsockopt SO_BINDTODEVICE failed: %{public}s", strerror(errno)); in ConfigureWriteSocket() 364 auto err = errno; in AddFilterAndBindPacketSocket() 376 auto err = errno; in AddFilterAndBindPacketSocket() 427 NETNATIVE_LOGE("ioctl set ipv4 address failed: %{public}d", errno); in SetTunInterfaceAddress() 442 NETNATIVE_LOGE("ioctl set ip mask failed: %{public}d", errno); in SetTunInterfaceAddress()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/distributed_stream/ |
H A D | distributed_stream_test.cpp | 341 while ((ret = sem_timedwait(&localSem_, &timeout)) == -1 && errno == EINTR) { in OpenAllSession() 344 if ((ret == -1) && (errno == ETIMEDOUT)) { in OpenAllSession() 367 while ((ret = sem_timedwait(&localSem_, &timeout)) == -1 && errno == EINTR) { in OpenCtrlSession() 370 if ((ret == -1) && (errno == ETIMEDOUT)) { in OpenCtrlSession() 393 while ((ret = sem_timedwait(&localSem_, &timeout)) == -1 && errno == EINTR) { in SendCreateSessionServerMessage() 396 if ((ret == -1) && (errno == ETIMEDOUT)) { in SendCreateSessionServerMessage() 419 while ((ret = sem_timedwait(&localSem_, &timeout)) == -1 && errno == EINTR) { in SendRemoveSessionServerMessage() 422 if ((ret == -1) && (errno == ETIMEDOUT)) { in SendRemoveSessionServerMessage()
|
/foundation/filemanagement/file_api/interfaces/test/unittest/class_file/ |
H A D | rust_test.cpp | 68 ASSERT_TRUE(errno == 2); in HWTEST_F() 87 ASSERT_TRUE(errno = 22); in HWTEST_F() 424 ASSERT_TRUE(errno == 2); in HWTEST_F() 444 ASSERT_TRUE(errno == 2); in HWTEST_F() 464 ASSERT_TRUE(errno == 17); in HWTEST_F() 484 ASSERT_TRUE(errno == 17); in HWTEST_F() 527 ASSERT_TRUE(errno != 0); in HWTEST_F() 546 ASSERT_TRUE(errno == 2); in HWTEST_F()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | signal.c | 11 #include <linux/errno.h> 336 long errno = scr->pt.r8; in ia64_do_signal() local 366 switch (errno) { in ia64_do_signal() 396 if (errno == ERESTARTNOHAND || errno == ERESTARTSYS || errno == ERESTARTNOINTR in ia64_do_signal() 397 || errno == ERESTART_RESTARTBLOCK) in ia64_do_signal() 405 if (errno == ERESTART_RESTARTBLOCK) in ia64_do_signal()
|
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | signal.c | 11 #include <linux/errno.h> 335 long errno = scr->pt.r8; in ia64_do_signal() local 365 switch (errno) { in ia64_do_signal() 395 if (errno == ERESTARTNOHAND || errno == ERESTARTSYS || errno == ERESTARTNOINTR in ia64_do_signal() 396 || errno == ERESTART_RESTARTBLOCK) in ia64_do_signal() 404 if (errno == ERESTART_RESTARTBLOCK) in ia64_do_signal()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | cgroup.c | 6 #include <errno.h> 190 if (count < 0 && errno != EINVAL) in cgroup_has_attached_progs() 323 path, strerror(errno)); in do_show() 378 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn() 385 fpath, strerror(errno)); in do_show_tree_fn() 406 if (errno == EINVAL) in do_show_tree_fn() 411 errno = 0; in do_show_tree_fn() 492 strerror(errno)); in do_show_tree()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | data.c | 9 #include <errno.h> 59 ret = -errno; in perf_data__create_dir() 221 "Unknown file found" : strerror(errno), in check_backup() 228 strerror(errno), in check_backup() 256 int err = errno; in open_file_read() 299 str_error_r(errno, sbuf, sizeof(sbuf))); in open_file_write() 441 ret = -errno; in perf_data__switch() 443 pos, strerror(errno)); in perf_data__switch()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_getset_retval.c | 41 if (!ASSERT_EQ(errno, EUNATCH, "setsockopt-errno")) in test_setsockopt_set() 67 * previously set errno. Assert that we get the same errno back. in test_setsockopt_set_and_get() 81 if (!ASSERT_EQ(errno, EUNATCH, "setsockopt-errno")) in test_setsockopt_set_and_get() 109 /* Attach setsockopt that gets the previously set errno. in test_setsockopt_default_zero() 145 /* Attach setsockopt that gets the previously set errno, and then in test_setsockopt_default_zero_and_set() 146 * one that sets the errno to EUNATCH. Assert that the get does not in test_setsockopt_default_zero_and_set() 161 if (!ASSERT_EQ(errno, EUNATC in test_setsockopt_default_zero_and_set() [all...] |
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | libbpf_internal.h | 14 #include <errno.h> 508 errno = -ret; in libbpf_err() 512 /* handle errno-based (e.g., syscall or libc) errors according to libbpf's 517 /* errno is already assumed to be set on error */ in libbpf_err_errno() 518 return ret < 0 ? -errno : ret; in libbpf_err_errno() 524 /* set errno on error, this doesn't break anything */ in libbpf_err_ptr() 525 errno = -err; in libbpf_err_ptr() 532 /* set errno on error, this doesn't break anything */ in libbpf_ptr() 534 errno = -PTR_ERR(ret); in libbpf_ptr() 561 saved_errno = errno; in ensure_good_fd() [all...] |
/third_party/elfutils/src/ |
H A D | strings.c | 27 #include <errno.h> 184 error (0, errno, _("cannot open '%s'"), argv[remaining]); in main() 483 if (errno != EINVAL && errno != ENOMEM) in map_file() 583 error_exit (errno, _("lseek failed")); in read_block() 600 error_exit (errno, _("re-mmap failed")); in read_block() 637 error_exit (errno, _("mprotect failed")); in read_block() 664 error_exit (errno, _("re-mmap failed")); in read_block()
|
/third_party/fsverity-utils/lib/ |
H A D | sign_digest.c | 37 int saved_errno = errno; in error_msg_openssl() 49 errno = saved_errno; in error_msg_openssl() 59 errno = 0; in read_private_key() 63 return errno ? -errno : -EIO; in read_private_key() 93 errno = 0; in read_certificate() 97 return errno ? -errno : -EIO; in read_certificate()
|
/third_party/alsa-lib/src/topology/ |
H A D | parser.c | 92 errno = 0; in tplg_get_unsigned() 94 if (errno == ERANGE && uval == ULONG_MAX) in tplg_get_unsigned() 96 if (errno && uval == 0) in tplg_get_unsigned() 306 return -errno; in snd_tplg_build_file() 362 SNDERR("failed to open %s err %d", outfile, -errno); in snd_tplg_build() 363 return -errno; in snd_tplg_build() 368 err = -errno; in snd_tplg_build() 369 SNDERR("write error: %s", strerror(errno)); in snd_tplg_build()
|
/third_party/alsa-utils/alsactl/ |
H A D | daemon.c | 28 #include <errno.h> 283 err = err < 0 ? -errno : -EIO; in read_pid_file() 288 return -errno; in read_pid_file() 302 err = err < 0 ? -errno : -EIO; in write_pid_file() 309 err = -errno; in write_pid_file() 337 return -errno; in state_daemon_kill() 416 if (i < 0 && errno == EINTR) in state_daemon() 419 error("poll failed: %s", strerror(errno)); in state_daemon()
|
/third_party/alsa-utils/bat/ |
H A D | tinyalsa.c | 23 #include <errno.h> 207 err = -errno; in play_sample() 215 err = -errno; in play_sample() 346 err = -errno; in playback_tinyalsa() 394 err = -errno; in capture_sample() 402 err = -errno; in capture_sample() 439 err = -errno; in latencytest_process_input() 447 err = -errno; in latencytest_process_input()
|
/third_party/alsa-utils/axfer/ |
H A D | container.c | 13 #include <errno.h> 56 if (errno == EAGAIN) in container_recursive_read() 58 return -errno; in container_recursive_read() 86 if (errno == EAGAIN) in container_recursive_write() 88 return -errno; in container_recursive_write() 122 return -errno; in container_seek_offset() 137 return -errno; in set_nonblock_flag() 141 return -errno; in set_nonblock_flag()
|
/third_party/libbpf/src/ |
H A D | libbpf_internal.h | 14 #include <errno.h> 566 errno = -ret; in libbpf_err() 570 /* handle errno-based (e.g., syscall or libc) errors according to libbpf's 575 /* errno is already assumed to be set on error */ in libbpf_err_errno() 576 return ret < 0 ? -errno : ret; in libbpf_err_errno() 582 /* set errno on error, this doesn't break anything */ in libbpf_err_ptr() 583 errno = -err; in libbpf_err_ptr() 590 /* set errno on error, this doesn't break anything */ in libbpf_ptr() 592 errno = -PTR_ERR(ret); in libbpf_ptr() 619 saved_errno = errno; in ensure_good_fd() [all...] |
/third_party/ltp/utils/sctp/func_tests/ |
H A D | test_basic.c | 55 #include <sys/errno.h> 56 #include <errno.h> 309 if ((bytes_sent > 0) || (EPIPE != errno)) in main() 311 "NULL msg_name error:%d errno:%d", error, errno); in main() 318 if ((bytes_sent > 0) || (EPIPE != errno)) in main() 320 "error:%d errno:%d", error, errno); in main() 353 strerror(errno)); in main() 383 strerror(errno)); in main() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
H A D | 2-1.c | 40 #include <errno.h> 232 UNRESOLVED(errno, "Unable to read clock"); in child() 279 UNRESOLVED(errno, "Unable to read clock"); in child() 397 UNRESOLVED(errno, in main() 413 UNRESOLVED(errno, "Memory allocation failed"); in main() 427 UNRESOLVED(errno, "mmap failed"); in main() 546 ret = errno; in main() 738 ret = errno; in main()
|
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/ |
H A D | rand_unix.c | 239 errno = EINVAL; in sysctl_random() 252 errno = ENOSYS; in sysctl_random() 357 * internally. So we need to check errno for ENOSYS in syscall_random() 366 if (errno != ENOSYS) in syscall_random() 402 errno = ENOSYS; in syscall_random() 472 && errno == EINTR); in wait_random_seeded() 474 while ((r = read(fd, &c, 1)) < 0 && errno == EINTR); in wait_random_seeded() 651 } else if (bytes < 0 && errno != EINTR) { in ossl_pool_acquire_entropy() 692 } else if (bytes < 0 && errno != EINTR) { in ossl_pool_acquire_entropy()
|