Back to home page

OSCL-LXR

 
 

    


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