Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools include arch: Grab a copy of errno.h for arch's supported by perf

For each arch in tools/perf/arch, grab a copy of errno.h.

This is a pre-req to generate an architecture specific mapping of errno
numbers to their names. This errno mapping can be used by perf trace to
support cross-architecture trace reports and to get rid of the
audit-libs dependency.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: linux-s390@vger.kernel.org
LPU-Reference: 1516352177-11106-2-git-send-email-brueckner@linux.vnet.ibm.com
Link: https://lkml.kernel.org/n/tip-73azjhrzpjsskwi129020i2u@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Hendrik Brueckner and committed by
Arnaldo Carvalho de Melo
95f28190 99402e06

+539
+128
tools/arch/alpha/include/uapi/asm/errno.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 + #ifndef _ALPHA_ERRNO_H 3 + #define _ALPHA_ERRNO_H 4 + 5 + #include <asm-generic/errno-base.h> 6 + 7 + #undef EAGAIN /* 11 in errno-base.h */ 8 + 9 + #define EDEADLK 11 /* Resource deadlock would occur */ 10 + 11 + #define EAGAIN 35 /* Try again */ 12 + #define EWOULDBLOCK EAGAIN /* Operation would block */ 13 + #define EINPROGRESS 36 /* Operation now in progress */ 14 + #define EALREADY 37 /* Operation already in progress */ 15 + #define ENOTSOCK 38 /* Socket operation on non-socket */ 16 + #define EDESTADDRREQ 39 /* Destination address required */ 17 + #define EMSGSIZE 40 /* Message too long */ 18 + #define EPROTOTYPE 41 /* Protocol wrong type for socket */ 19 + #define ENOPROTOOPT 42 /* Protocol not available */ 20 + #define EPROTONOSUPPORT 43 /* Protocol not supported */ 21 + #define ESOCKTNOSUPPORT 44 /* Socket type not supported */ 22 + #define EOPNOTSUPP 45 /* Operation not supported on transport endpoint */ 23 + #define EPFNOSUPPORT 46 /* Protocol family not supported */ 24 + #define EAFNOSUPPORT 47 /* Address family not supported by protocol */ 25 + #define EADDRINUSE 48 /* Address already in use */ 26 + #define EADDRNOTAVAIL 49 /* Cannot assign requested address */ 27 + #define ENETDOWN 50 /* Network is down */ 28 + #define ENETUNREACH 51 /* Network is unreachable */ 29 + #define ENETRESET 52 /* Network dropped connection because of reset */ 30 + #define ECONNABORTED 53 /* Software caused connection abort */ 31 + #define ECONNRESET 54 /* Connection reset by peer */ 32 + #define ENOBUFS 55 /* No buffer space available */ 33 + #define EISCONN 56 /* Transport endpoint is already connected */ 34 + #define ENOTCONN 57 /* Transport endpoint is not connected */ 35 + #define ESHUTDOWN 58 /* Cannot send after transport endpoint shutdown */ 36 + #define ETOOMANYREFS 59 /* Too many references: cannot splice */ 37 + #define ETIMEDOUT 60 /* Connection timed out */ 38 + #define ECONNREFUSED 61 /* Connection refused */ 39 + #define ELOOP 62 /* Too many symbolic links encountered */ 40 + #define ENAMETOOLONG 63 /* File name too long */ 41 + #define EHOSTDOWN 64 /* Host is down */ 42 + #define EHOSTUNREACH 65 /* No route to host */ 43 + #define ENOTEMPTY 66 /* Directory not empty */ 44 + 45 + #define EUSERS 68 /* Too many users */ 46 + #define EDQUOT 69 /* Quota exceeded */ 47 + #define ESTALE 70 /* Stale file handle */ 48 + #define EREMOTE 71 /* Object is remote */ 49 + 50 + #define ENOLCK 77 /* No record locks available */ 51 + #define ENOSYS 78 /* Function not implemented */ 52 + 53 + #define ENOMSG 80 /* No message of desired type */ 54 + #define EIDRM 81 /* Identifier removed */ 55 + #define ENOSR 82 /* Out of streams resources */ 56 + #define ETIME 83 /* Timer expired */ 57 + #define EBADMSG 84 /* Not a data message */ 58 + #define EPROTO 85 /* Protocol error */ 59 + #define ENODATA 86 /* No data available */ 60 + #define ENOSTR 87 /* Device not a stream */ 61 + 62 + #define ENOPKG 92 /* Package not installed */ 63 + 64 + #define EILSEQ 116 /* Illegal byte sequence */ 65 + 66 + /* The following are just random noise.. */ 67 + #define ECHRNG 88 /* Channel number out of range */ 68 + #define EL2NSYNC 89 /* Level 2 not synchronized */ 69 + #define EL3HLT 90 /* Level 3 halted */ 70 + #define EL3RST 91 /* Level 3 reset */ 71 + 72 + #define ELNRNG 93 /* Link number out of range */ 73 + #define EUNATCH 94 /* Protocol driver not attached */ 74 + #define ENOCSI 95 /* No CSI structure available */ 75 + #define EL2HLT 96 /* Level 2 halted */ 76 + #define EBADE 97 /* Invalid exchange */ 77 + #define EBADR 98 /* Invalid request descriptor */ 78 + #define EXFULL 99 /* Exchange full */ 79 + #define ENOANO 100 /* No anode */ 80 + #define EBADRQC 101 /* Invalid request code */ 81 + #define EBADSLT 102 /* Invalid slot */ 82 + 83 + #define EDEADLOCK EDEADLK 84 + 85 + #define EBFONT 104 /* Bad font file format */ 86 + #define ENONET 105 /* Machine is not on the network */ 87 + #define ENOLINK 106 /* Link has been severed */ 88 + #define EADV 107 /* Advertise error */ 89 + #define ESRMNT 108 /* Srmount error */ 90 + #define ECOMM 109 /* Communication error on send */ 91 + #define EMULTIHOP 110 /* Multihop attempted */ 92 + #define EDOTDOT 111 /* RFS specific error */ 93 + #define EOVERFLOW 112 /* Value too large for defined data type */ 94 + #define ENOTUNIQ 113 /* Name not unique on network */ 95 + #define EBADFD 114 /* File descriptor in bad state */ 96 + #define EREMCHG 115 /* Remote address changed */ 97 + 98 + #define EUCLEAN 117 /* Structure needs cleaning */ 99 + #define ENOTNAM 118 /* Not a XENIX named type file */ 100 + #define ENAVAIL 119 /* No XENIX semaphores available */ 101 + #define EISNAM 120 /* Is a named type file */ 102 + #define EREMOTEIO 121 /* Remote I/O error */ 103 + 104 + #define ELIBACC 122 /* Can not access a needed shared library */ 105 + #define ELIBBAD 123 /* Accessing a corrupted shared library */ 106 + #define ELIBSCN 124 /* .lib section in a.out corrupted */ 107 + #define ELIBMAX 125 /* Attempting to link in too many shared libraries */ 108 + #define ELIBEXEC 126 /* Cannot exec a shared library directly */ 109 + #define ERESTART 127 /* Interrupted system call should be restarted */ 110 + #define ESTRPIPE 128 /* Streams pipe error */ 111 + 112 + #define ENOMEDIUM 129 /* No medium found */ 113 + #define EMEDIUMTYPE 130 /* Wrong medium type */ 114 + #define ECANCELED 131 /* Operation Cancelled */ 115 + #define ENOKEY 132 /* Required key not available */ 116 + #define EKEYEXPIRED 133 /* Key has expired */ 117 + #define EKEYREVOKED 134 /* Key has been revoked */ 118 + #define EKEYREJECTED 135 /* Key was rejected by service */ 119 + 120 + /* for robust mutexes */ 121 + #define EOWNERDEAD 136 /* Owner died */ 122 + #define ENOTRECOVERABLE 137 /* State not recoverable */ 123 + 124 + #define ERFKILL 138 /* Operation not possible due to RF-kill */ 125 + 126 + #define EHWPOISON 139 /* Memory page has hardware error */ 127 + 128 + #endif
+17
tools/arch/mips/include/asm/errno.h
··· 1 + /* 2 + * This file is subject to the terms and conditions of the GNU General Public 3 + * License. See the file "COPYING" in the main directory of this archive 4 + * for more details. 5 + * 6 + * Copyright (C) 1995, 1999, 2001, 2002 by Ralf Baechle 7 + */ 8 + #ifndef _ASM_ERRNO_H 9 + #define _ASM_ERRNO_H 10 + 11 + #include <uapi/asm/errno.h> 12 + 13 + 14 + /* The biggest error number defined here or in <linux/errno.h>. */ 15 + #define EMAXERRNO 1133 16 + 17 + #endif /* _ASM_ERRNO_H */
+130
tools/arch/mips/include/uapi/asm/errno.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 + /* 3 + * This file is subject to the terms and conditions of the GNU General Public 4 + * License. See the file "COPYING" in the main directory of this archive 5 + * for more details. 6 + * 7 + * Copyright (C) 1995, 1999, 2001, 2002 by Ralf Baechle 8 + */ 9 + #ifndef _UAPI_ASM_ERRNO_H 10 + #define _UAPI_ASM_ERRNO_H 11 + 12 + /* 13 + * These error numbers are intended to be MIPS ABI compatible 14 + */ 15 + 16 + #include <asm-generic/errno-base.h> 17 + 18 + #define ENOMSG 35 /* No message of desired type */ 19 + #define EIDRM 36 /* Identifier removed */ 20 + #define ECHRNG 37 /* Channel number out of range */ 21 + #define EL2NSYNC 38 /* Level 2 not synchronized */ 22 + #define EL3HLT 39 /* Level 3 halted */ 23 + #define EL3RST 40 /* Level 3 reset */ 24 + #define ELNRNG 41 /* Link number out of range */ 25 + #define EUNATCH 42 /* Protocol driver not attached */ 26 + #define ENOCSI 43 /* No CSI structure available */ 27 + #define EL2HLT 44 /* Level 2 halted */ 28 + #define EDEADLK 45 /* Resource deadlock would occur */ 29 + #define ENOLCK 46 /* No record locks available */ 30 + #define EBADE 50 /* Invalid exchange */ 31 + #define EBADR 51 /* Invalid request descriptor */ 32 + #define EXFULL 52 /* Exchange full */ 33 + #define ENOANO 53 /* No anode */ 34 + #define EBADRQC 54 /* Invalid request code */ 35 + #define EBADSLT 55 /* Invalid slot */ 36 + #define EDEADLOCK 56 /* File locking deadlock error */ 37 + #define EBFONT 59 /* Bad font file format */ 38 + #define ENOSTR 60 /* Device not a stream */ 39 + #define ENODATA 61 /* No data available */ 40 + #define ETIME 62 /* Timer expired */ 41 + #define ENOSR 63 /* Out of streams resources */ 42 + #define ENONET 64 /* Machine is not on the network */ 43 + #define ENOPKG 65 /* Package not installed */ 44 + #define EREMOTE 66 /* Object is remote */ 45 + #define ENOLINK 67 /* Link has been severed */ 46 + #define EADV 68 /* Advertise error */ 47 + #define ESRMNT 69 /* Srmount error */ 48 + #define ECOMM 70 /* Communication error on send */ 49 + #define EPROTO 71 /* Protocol error */ 50 + #define EDOTDOT 73 /* RFS specific error */ 51 + #define EMULTIHOP 74 /* Multihop attempted */ 52 + #define EBADMSG 77 /* Not a data message */ 53 + #define ENAMETOOLONG 78 /* File name too long */ 54 + #define EOVERFLOW 79 /* Value too large for defined data type */ 55 + #define ENOTUNIQ 80 /* Name not unique on network */ 56 + #define EBADFD 81 /* File descriptor in bad state */ 57 + #define EREMCHG 82 /* Remote address changed */ 58 + #define ELIBACC 83 /* Can not access a needed shared library */ 59 + #define ELIBBAD 84 /* Accessing a corrupted shared library */ 60 + #define ELIBSCN 85 /* .lib section in a.out corrupted */ 61 + #define ELIBMAX 86 /* Attempting to link in too many shared libraries */ 62 + #define ELIBEXEC 87 /* Cannot exec a shared library directly */ 63 + #define EILSEQ 88 /* Illegal byte sequence */ 64 + #define ENOSYS 89 /* Function not implemented */ 65 + #define ELOOP 90 /* Too many symbolic links encountered */ 66 + #define ERESTART 91 /* Interrupted system call should be restarted */ 67 + #define ESTRPIPE 92 /* Streams pipe error */ 68 + #define ENOTEMPTY 93 /* Directory not empty */ 69 + #define EUSERS 94 /* Too many users */ 70 + #define ENOTSOCK 95 /* Socket operation on non-socket */ 71 + #define EDESTADDRREQ 96 /* Destination address required */ 72 + #define EMSGSIZE 97 /* Message too long */ 73 + #define EPROTOTYPE 98 /* Protocol wrong type for socket */ 74 + #define ENOPROTOOPT 99 /* Protocol not available */ 75 + #define EPROTONOSUPPORT 120 /* Protocol not supported */ 76 + #define ESOCKTNOSUPPORT 121 /* Socket type not supported */ 77 + #define EOPNOTSUPP 122 /* Operation not supported on transport endpoint */ 78 + #define EPFNOSUPPORT 123 /* Protocol family not supported */ 79 + #define EAFNOSUPPORT 124 /* Address family not supported by protocol */ 80 + #define EADDRINUSE 125 /* Address already in use */ 81 + #define EADDRNOTAVAIL 126 /* Cannot assign requested address */ 82 + #define ENETDOWN 127 /* Network is down */ 83 + #define ENETUNREACH 128 /* Network is unreachable */ 84 + #define ENETRESET 129 /* Network dropped connection because of reset */ 85 + #define ECONNABORTED 130 /* Software caused connection abort */ 86 + #define ECONNRESET 131 /* Connection reset by peer */ 87 + #define ENOBUFS 132 /* No buffer space available */ 88 + #define EISCONN 133 /* Transport endpoint is already connected */ 89 + #define ENOTCONN 134 /* Transport endpoint is not connected */ 90 + #define EUCLEAN 135 /* Structure needs cleaning */ 91 + #define ENOTNAM 137 /* Not a XENIX named type file */ 92 + #define ENAVAIL 138 /* No XENIX semaphores available */ 93 + #define EISNAM 139 /* Is a named type file */ 94 + #define EREMOTEIO 140 /* Remote I/O error */ 95 + #define EINIT 141 /* Reserved */ 96 + #define EREMDEV 142 /* Error 142 */ 97 + #define ESHUTDOWN 143 /* Cannot send after transport endpoint shutdown */ 98 + #define ETOOMANYREFS 144 /* Too many references: cannot splice */ 99 + #define ETIMEDOUT 145 /* Connection timed out */ 100 + #define ECONNREFUSED 146 /* Connection refused */ 101 + #define EHOSTDOWN 147 /* Host is down */ 102 + #define EHOSTUNREACH 148 /* No route to host */ 103 + #define EWOULDBLOCK EAGAIN /* Operation would block */ 104 + #define EALREADY 149 /* Operation already in progress */ 105 + #define EINPROGRESS 150 /* Operation now in progress */ 106 + #define ESTALE 151 /* Stale file handle */ 107 + #define ECANCELED 158 /* AIO operation canceled */ 108 + 109 + /* 110 + * These error are Linux extensions. 111 + */ 112 + #define ENOMEDIUM 159 /* No medium found */ 113 + #define EMEDIUMTYPE 160 /* Wrong medium type */ 114 + #define ENOKEY 161 /* Required key not available */ 115 + #define EKEYEXPIRED 162 /* Key has expired */ 116 + #define EKEYREVOKED 163 /* Key has been revoked */ 117 + #define EKEYREJECTED 164 /* Key was rejected by service */ 118 + 119 + /* for robust mutexes */ 120 + #define EOWNERDEAD 165 /* Owner died */ 121 + #define ENOTRECOVERABLE 166 /* State not recoverable */ 122 + 123 + #define ERFKILL 167 /* Operation not possible due to RF-kill */ 124 + 125 + #define EHWPOISON 168 /* Memory page has hardware error */ 126 + 127 + #define EDQUOT 1133 /* Quota exceeded */ 128 + 129 + 130 + #endif /* _UAPI_ASM_ERRNO_H */
+128
tools/arch/parisc/include/uapi/asm/errno.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 + #ifndef _PARISC_ERRNO_H 3 + #define _PARISC_ERRNO_H 4 + 5 + #include <asm-generic/errno-base.h> 6 + 7 + #define ENOMSG 35 /* No message of desired type */ 8 + #define EIDRM 36 /* Identifier removed */ 9 + #define ECHRNG 37 /* Channel number out of range */ 10 + #define EL2NSYNC 38 /* Level 2 not synchronized */ 11 + #define EL3HLT 39 /* Level 3 halted */ 12 + #define EL3RST 40 /* Level 3 reset */ 13 + #define ELNRNG 41 /* Link number out of range */ 14 + #define EUNATCH 42 /* Protocol driver not attached */ 15 + #define ENOCSI 43 /* No CSI structure available */ 16 + #define EL2HLT 44 /* Level 2 halted */ 17 + #define EDEADLK 45 /* Resource deadlock would occur */ 18 + #define EDEADLOCK EDEADLK 19 + #define ENOLCK 46 /* No record locks available */ 20 + #define EILSEQ 47 /* Illegal byte sequence */ 21 + 22 + #define ENONET 50 /* Machine is not on the network */ 23 + #define ENODATA 51 /* No data available */ 24 + #define ETIME 52 /* Timer expired */ 25 + #define ENOSR 53 /* Out of streams resources */ 26 + #define ENOSTR 54 /* Device not a stream */ 27 + #define ENOPKG 55 /* Package not installed */ 28 + 29 + #define ENOLINK 57 /* Link has been severed */ 30 + #define EADV 58 /* Advertise error */ 31 + #define ESRMNT 59 /* Srmount error */ 32 + #define ECOMM 60 /* Communication error on send */ 33 + #define EPROTO 61 /* Protocol error */ 34 + 35 + #define EMULTIHOP 64 /* Multihop attempted */ 36 + 37 + #define EDOTDOT 66 /* RFS specific error */ 38 + #define EBADMSG 67 /* Not a data message */ 39 + #define EUSERS 68 /* Too many users */ 40 + #define EDQUOT 69 /* Quota exceeded */ 41 + #define ESTALE 70 /* Stale file handle */ 42 + #define EREMOTE 71 /* Object is remote */ 43 + #define EOVERFLOW 72 /* Value too large for defined data type */ 44 + 45 + /* these errnos are defined by Linux but not HPUX. */ 46 + 47 + #define EBADE 160 /* Invalid exchange */ 48 + #define EBADR 161 /* Invalid request descriptor */ 49 + #define EXFULL 162 /* Exchange full */ 50 + #define ENOANO 163 /* No anode */ 51 + #define EBADRQC 164 /* Invalid request code */ 52 + #define EBADSLT 165 /* Invalid slot */ 53 + #define EBFONT 166 /* Bad font file format */ 54 + #define ENOTUNIQ 167 /* Name not unique on network */ 55 + #define EBADFD 168 /* File descriptor in bad state */ 56 + #define EREMCHG 169 /* Remote address changed */ 57 + #define ELIBACC 170 /* Can not access a needed shared library */ 58 + #define ELIBBAD 171 /* Accessing a corrupted shared library */ 59 + #define ELIBSCN 172 /* .lib section in a.out corrupted */ 60 + #define ELIBMAX 173 /* Attempting to link in too many shared libraries */ 61 + #define ELIBEXEC 174 /* Cannot exec a shared library directly */ 62 + #define ERESTART 175 /* Interrupted system call should be restarted */ 63 + #define ESTRPIPE 176 /* Streams pipe error */ 64 + #define EUCLEAN 177 /* Structure needs cleaning */ 65 + #define ENOTNAM 178 /* Not a XENIX named type file */ 66 + #define ENAVAIL 179 /* No XENIX semaphores available */ 67 + #define EISNAM 180 /* Is a named type file */ 68 + #define EREMOTEIO 181 /* Remote I/O error */ 69 + #define ENOMEDIUM 182 /* No medium found */ 70 + #define EMEDIUMTYPE 183 /* Wrong medium type */ 71 + #define ENOKEY 184 /* Required key not available */ 72 + #define EKEYEXPIRED 185 /* Key has expired */ 73 + #define EKEYREVOKED 186 /* Key has been revoked */ 74 + #define EKEYREJECTED 187 /* Key was rejected by service */ 75 + 76 + /* We now return you to your regularly scheduled HPUX. */ 77 + 78 + #define ENOSYM 215 /* symbol does not exist in executable */ 79 + #define ENOTSOCK 216 /* Socket operation on non-socket */ 80 + #define EDESTADDRREQ 217 /* Destination address required */ 81 + #define EMSGSIZE 218 /* Message too long */ 82 + #define EPROTOTYPE 219 /* Protocol wrong type for socket */ 83 + #define ENOPROTOOPT 220 /* Protocol not available */ 84 + #define EPROTONOSUPPORT 221 /* Protocol not supported */ 85 + #define ESOCKTNOSUPPORT 222 /* Socket type not supported */ 86 + #define EOPNOTSUPP 223 /* Operation not supported on transport endpoint */ 87 + #define EPFNOSUPPORT 224 /* Protocol family not supported */ 88 + #define EAFNOSUPPORT 225 /* Address family not supported by protocol */ 89 + #define EADDRINUSE 226 /* Address already in use */ 90 + #define EADDRNOTAVAIL 227 /* Cannot assign requested address */ 91 + #define ENETDOWN 228 /* Network is down */ 92 + #define ENETUNREACH 229 /* Network is unreachable */ 93 + #define ENETRESET 230 /* Network dropped connection because of reset */ 94 + #define ECONNABORTED 231 /* Software caused connection abort */ 95 + #define ECONNRESET 232 /* Connection reset by peer */ 96 + #define ENOBUFS 233 /* No buffer space available */ 97 + #define EISCONN 234 /* Transport endpoint is already connected */ 98 + #define ENOTCONN 235 /* Transport endpoint is not connected */ 99 + #define ESHUTDOWN 236 /* Cannot send after transport endpoint shutdown */ 100 + #define ETOOMANYREFS 237 /* Too many references: cannot splice */ 101 + #define ETIMEDOUT 238 /* Connection timed out */ 102 + #define ECONNREFUSED 239 /* Connection refused */ 103 + #define EREFUSED ECONNREFUSED /* for HP's NFS apparently */ 104 + #define EREMOTERELEASE 240 /* Remote peer released connection */ 105 + #define EHOSTDOWN 241 /* Host is down */ 106 + #define EHOSTUNREACH 242 /* No route to host */ 107 + 108 + #define EALREADY 244 /* Operation already in progress */ 109 + #define EINPROGRESS 245 /* Operation now in progress */ 110 + #define EWOULDBLOCK EAGAIN /* Operation would block (Not HPUX compliant) */ 111 + #define ENOTEMPTY 247 /* Directory not empty */ 112 + #define ENAMETOOLONG 248 /* File name too long */ 113 + #define ELOOP 249 /* Too many symbolic links encountered */ 114 + #define ENOSYS 251 /* Function not implemented */ 115 + 116 + #define ENOTSUP 252 /* Function not implemented (POSIX.4 / HPUX) */ 117 + #define ECANCELLED 253 /* aio request was canceled before complete (POSIX.4 / HPUX) */ 118 + #define ECANCELED ECANCELLED /* SuSv3 and Solaris wants one 'L' */ 119 + 120 + /* for robust mutexes */ 121 + #define EOWNERDEAD 254 /* Owner died */ 122 + #define ENOTRECOVERABLE 255 /* State not recoverable */ 123 + 124 + #define ERFKILL 256 /* Operation not possible due to RF-kill */ 125 + 126 + #define EHWPOISON 257 /* Memory page has hardware error */ 127 + 128 + #endif
+10
tools/arch/powerpc/include/uapi/asm/errno.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 + #ifndef _ASM_POWERPC_ERRNO_H 3 + #define _ASM_POWERPC_ERRNO_H 4 + 5 + #include <asm-generic/errno.h> 6 + 7 + #undef EDEADLOCK 8 + #define EDEADLOCK 58 /* File locking deadlock error */ 9 + 10 + #endif /* _ASM_POWERPC_ERRNO_H */
+118
tools/arch/sparc/include/uapi/asm/errno.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 + #ifndef _SPARC_ERRNO_H 3 + #define _SPARC_ERRNO_H 4 + 5 + /* These match the SunOS error numbering scheme. */ 6 + 7 + #include <asm-generic/errno-base.h> 8 + 9 + #define EWOULDBLOCK EAGAIN /* Operation would block */ 10 + #define EINPROGRESS 36 /* Operation now in progress */ 11 + #define EALREADY 37 /* Operation already in progress */ 12 + #define ENOTSOCK 38 /* Socket operation on non-socket */ 13 + #define EDESTADDRREQ 39 /* Destination address required */ 14 + #define EMSGSIZE 40 /* Message too long */ 15 + #define EPROTOTYPE 41 /* Protocol wrong type for socket */ 16 + #define ENOPROTOOPT 42 /* Protocol not available */ 17 + #define EPROTONOSUPPORT 43 /* Protocol not supported */ 18 + #define ESOCKTNOSUPPORT 44 /* Socket type not supported */ 19 + #define EOPNOTSUPP 45 /* Op not supported on transport endpoint */ 20 + #define EPFNOSUPPORT 46 /* Protocol family not supported */ 21 + #define EAFNOSUPPORT 47 /* Address family not supported by protocol */ 22 + #define EADDRINUSE 48 /* Address already in use */ 23 + #define EADDRNOTAVAIL 49 /* Cannot assign requested address */ 24 + #define ENETDOWN 50 /* Network is down */ 25 + #define ENETUNREACH 51 /* Network is unreachable */ 26 + #define ENETRESET 52 /* Net dropped connection because of reset */ 27 + #define ECONNABORTED 53 /* Software caused connection abort */ 28 + #define ECONNRESET 54 /* Connection reset by peer */ 29 + #define ENOBUFS 55 /* No buffer space available */ 30 + #define EISCONN 56 /* Transport endpoint is already connected */ 31 + #define ENOTCONN 57 /* Transport endpoint is not connected */ 32 + #define ESHUTDOWN 58 /* No send after transport endpoint shutdown */ 33 + #define ETOOMANYREFS 59 /* Too many references: cannot splice */ 34 + #define ETIMEDOUT 60 /* Connection timed out */ 35 + #define ECONNREFUSED 61 /* Connection refused */ 36 + #define ELOOP 62 /* Too many symbolic links encountered */ 37 + #define ENAMETOOLONG 63 /* File name too long */ 38 + #define EHOSTDOWN 64 /* Host is down */ 39 + #define EHOSTUNREACH 65 /* No route to host */ 40 + #define ENOTEMPTY 66 /* Directory not empty */ 41 + #define EPROCLIM 67 /* SUNOS: Too many processes */ 42 + #define EUSERS 68 /* Too many users */ 43 + #define EDQUOT 69 /* Quota exceeded */ 44 + #define ESTALE 70 /* Stale file handle */ 45 + #define EREMOTE 71 /* Object is remote */ 46 + #define ENOSTR 72 /* Device not a stream */ 47 + #define ETIME 73 /* Timer expired */ 48 + #define ENOSR 74 /* Out of streams resources */ 49 + #define ENOMSG 75 /* No message of desired type */ 50 + #define EBADMSG 76 /* Not a data message */ 51 + #define EIDRM 77 /* Identifier removed */ 52 + #define EDEADLK 78 /* Resource deadlock would occur */ 53 + #define ENOLCK 79 /* No record locks available */ 54 + #define ENONET 80 /* Machine is not on the network */ 55 + #define ERREMOTE 81 /* SunOS: Too many lvls of remote in path */ 56 + #define ENOLINK 82 /* Link has been severed */ 57 + #define EADV 83 /* Advertise error */ 58 + #define ESRMNT 84 /* Srmount error */ 59 + #define ECOMM 85 /* Communication error on send */ 60 + #define EPROTO 86 /* Protocol error */ 61 + #define EMULTIHOP 87 /* Multihop attempted */ 62 + #define EDOTDOT 88 /* RFS specific error */ 63 + #define EREMCHG 89 /* Remote address changed */ 64 + #define ENOSYS 90 /* Function not implemented */ 65 + 66 + /* The rest have no SunOS equivalent. */ 67 + #define ESTRPIPE 91 /* Streams pipe error */ 68 + #define EOVERFLOW 92 /* Value too large for defined data type */ 69 + #define EBADFD 93 /* File descriptor in bad state */ 70 + #define ECHRNG 94 /* Channel number out of range */ 71 + #define EL2NSYNC 95 /* Level 2 not synchronized */ 72 + #define EL3HLT 96 /* Level 3 halted */ 73 + #define EL3RST 97 /* Level 3 reset */ 74 + #define ELNRNG 98 /* Link number out of range */ 75 + #define EUNATCH 99 /* Protocol driver not attached */ 76 + #define ENOCSI 100 /* No CSI structure available */ 77 + #define EL2HLT 101 /* Level 2 halted */ 78 + #define EBADE 102 /* Invalid exchange */ 79 + #define EBADR 103 /* Invalid request descriptor */ 80 + #define EXFULL 104 /* Exchange full */ 81 + #define ENOANO 105 /* No anode */ 82 + #define EBADRQC 106 /* Invalid request code */ 83 + #define EBADSLT 107 /* Invalid slot */ 84 + #define EDEADLOCK 108 /* File locking deadlock error */ 85 + #define EBFONT 109 /* Bad font file format */ 86 + #define ELIBEXEC 110 /* Cannot exec a shared library directly */ 87 + #define ENODATA 111 /* No data available */ 88 + #define ELIBBAD 112 /* Accessing a corrupted shared library */ 89 + #define ENOPKG 113 /* Package not installed */ 90 + #define ELIBACC 114 /* Can not access a needed shared library */ 91 + #define ENOTUNIQ 115 /* Name not unique on network */ 92 + #define ERESTART 116 /* Interrupted syscall should be restarted */ 93 + #define EUCLEAN 117 /* Structure needs cleaning */ 94 + #define ENOTNAM 118 /* Not a XENIX named type file */ 95 + #define ENAVAIL 119 /* No XENIX semaphores available */ 96 + #define EISNAM 120 /* Is a named type file */ 97 + #define EREMOTEIO 121 /* Remote I/O error */ 98 + #define EILSEQ 122 /* Illegal byte sequence */ 99 + #define ELIBMAX 123 /* Atmpt to link in too many shared libs */ 100 + #define ELIBSCN 124 /* .lib section in a.out corrupted */ 101 + 102 + #define ENOMEDIUM 125 /* No medium found */ 103 + #define EMEDIUMTYPE 126 /* Wrong medium type */ 104 + #define ECANCELED 127 /* Operation Cancelled */ 105 + #define ENOKEY 128 /* Required key not available */ 106 + #define EKEYEXPIRED 129 /* Key has expired */ 107 + #define EKEYREVOKED 130 /* Key has been revoked */ 108 + #define EKEYREJECTED 131 /* Key was rejected by service */ 109 + 110 + /* for robust mutexes */ 111 + #define EOWNERDEAD 132 /* Owner died */ 112 + #define ENOTRECOVERABLE 133 /* State not recoverable */ 113 + 114 + #define ERFKILL 134 /* Operation not possible due to RF-kill */ 115 + 116 + #define EHWPOISON 135 /* Memory page has hardware error */ 117 + 118 + #endif
+1
tools/arch/x86/include/uapi/asm/errno.h
··· 1 + #include <asm-generic/errno.h>
+7
tools/perf/check-headers.sh
··· 36 36 arch/s390/include/uapi/asm/unistd.h 37 37 arch/arm/include/uapi/asm/kvm.h 38 38 arch/arm64/include/uapi/asm/kvm.h 39 + arch/alpha/include/uapi/asm/errno.h 40 + arch/mips/include/asm/errno.h 41 + arch/mips/include/uapi/asm/errno.h 42 + arch/parisc/include/uapi/asm/errno.h 43 + arch/powerpc/include/uapi/asm/errno.h 44 + arch/sparc/include/uapi/asm/errno.h 45 + arch/x86/include/uapi/asm/errno.h 39 46 include/asm-generic/bitops/arch_hweight.h 40 47 include/asm-generic/bitops/const_hweight.h 41 48 include/asm-generic/bitops/__fls.h