Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * This file is subject to the terms and conditions of the GNU General Public
0004  * License.  See the file "COPYING" in the main directory of this archive
0005  * for more details.
0006  *
0007  * Copyright (C) 1995, 1999, 2001, 2002 by Ralf Baechle
0008  */
0009 #ifndef _UAPI_ASM_ERRNO_H
0010 #define _UAPI_ASM_ERRNO_H
0011 
0012 /*
0013  * These error numbers are intended to be MIPS ABI compatible
0014  */
0015 
0016 #include <asm-generic/errno-base.h>
0017 
0018 #define ENOMSG      35  /* No message of desired type */
0019 #define EIDRM       36  /* Identifier removed */
0020 #define ECHRNG      37  /* Channel number out of range */
0021 #define EL2NSYNC    38  /* Level 2 not synchronized */
0022 #define EL3HLT      39  /* Level 3 halted */
0023 #define EL3RST      40  /* Level 3 reset */
0024 #define ELNRNG      41  /* Link number out of range */
0025 #define EUNATCH     42  /* Protocol driver not attached */
0026 #define ENOCSI      43  /* No CSI structure available */
0027 #define EL2HLT      44  /* Level 2 halted */
0028 #define EDEADLK     45  /* Resource deadlock would occur */
0029 #define ENOLCK      46  /* No record locks available */
0030 #define EBADE       50  /* Invalid exchange */
0031 #define EBADR       51  /* Invalid request descriptor */
0032 #define EXFULL      52  /* Exchange full */
0033 #define ENOANO      53  /* No anode */
0034 #define EBADRQC     54  /* Invalid request code */
0035 #define EBADSLT     55  /* Invalid slot */
0036 #define EDEADLOCK   56  /* File locking deadlock error */
0037 #define EBFONT      59  /* Bad font file format */
0038 #define ENOSTR      60  /* Device not a stream */
0039 #define ENODATA     61  /* No data available */
0040 #define ETIME       62  /* Timer expired */
0041 #define ENOSR       63  /* Out of streams resources */
0042 #define ENONET      64  /* Machine is not on the network */
0043 #define ENOPKG      65  /* Package not installed */
0044 #define EREMOTE     66  /* Object is remote */
0045 #define ENOLINK     67  /* Link has been severed */
0046 #define EADV        68  /* Advertise error */
0047 #define ESRMNT      69  /* Srmount error */
0048 #define ECOMM       70  /* Communication error on send */
0049 #define EPROTO      71  /* Protocol error */
0050 #define EDOTDOT     73  /* RFS specific error */
0051 #define EMULTIHOP   74  /* Multihop attempted */
0052 #define EBADMSG     77  /* Not a data message */
0053 #define ENAMETOOLONG    78  /* File name too long */
0054 #define EOVERFLOW   79  /* Value too large for defined data type */
0055 #define ENOTUNIQ    80  /* Name not unique on network */
0056 #define EBADFD      81  /* File descriptor in bad state */
0057 #define EREMCHG     82  /* Remote address changed */
0058 #define ELIBACC     83  /* Can not access a needed shared library */
0059 #define ELIBBAD     84  /* Accessing a corrupted shared library */
0060 #define ELIBSCN     85  /* .lib section in a.out corrupted */
0061 #define ELIBMAX     86  /* Attempting to link in too many shared libraries */
0062 #define ELIBEXEC    87  /* Cannot exec a shared library directly */
0063 #define EILSEQ      88  /* Illegal byte sequence */
0064 #define ENOSYS      89  /* Function not implemented */
0065 #define ELOOP       90  /* Too many symbolic links encountered */
0066 #define ERESTART    91  /* Interrupted system call should be restarted */
0067 #define ESTRPIPE    92  /* Streams pipe error */
0068 #define ENOTEMPTY   93  /* Directory not empty */
0069 #define EUSERS      94  /* Too many users */
0070 #define ENOTSOCK    95  /* Socket operation on non-socket */
0071 #define EDESTADDRREQ    96  /* Destination address required */
0072 #define EMSGSIZE    97  /* Message too long */
0073 #define EPROTOTYPE  98  /* Protocol wrong type for socket */
0074 #define ENOPROTOOPT 99  /* Protocol not available */
0075 #define EPROTONOSUPPORT 120 /* Protocol not supported */
0076 #define ESOCKTNOSUPPORT 121 /* Socket type not supported */
0077 #define EOPNOTSUPP  122 /* Operation not supported on transport endpoint */
0078 #define EPFNOSUPPORT    123 /* Protocol family not supported */
0079 #define EAFNOSUPPORT    124 /* Address family not supported by protocol */
0080 #define EADDRINUSE  125 /* Address already in use */
0081 #define EADDRNOTAVAIL   126 /* Cannot assign requested address */
0082 #define ENETDOWN    127 /* Network is down */
0083 #define ENETUNREACH 128 /* Network is unreachable */
0084 #define ENETRESET   129 /* Network dropped connection because of reset */
0085 #define ECONNABORTED    130 /* Software caused connection abort */
0086 #define ECONNRESET  131 /* Connection reset by peer */
0087 #define ENOBUFS     132 /* No buffer space available */
0088 #define EISCONN     133 /* Transport endpoint is already connected */
0089 #define ENOTCONN    134 /* Transport endpoint is not connected */
0090 #define EUCLEAN     135 /* Structure needs cleaning */
0091 #define ENOTNAM     137 /* Not a XENIX named type file */
0092 #define ENAVAIL     138 /* No XENIX semaphores available */
0093 #define EISNAM      139 /* Is a named type file */
0094 #define EREMOTEIO   140 /* Remote I/O error */
0095 #define EINIT       141 /* Reserved */
0096 #define EREMDEV     142 /* Error 142 */
0097 #define ESHUTDOWN   143 /* Cannot send after transport endpoint shutdown */
0098 #define ETOOMANYREFS    144 /* Too many references: cannot splice */
0099 #define ETIMEDOUT   145 /* Connection timed out */
0100 #define ECONNREFUSED    146 /* Connection refused */
0101 #define EHOSTDOWN   147 /* Host is down */
0102 #define EHOSTUNREACH    148 /* No route to host */
0103 #define EWOULDBLOCK EAGAIN  /* Operation would block */
0104 #define EALREADY    149 /* Operation already in progress */
0105 #define EINPROGRESS 150 /* Operation now in progress */
0106 #define ESTALE      151 /* Stale file handle */
0107 #define ECANCELED   158 /* AIO operation canceled */
0108 
0109 /*
0110  * These error are Linux extensions.
0111  */
0112 #define ENOMEDIUM   159 /* No medium found */
0113 #define EMEDIUMTYPE 160 /* Wrong medium type */
0114 #define ENOKEY      161 /* Required key not available */
0115 #define EKEYEXPIRED 162 /* Key has expired */
0116 #define EKEYREVOKED 163 /* Key has been revoked */
0117 #define EKEYREJECTED    164 /* Key was rejected by service */
0118 
0119 /* for robust mutexes */
0120 #define EOWNERDEAD  165 /* Owner died */
0121 #define ENOTRECOVERABLE 166 /* State not recoverable */
0122 
0123 #define ERFKILL     167 /* Operation not possible due to RF-kill */
0124 
0125 #define EHWPOISON   168 /* Memory page has hardware error */
0126 
0127 #define EDQUOT      1133    /* Quota exceeded */
0128 
0129 
0130 #endif /* _UAPI_ASM_ERRNO_H */