Searched refs:errno (Results 1 - 25 of 4218) sorted by relevance

1234567891011>>

/linux-master/include/uapi/linux/
H A Derrno.h1 #include <asm/errno.h>
/linux-master/tools/arch/x86/include/uapi/asm/
H A Derrno.h1 #include <asm-generic/errno.h>
/linux-master/arch/x86/um/
H A Dptrace_user.c6 #include <errno.h>
12 return -errno;
19 return -errno;
/linux-master/tools/include/nolibc/
H A Derrno.h3 * Minimal errno definitions for NOLIBC
10 #include <asm/errno.h>
13 #define SET_ERRNO(v) do { errno = (v); } while (0)
14 int errno __attribute__((weak)); variable
20 /* errno codes all ensure that they will not conflict with a valid pointer
/linux-master/tools/testing/selftests/nolibc/
H A Dnolibc-test-linkage.c6 #include <errno.h>
11 return &errno;
/linux-master/arch/mips/include/asm/
H A Derrno.h11 #include <uapi/asm/errno.h>
14 /* The biggest error number defined here or in <linux/errno.h>. */
/linux-master/tools/arch/mips/include/asm/
H A Derrno.h11 #include <uapi/asm/errno.h>
14 /* The biggest error number defined here or in <linux/errno.h>. */
/linux-master/tools/testing/selftests/tmpfs/
H A Dbug-link-o-tmpfile.c17 #include <errno.h>
31 if (errno == ENOSYS || errno == EPERM) {
32 fprintf(stderr, "error: unshare, errno %d\n", errno);
35 fprintf(stderr, "error: unshare, errno %d\n", errno);
39 fprintf(stderr, "error: mount '/', errno %d\n", errno);
45 fprintf(stderr, "error: mount tmpfs, errno
[all...]
/linux-master/arch/arm/include/asm/hardware/
H A Dcache-uniphier.h10 #include <linux/errno.h>
/linux-master/arch/powerpc/include/uapi/asm/
H A Derrno.h6 #include <asm-generic/errno.h>
/linux-master/tools/arch/powerpc/include/uapi/asm/
H A Derrno.h6 #include <asm-generic/errno.h>
/linux-master/tools/testing/selftests/exec/
H A Drecursion-depth.c17 #include <errno.h>
36 if (errno == ENOSYS || errno == EPERM) {
37 ksft_test_result_skip("error: unshare, errno %d\n", errno);
40 ksft_exit_fail_msg("error: unshare, errno %d\n", errno);
44 ksft_exit_fail_msg("error: mount '/', errno %d\n", errno);
48 ksft_exit_fail_msg("error: mount ramfs, errno
[all...]
/linux-master/tools/testing/selftests/mm/
H A Dmrelease_test.c6 #include <errno.h>
30 ksft_exit_fail_msg("mmap failed, halting the test: %s\n", strerror(errno));
37 ksft_exit_fail_msg("write: %s\n", strerror(errno));
55 errno != EINVAL) {
56 ksft_exit_fail_msg("process_mrelease with wrong flags: %s\n", strerror(errno));
62 if (!syscall(__NR_process_mrelease, pidfd, 0) || errno != EINVAL)
63 ksft_exit_fail_msg("process_mrelease on a live process: %s\n", strerror(errno));
90 if (!syscall(__NR_process_mrelease, -1, 0) || errno != EBADF) {
91 if (errno == ENOSYS) {
96 strerror(errno));
[all...]
/linux-master/tools/testing/selftests/net/
H A Dsk_bind_sendto_listen.c5 #include <errno.h>
23 error(1, errno, "socket fd1");
28 error(1, errno, "setsockopt(SO_REUSEADDR) fd1");
33 error(1, errno, "bind fd1");
39 error(1, errno, "sendto fd1");
45 error(1, errno, "socket fd2");
50 error(1, errno, "setsockopt(SO_REUSEADDR) fd2");
55 error(1, errno, "bind fd2");
61 error(1, errno, "sendto fd2");
66 error(1, errno, "liste
[all...]
/linux-master/arch/um/os-Linux/
H A Dtty.c8 #include <errno.h>
24 info->err = errno;
34 err = -errno;
36 "err = %d\n", errno);
46 "errno = %d\n", -info.err);
51 err = -errno;
53 "errno = %d\n", errno);
/linux-master/tools/testing/selftests/powerpc/syscalls/
H A Dipc_unmuxed.c10 #include <errno.h>
23 errno = 0; \
25 printf("\treturned %d, errno %d\n", rc, errno); \
26 return errno == ENOSYS; \
/linux-master/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Damd_powerplay.h28 #include <linux/errno.h>
/linux-master/tools/perf/arch/arm64/util/
H A Dunwind-libunwind.c2 #include <errno.h>
/linux-master/samples/bpf/
H A Dtest_cgrp2_array_pin.c11 #include <errno.h>
62 cg2, strerror(errno), errno);
73 strerror(errno), errno);
80 pinned_file, strerror(errno), errno);
95 pinned_file, strerror(errno), errno);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dpinning.c23 CHECK(err, "get map info", "err %d errno %d", err, errno);
48 if (CHECK(err != -EINVAL, "invalid open", "err %d errno %d\n", err, errno)) {
56 if (CHECK(err, "default open", "err %d errno %d\n", err, errno)) {
62 if (CHECK(err, "default load", "err %d errno %d\n", err, errno))
67 if (CHECK(err, "stat pinpath", "err %d errno %d\n", err, errno))
[all...]
/linux-master/tools/testing/selftests/mount/
H A Dnosymfollow-test.c3 #include <errno.h>
50 die("vsnprintf failed: %s\n", strerror(errno));
57 if ((errno == ENOENT) && enoent_ok)
59 die("open of %s failed: %s\n", filename, strerror(errno));
68 filename, strerror(errno));
73 die("close of %s failed: %s\n", filename, strerror(errno));
100 die("unshare(CLONE_NEWUSER) failed: %s\n", strerror(errno));
107 die("setgid(0) failed %s\n", strerror(errno));
109 die("setuid(0) failed %s\n", strerror(errno));
112 die("unshare(CLONE_NEWNS) failed: %s\n", strerror(errno));
[all...]
/linux-master/samples/binderfs/
H A Dbinderfs_example.c4 #include <errno.h>
26 strerror(errno));
33 strerror(errno));
38 if (ret < 0 && errno != EEXIST) {
40 strerror(errno));
47 strerror(errno));
56 strerror(errno));
61 saved_errno = errno;
63 errno = saved_errno;
66 strerror(errno));
[all...]
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_requeue.c36 printf("waiter failed errno %d\n", errno);
77 error("pthread_create failed\n", errno);
85 res ? errno : res,
86 res ? strerror(errno) : "");
95 res ? errno : res,
96 res ? strerror(errno) : "");
109 error("pthread_create failed\n", errno);
118 res ? errno : res,
119 res ? strerror(errno)
[all...]
/linux-master/tools/testing/selftests/capabilities/
H A Dtest_execve.c10 #include <errno.h>
35 ksft_exit_fail_msg("vsnprintf failed - %s\n", strerror(errno));
43 if ((errno == ENOENT) && enoent_ok)
46 filename, strerror(errno));
54 filename, strerror(errno));
59 filename, strerror(errno));
95 strerror(errno));
97 ksft_exit_fail_msg("setresuid - %s\n", strerror(errno));
106 "capng_apply - %s\n", strerror(errno));
122 strerror(errno));
[all...]
/linux-master/tools/testing/selftests/proc/
H A Dproc-self-wchan.c19 #include <errno.h>
29 if (errno == ENOENT)

Completed in 241 milliseconds

1234567891011>>