Home
last modified time | relevance | path

Searched refs:errno (Results 1276 - 1300 of 14555) sorted by relevance

1...<<51525354555657585960>>...583

/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_QUERYCTRL.c6 * 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 Dd8-posix.cc5 #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 Dsunos.c29 #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 Dicodec_buffer.cpp145 } 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 Dicodec_buffer.cpp99 } 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 Dpartitionslot_manager.cpp80 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 Dtrans_mips_syscalls.c114 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 Dvde_user.c7 #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 Dtest_current_pid_tgid_new_ns.c46 "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 Dtest_tcpnotify_user.c10 #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 Dclone3_cap_checkpoint_restore.c12 #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 Dclone3.c6 #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 Dvde_user.c7 #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 Dsw-clock.c2 #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 Dsw-clock.c2 #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 Dtpidr2.c133 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 Dprocfs.c3 #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 Dgenheaders.c10 #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 Dtest_tcpnotify_user.c10 #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 Dclone3.c6 #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 Dclone3_cap_checkpoint_restore.c12 #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 DIt_pid_container_014.cpp88 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 Dvfs_partition.c84 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 Dtst_checkpoint.c26 #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 Dtst_uid.c8 #include <errno.h>
20 errno = 0; in tst_get_free_gid_()
26 if (errno == 0 || errno == ENOENT || errno == ESRCH) { in tst_get_free_gid_()

Completed in 12 milliseconds

1...<<51525354555657585960>>...583