/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_QUERYCTRL.c | 6 * 28 Mar 2009 0.2 Clean up ret and errno variable names and dprintf() output 18 #include <errno.h> 22 #include <linux/errno.h> 95 errno_query = errno; in test_VIDIOC_QUERYCTRL() 231 errno_query = errno; in test_VIDIOC_QUERYCTRL_BASE_1() 255 errno_query = errno; in test_VIDIOC_QUERYCTRL_LASTP1() 279 errno_query = errno; in test_VIDIOC_QUERYCTRL_LASTP1_1() 312 errno_query = errno; in test_VIDIOC_QUERYCTRL_flag_NEXT_CTRL() 349 errno_query = errno; in test_VIDIOC_QUERYCTRL_flag_NEXT_CTRL() 393 errno_query = errno; in test_VIDIOC_QUERYCTRL_flag_NEXT_CTRL() [all...] |
/third_party/node/deps/v8/src/d8/ |
H A D | d8-posix.cc | 5 #include <errno.h> 259 // Only get here if the exec failed. Write errno to the parent to tell in ExecSubprocess() 261 int err = errno; in ExecSubprocess() 265 } while (bytes_written == -1 && errno == EINTR); in ExecSubprocess() 276 } while (bytes_read == -1 && errno == EINTR); in ChildLaunchedOK() 296 return isolate->ThrowError(v8_strerror(isolate, errno)); in GetStdout() 304 if (errno == EAGAIN) { in GetStdout() 310 } else if (errno == EINTR) { in GetStdout() 501 args.GetIsolate()->ThrowError(v8_strerror(args.GetIsolate(), errno)); in ChangeDirectory() 526 isolate->ThrowError(v8_strerror(isolate, errno)); in CheckItsADirectory() [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | sunos.c | 29 #include <errno.h> 76 return UV__ERR(errno); in uv__platform_loop_init() 136 return UV__ERR(errno); in uv__io_check_fd() 246 if (errno == EINTR || errno == ETIME) { in uv__io_poll() 247 saved_errno = errno; in uv__io_poll() 395 return UV__ERR(errno); in uv_exepath() 434 return UV__ERR(errno); in uv__fs_event_rearm() 469 while (r == -1 && errno == EINTR); in uv__fs_event_read() 471 if ((r == -1 && errno in uv__fs_event_read() [all...] |
/drivers/peripheral/codec/hal/idl_service/src/ |
H A D | icodec_buffer.cpp | 145 } while (retCode == -EPERM && (errno == EINTR || errno == EAGAIN)); in SyncWait() 149 errno = ETIME; in SyncWait() 153 errno = EINVAL; in SyncWait() 156 return retCode < 0 ? -errno : EOK; in SyncWait()
|
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/ |
H A D | icodec_buffer.cpp | 99 } while (retCode == -EPERM && (errno == EINTR || errno == EAGAIN)); in SyncWait() 103 errno = ETIME; in SyncWait() 107 errno = EINVAL; in SyncWait() 110 return retCode < 0 ? -errno : EOK; in SyncWait()
|
/drivers/peripheral/partitionslot/hal/src/ |
H A D | partitionslot_manager.cpp | 80 HILOG_ERROR(LOG_CORE, "Failed lseek slot %{public}d errno %{public}d", slot, errno); in WriteSlot() 98 HILOG_ERROR(LOG_CORE, "Failed lseek miscDevice errno %{public}d ", errno); in ReadMisc() 104 HILOG_ERROR(LOG_CORE, "Failed read migic miscDevice errno %{public}d ", errno); in ReadMisc() 121 HILOG_ERROR(LOG_CORE, "Failed to open miscDevice errno %{public}d ", errno); in WriteSlotToMisc() 126 HILOG_ERROR(LOG_CORE, "Failed to WriteSlot miscDevice %{public}d errno %{public}d ", slot, errno); in WriteSlotToMisc() [all...] |
/kernel/linux/linux-5.10/arch/loongarch/kernel/ |
H A D | trans_mips_syscalls.c | 114 asmlinkage int trans_mips_errno(int errno) in trans_mips_errno() argument 116 if (errno >= EDEADLK && errno <= EHWPOISON) in trans_mips_errno() 117 return mips_errno[errno]; in trans_mips_errno() 118 return errno; in trans_mips_errno()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | vde_user.c | 7 #include <errno.h> 24 err = -errno; in vde_user_init() 26 "errno = %d\n", errno); in vde_user_init() 106 if (errno == EAGAIN) in vde_user_read() 108 return -errno; in vde_user_read()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_current_pid_tgid_new_ns.c | 46 "unshare CLONE_NEWPID | CLONE_NEWNS", "error errno=%d\n", errno)) in main() 77 "Unmounting proc", "Cannot umount proc! errno=%d\n", errno)) in main() 81 "Mounting proc", "Cannot mount proc! errno=%d\n", errno)) in main() 101 if (CHECK_NEWNS(err, "obj_load", "err %d errno %d\n", err, errno)) in main() 121 "stat new ns", "Failed to stat /proc/self/ns/pid errno=%d\n", errno)) in main() [all...] |
H A D | test_tcpnotify_user.c | 10 #include <errno.h> 101 error, strerror(errno)); in main() 128 printf("FAILED: execute command: %s, err %d\n", test_script, -errno); in main() 136 printf("execute command: %s, err %d\n", test_script, -errno); in main() 142 printf("FAILED: execute command: %s, err %d\n", test_script, -errno); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/ |
H A D | clone3_cap_checkpoint_restore.c | 12 #include <errno.h> 55 TH_LOG("%s - Failed to create new process", strerror(errno)); in call_clone3_set_tid() 56 return -errno; in call_clone3_set_tid() 73 TH_LOG("Child returned %s", strerror(errno)); in call_clone3_set_tid() 74 return -errno; in call_clone3_set_tid()
|
H A D | clone3.c | 6 #include <errno.h> 84 strerror(errno)); in call_clone3() 85 return -errno; in call_clone3() 97 ksft_print_msg("Child returned %s\n", strerror(errno)); in call_clone3() 98 return -errno; in call_clone3()
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | vde_user.c | 7 #include <errno.h> 24 err = -errno; in vde_user_init() 26 "errno = %d\n", errno); in vde_user_init() 106 if (errno == EAGAIN) in vde_user_read() 108 return -errno; in vde_user_read()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | sw-clock.c | 2 #include <errno.h> 80 err = -errno; in __test__sw_clock_freq() 82 str_error_r(errno, sbuf, sizeof(sbuf)), in __test__sw_clock_freq() 89 pr_debug("failed to mmap event: %d (%s)\n", errno, in __test__sw_clock_freq() 90 str_error_r(errno, sbuf, sizeof(sbuf))); in __test__sw_clock_freq()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | sw-clock.c | 2 #include <errno.h> 78 err = -errno; in __test__sw_clock_freq() 80 str_error_r(errno, sbuf, sizeof(sbuf)), in __test__sw_clock_freq() 87 pr_debug("failed to mmap event: %d (%s)\n", errno, in __test__sw_clock_freq() 88 str_error_r(errno, sbuf, sizeof(sbuf))); in __test__sw_clock_freq()
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/abi/ |
H A D | tpidr2.c | 133 if (errno == EINTR) in write_fork_read() 136 putnum(errno); in write_fork_read() 189 putnum(errno); in write_clone_read() 218 if (errno == EINTR) in write_clone_read() 221 putnum(errno); in write_clone_read()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timens/ |
H A D | procfs.c | 3 #include <errno.h> 80 if (errno) { in read_proc_uptime() 82 return -errno; in read_proc_uptime() 111 if (errno) { in read_proc_stat_btime() 114 return -errno; in read_proc_stat_btime()
|
/kernel/linux/linux-6.6/scripts/selinux/genheaders/ |
H A D | genheaders.c | 10 #include <errno.h> 58 argv[1], strerror(errno)); in main() 112 argv[1], strerror(errno)); in main() 119 argv[2], strerror(errno)); in main() 152 argv[2], strerror(errno)); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_tcpnotify_user.c | 10 #include <errno.h> 102 error, strerror(errno)); in main() 128 printf("FAILED: execute command: %s, err %d\n", test_script, -errno); in main() 136 printf("execute command: %s, err %d\n", test_script, -errno); in main() 142 printf("FAILED: execute command: %s, err %d\n", test_script, -errno); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/clone3/ |
H A D | clone3.c | 6 #include <errno.h> 84 strerror(errno)); in call_clone3() 85 return -errno; in call_clone3() 97 ksft_print_msg("Child returned %s\n", strerror(errno)); in call_clone3() 98 return -errno; in call_clone3()
|
H A D | clone3_cap_checkpoint_restore.c | 12 #include <errno.h> 55 TH_LOG("%s - Failed to create new process", strerror(errno)); in call_clone3_set_tid() 56 return -errno; in call_clone3_set_tid() 73 TH_LOG("Child returned %s", strerror(errno)); in call_clone3_set_tid() 74 return -errno; in call_clone3_set_tid()
|
/kernel/liteos_a/testsuites/unittest/container/full/ |
H A D | It_pid_container_014.cpp | 88 if ((ret != -1) || (errno != EINVAL)) { in ChildFun() 98 if ((ret != -1) || (errno != EINVAL)) { in ChildFun() 103 if ((ret != -1) || (errno != ESRCH)) { in ChildFun() 113 if ((ret != -1) || (errno != ESRCH)) { in ChildFun() 123 if ((ret != -1) || (errno != ESRCH)) { in ChildFun()
|
/kernel/liteos_m/components/fs/vfs/ |
H A D | vfs_partition.c | 84 errno = -EEXIST; in AddDevice() 90 errno = -EFAULT; in AddDevice() 96 errno = -ENOMEM; in AddDevice() 138 errno = -ENOMEM; in AddDevice() 167 errno = EBUSY; in LOS_PartitionFormat()
|
/third_party/ltp/lib/ |
H A D | tst_checkpoint.c | 26 #include <errno.h> 92 errno = EOVERFLOW; in tst_checkpoint_wait() 102 } while (ret == -1 && errno == EINTR); in tst_checkpoint_wait() 116 errno = EOVERFLOW; in tst_checkpoint_wake() 131 errno = ETIMEDOUT; in tst_checkpoint_wake()
|
H A D | tst_uid.c | 8 #include <errno.h> 20 errno = 0; in tst_get_free_gid_() 26 if (errno == 0 || errno == ENOENT || errno == ESRCH) { in tst_get_free_gid_()
|