/kernel/linux/linux-6.6/arch/mips/boot/compressed/ |
H A D | calc_vmlinuz_load_addr.c | 8 #include <errno.h> 31 errno = 0; in main() 33 if (errno != 0) in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/intel_pstate/ |
H A D | msr.c | 11 #include <errno.h> 22 errno = 0; in main() 25 if (errno) in main()
|
/kernel/linux/linux-5.10/tools/perf/arch/s390/util/ |
H A D | dwarf-regs.c | 11 #include <errno.h> 38 errno = 0; in regs_query_register_offset() 40 if (errno || gpr >= 16) in regs_query_register_offset()
|
/kernel/linux/linux-6.6/tools/perf/arch/s390/util/ |
H A D | dwarf-regs.c | 10 #include <errno.h> 37 errno = 0; in regs_query_register_offset() 39 if (errno || gpr >= 16) in regs_query_register_offset()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.h | 5 #include <errno.h> 8 #define clean_errno() (errno == 0 ? "None" : strerror(errno)) 9 #define log_err(MSG, ...) fprintf(stderr, "(%s:%d: errno: %s) " MSG "\n", \
|
/kernel/linux/linux-6.6/tools/testing/selftests/intel_pstate/ |
H A D | msr.c | 11 #include <errno.h> 22 errno = 0; in main() 25 if (errno) in main()
|
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_LOG_STATUS.c | 4 * 27 Mar 2009 0.2 Clean up ret and errno variable names and dprintf() output 17 #include <errno.h> 21 #include <linux/errno.h> 36 errno_log = errno; in test_VIDIOC_LOG_STATUS()
|
/third_party/musl/porting/linux/user/src/dirent/ |
H A D | fdopendir.c | 4 #include <errno.h> 20 errno = EBADF; in fdopendir() 24 errno = ENOTDIR; in fdopendir()
|
/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
H A D | fopen.c | 5 #include <errno.h> 16 errno = EINVAL; in fopen() 30 errno = EMFILE; in fopen()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | pty.c | 5 #include <errno.h> 13 if (r < 0 && errno == ENOSPC) errno = EAGAIN; in posix_openpt()
|
H A D | lockf.c | 3 #include <errno.h> 21 errno = EACCES; in lockf() 30 errno = EINVAL; in lockf()
|
/third_party/musl/src/misc/ |
H A D | pty.c | 5 #include <errno.h> 13 if (r < 0 && errno == ENOSPC) errno = EAGAIN; in posix_openpt()
|
H A D | lockf.c | 3 #include <errno.h> 22 errno = EACCES; in lockf() 31 errno = EINVAL; in lockf()
|
/third_party/musl/src/network/ |
H A D | if_indextoname.c | 6 #include <errno.h> 23 if (errno == ENODEV) errno = ENXIO; in if_indextoname()
|
H A D | accept4.c | 3 #include <errno.h> 11 if (ret>=0 || (errno != ENOSYS && errno != EINVAL)) return ret; in accept4()
|
/third_party/musl/src/signal/ |
H A D | psignal.c | 4 #include <errno.h> 14 * permitted to change them. Save errno and restore it if there is no in psignal() 19 int old_errno = errno; in psignal() 22 errno = old_errno; in psignal()
|
/third_party/musl/src/temp/ |
H A D | mkostemps.c | 6 #include <errno.h> 12 errno = EINVAL; in __mkostemps() 22 } while (--retries && errno == EEXIST); in __mkostemps()
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | fopen.c | 5 #include <errno.h>
16 errno = EINVAL;
in fopen() 28 errno = EMFILE;
in fopen()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
H A D | if_indextoname.c | 6 #include <errno.h> 18 if (errno == ENODEV) errno = ENXIO; in if_indextoname()
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
H A D | fopen.c | 5 #include <errno.h>
16 errno = EINVAL;
in fopen() 28 errno = EMFILE;
in fopen()
|
/third_party/musl/libc-test/src/regression/ |
H A D | sigprocmask-internal.c | 7 #include <errno.h> 22 t_error("blocking signals failed: %s\n", strerror(errno)); in main() 24 t_error("querying sigmask failed: %s\n", strerror(errno)); in main()
|
/third_party/musl/src/dirent/ |
H A D | fdopendir.c | 4 #include <errno.h> 20 errno = EBADF; in fdopendir() 24 errno = ENOTDIR; in fdopendir()
|
/third_party/ltp/testcases/kernel/fs/mongo/ |
H A D | mongo_read.c | 11 #include <errno.h> 42 printf("Open failed (%s)\n", strerror(errno)); in main() 49 printf("Read failed (%s)\n", strerror(errno)); in main()
|
/third_party/ltp/testcases/kernel/syscalls/getcwd/ |
H A D | getcwd01.c | 8 * Testcase to test that getcwd(2) sets errno correctly. 16 * 1) getcwd(2) should return NULL and set errno to EFAULT. 17 * 2) getcwd(2) should return NULL and set errno to ENOMEM. 18 * 3) getcwd(2) should return NULL and set errno to EINVAL. 19 * 4) getcwd(2) should return NULL and set errno to ERANGE. 20 * 5) getcwd(2) should return NULL and set errno to ERANGE. 24 #include <errno.h> 48 errno = 0; in verify_getcwd() 50 TST_ERR = errno; in verify_getcwd()
|
/third_party/ltp/testcases/kernel/syscalls/gettimeofday/ |
H A D | gettimeofday01.c | 25 * Testcase to check that gettimeofday(2) sets errno to EFAULT. 29 * set in errno. 39 #include <errno.h> 78 "gettimeofday(2) set the errno EFAULT correctly"); in main() 81 "gettimeofday(2) didn't set errno to EFAULT, errno=%i (%s)", in main() 82 errno, strerror(errno)); in main()
|