1*e2be04c7SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 261730c53SDavid Howells /* 361730c53SDavid Howells * This file is subject to the terms and conditions of the GNU General Public 461730c53SDavid Howells * License. See the file "COPYING" in the main directory of this archive 561730c53SDavid Howells * for more details. 661730c53SDavid Howells * 761730c53SDavid Howells * Copyright (C) 1995, 1999, 2001, 2002 by Ralf Baechle 861730c53SDavid Howells */ 961730c53SDavid Howells #ifndef _UAPI_ASM_ERRNO_H 1061730c53SDavid Howells #define _UAPI_ASM_ERRNO_H 1161730c53SDavid Howells 1261730c53SDavid Howells /* 1361730c53SDavid Howells * These error numbers are intended to be MIPS ABI compatible 1461730c53SDavid Howells */ 1561730c53SDavid Howells 1661730c53SDavid Howells #include <asm-generic/errno-base.h> 1761730c53SDavid Howells 1861730c53SDavid Howells #define ENOMSG 35 /* No message of desired type */ 1961730c53SDavid Howells #define EIDRM 36 /* Identifier removed */ 2061730c53SDavid Howells #define ECHRNG 37 /* Channel number out of range */ 2161730c53SDavid Howells #define EL2NSYNC 38 /* Level 2 not synchronized */ 2261730c53SDavid Howells #define EL3HLT 39 /* Level 3 halted */ 2361730c53SDavid Howells #define EL3RST 40 /* Level 3 reset */ 2461730c53SDavid Howells #define ELNRNG 41 /* Link number out of range */ 2561730c53SDavid Howells #define EUNATCH 42 /* Protocol driver not attached */ 2661730c53SDavid Howells #define ENOCSI 43 /* No CSI structure available */ 2761730c53SDavid Howells #define EL2HLT 44 /* Level 2 halted */ 2861730c53SDavid Howells #define EDEADLK 45 /* Resource deadlock would occur */ 2961730c53SDavid Howells #define ENOLCK 46 /* No record locks available */ 3061730c53SDavid Howells #define EBADE 50 /* Invalid exchange */ 3161730c53SDavid Howells #define EBADR 51 /* Invalid request descriptor */ 3261730c53SDavid Howells #define EXFULL 52 /* Exchange full */ 3361730c53SDavid Howells #define ENOANO 53 /* No anode */ 3461730c53SDavid Howells #define EBADRQC 54 /* Invalid request code */ 3561730c53SDavid Howells #define EBADSLT 55 /* Invalid slot */ 3661730c53SDavid Howells #define EDEADLOCK 56 /* File locking deadlock error */ 3761730c53SDavid Howells #define EBFONT 59 /* Bad font file format */ 3861730c53SDavid Howells #define ENOSTR 60 /* Device not a stream */ 3961730c53SDavid Howells #define ENODATA 61 /* No data available */ 4061730c53SDavid Howells #define ETIME 62 /* Timer expired */ 4161730c53SDavid Howells #define ENOSR 63 /* Out of streams resources */ 4261730c53SDavid Howells #define ENONET 64 /* Machine is not on the network */ 4361730c53SDavid Howells #define ENOPKG 65 /* Package not installed */ 4461730c53SDavid Howells #define EREMOTE 66 /* Object is remote */ 4561730c53SDavid Howells #define ENOLINK 67 /* Link has been severed */ 4661730c53SDavid Howells #define EADV 68 /* Advertise error */ 4761730c53SDavid Howells #define ESRMNT 69 /* Srmount error */ 4861730c53SDavid Howells #define ECOMM 70 /* Communication error on send */ 4961730c53SDavid Howells #define EPROTO 71 /* Protocol error */ 5061730c53SDavid Howells #define EDOTDOT 73 /* RFS specific error */ 5161730c53SDavid Howells #define EMULTIHOP 74 /* Multihop attempted */ 5261730c53SDavid Howells #define EBADMSG 77 /* Not a data message */ 5361730c53SDavid Howells #define ENAMETOOLONG 78 /* File name too long */ 5461730c53SDavid Howells #define EOVERFLOW 79 /* Value too large for defined data type */ 5561730c53SDavid Howells #define ENOTUNIQ 80 /* Name not unique on network */ 5661730c53SDavid Howells #define EBADFD 81 /* File descriptor in bad state */ 5761730c53SDavid Howells #define EREMCHG 82 /* Remote address changed */ 5861730c53SDavid Howells #define ELIBACC 83 /* Can not access a needed shared library */ 5961730c53SDavid Howells #define ELIBBAD 84 /* Accessing a corrupted shared library */ 6061730c53SDavid Howells #define ELIBSCN 85 /* .lib section in a.out corrupted */ 6161730c53SDavid Howells #define ELIBMAX 86 /* Attempting to link in too many shared libraries */ 6261730c53SDavid Howells #define ELIBEXEC 87 /* Cannot exec a shared library directly */ 6361730c53SDavid Howells #define EILSEQ 88 /* Illegal byte sequence */ 6461730c53SDavid Howells #define ENOSYS 89 /* Function not implemented */ 6561730c53SDavid Howells #define ELOOP 90 /* Too many symbolic links encountered */ 6661730c53SDavid Howells #define ERESTART 91 /* Interrupted system call should be restarted */ 6761730c53SDavid Howells #define ESTRPIPE 92 /* Streams pipe error */ 6861730c53SDavid Howells #define ENOTEMPTY 93 /* Directory not empty */ 6961730c53SDavid Howells #define EUSERS 94 /* Too many users */ 7061730c53SDavid Howells #define ENOTSOCK 95 /* Socket operation on non-socket */ 7161730c53SDavid Howells #define EDESTADDRREQ 96 /* Destination address required */ 7261730c53SDavid Howells #define EMSGSIZE 97 /* Message too long */ 7361730c53SDavid Howells #define EPROTOTYPE 98 /* Protocol wrong type for socket */ 7461730c53SDavid Howells #define ENOPROTOOPT 99 /* Protocol not available */ 7561730c53SDavid Howells #define EPROTONOSUPPORT 120 /* Protocol not supported */ 7661730c53SDavid Howells #define ESOCKTNOSUPPORT 121 /* Socket type not supported */ 7761730c53SDavid Howells #define EOPNOTSUPP 122 /* Operation not supported on transport endpoint */ 7861730c53SDavid Howells #define EPFNOSUPPORT 123 /* Protocol family not supported */ 7961730c53SDavid Howells #define EAFNOSUPPORT 124 /* Address family not supported by protocol */ 8061730c53SDavid Howells #define EADDRINUSE 125 /* Address already in use */ 8161730c53SDavid Howells #define EADDRNOTAVAIL 126 /* Cannot assign requested address */ 8261730c53SDavid Howells #define ENETDOWN 127 /* Network is down */ 8361730c53SDavid Howells #define ENETUNREACH 128 /* Network is unreachable */ 8461730c53SDavid Howells #define ENETRESET 129 /* Network dropped connection because of reset */ 8561730c53SDavid Howells #define ECONNABORTED 130 /* Software caused connection abort */ 8661730c53SDavid Howells #define ECONNRESET 131 /* Connection reset by peer */ 8761730c53SDavid Howells #define ENOBUFS 132 /* No buffer space available */ 8861730c53SDavid Howells #define EISCONN 133 /* Transport endpoint is already connected */ 8961730c53SDavid Howells #define ENOTCONN 134 /* Transport endpoint is not connected */ 9061730c53SDavid Howells #define EUCLEAN 135 /* Structure needs cleaning */ 9161730c53SDavid Howells #define ENOTNAM 137 /* Not a XENIX named type file */ 9261730c53SDavid Howells #define ENAVAIL 138 /* No XENIX semaphores available */ 9361730c53SDavid Howells #define EISNAM 139 /* Is a named type file */ 9461730c53SDavid Howells #define EREMOTEIO 140 /* Remote I/O error */ 9561730c53SDavid Howells #define EINIT 141 /* Reserved */ 9661730c53SDavid Howells #define EREMDEV 142 /* Error 142 */ 9761730c53SDavid Howells #define ESHUTDOWN 143 /* Cannot send after transport endpoint shutdown */ 9861730c53SDavid Howells #define ETOOMANYREFS 144 /* Too many references: cannot splice */ 9961730c53SDavid Howells #define ETIMEDOUT 145 /* Connection timed out */ 10061730c53SDavid Howells #define ECONNREFUSED 146 /* Connection refused */ 10161730c53SDavid Howells #define EHOSTDOWN 147 /* Host is down */ 10261730c53SDavid Howells #define EHOSTUNREACH 148 /* No route to host */ 10361730c53SDavid Howells #define EWOULDBLOCK EAGAIN /* Operation would block */ 10461730c53SDavid Howells #define EALREADY 149 /* Operation already in progress */ 10561730c53SDavid Howells #define EINPROGRESS 150 /* Operation now in progress */ 1060ca43435SEric Sandeen #define ESTALE 151 /* Stale file handle */ 10761730c53SDavid Howells #define ECANCELED 158 /* AIO operation canceled */ 10861730c53SDavid Howells 10961730c53SDavid Howells /* 11061730c53SDavid Howells * These error are Linux extensions. 11161730c53SDavid Howells */ 11261730c53SDavid Howells #define ENOMEDIUM 159 /* No medium found */ 11361730c53SDavid Howells #define EMEDIUMTYPE 160 /* Wrong medium type */ 11461730c53SDavid Howells #define ENOKEY 161 /* Required key not available */ 11561730c53SDavid Howells #define EKEYEXPIRED 162 /* Key has expired */ 11661730c53SDavid Howells #define EKEYREVOKED 163 /* Key has been revoked */ 11761730c53SDavid Howells #define EKEYREJECTED 164 /* Key was rejected by service */ 11861730c53SDavid Howells 11961730c53SDavid Howells /* for robust mutexes */ 12061730c53SDavid Howells #define EOWNERDEAD 165 /* Owner died */ 12161730c53SDavid Howells #define ENOTRECOVERABLE 166 /* State not recoverable */ 12261730c53SDavid Howells 12361730c53SDavid Howells #define ERFKILL 167 /* Operation not possible due to RF-kill */ 12461730c53SDavid Howells 12561730c53SDavid Howells #define EHWPOISON 168 /* Memory page has hardware error */ 12661730c53SDavid Howells 12761730c53SDavid Howells #define EDQUOT 1133 /* Quota exceeded */ 12861730c53SDavid Howells 12961730c53SDavid Howells 13061730c53SDavid Howells #endif /* _UAPI_ASM_ERRNO_H */ 131