1*95f28190SHendrik Brueckner /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2*95f28190SHendrik Brueckner #ifndef _ALPHA_ERRNO_H 3*95f28190SHendrik Brueckner #define _ALPHA_ERRNO_H 4*95f28190SHendrik Brueckner 5*95f28190SHendrik Brueckner #include <asm-generic/errno-base.h> 6*95f28190SHendrik Brueckner 7*95f28190SHendrik Brueckner #undef EAGAIN /* 11 in errno-base.h */ 8*95f28190SHendrik Brueckner 9*95f28190SHendrik Brueckner #define EDEADLK 11 /* Resource deadlock would occur */ 10*95f28190SHendrik Brueckner 11*95f28190SHendrik Brueckner #define EAGAIN 35 /* Try again */ 12*95f28190SHendrik Brueckner #define EWOULDBLOCK EAGAIN /* Operation would block */ 13*95f28190SHendrik Brueckner #define EINPROGRESS 36 /* Operation now in progress */ 14*95f28190SHendrik Brueckner #define EALREADY 37 /* Operation already in progress */ 15*95f28190SHendrik Brueckner #define ENOTSOCK 38 /* Socket operation on non-socket */ 16*95f28190SHendrik Brueckner #define EDESTADDRREQ 39 /* Destination address required */ 17*95f28190SHendrik Brueckner #define EMSGSIZE 40 /* Message too long */ 18*95f28190SHendrik Brueckner #define EPROTOTYPE 41 /* Protocol wrong type for socket */ 19*95f28190SHendrik Brueckner #define ENOPROTOOPT 42 /* Protocol not available */ 20*95f28190SHendrik Brueckner #define EPROTONOSUPPORT 43 /* Protocol not supported */ 21*95f28190SHendrik Brueckner #define ESOCKTNOSUPPORT 44 /* Socket type not supported */ 22*95f28190SHendrik Brueckner #define EOPNOTSUPP 45 /* Operation not supported on transport endpoint */ 23*95f28190SHendrik Brueckner #define EPFNOSUPPORT 46 /* Protocol family not supported */ 24*95f28190SHendrik Brueckner #define EAFNOSUPPORT 47 /* Address family not supported by protocol */ 25*95f28190SHendrik Brueckner #define EADDRINUSE 48 /* Address already in use */ 26*95f28190SHendrik Brueckner #define EADDRNOTAVAIL 49 /* Cannot assign requested address */ 27*95f28190SHendrik Brueckner #define ENETDOWN 50 /* Network is down */ 28*95f28190SHendrik Brueckner #define ENETUNREACH 51 /* Network is unreachable */ 29*95f28190SHendrik Brueckner #define ENETRESET 52 /* Network dropped connection because of reset */ 30*95f28190SHendrik Brueckner #define ECONNABORTED 53 /* Software caused connection abort */ 31*95f28190SHendrik Brueckner #define ECONNRESET 54 /* Connection reset by peer */ 32*95f28190SHendrik Brueckner #define ENOBUFS 55 /* No buffer space available */ 33*95f28190SHendrik Brueckner #define EISCONN 56 /* Transport endpoint is already connected */ 34*95f28190SHendrik Brueckner #define ENOTCONN 57 /* Transport endpoint is not connected */ 35*95f28190SHendrik Brueckner #define ESHUTDOWN 58 /* Cannot send after transport endpoint shutdown */ 36*95f28190SHendrik Brueckner #define ETOOMANYREFS 59 /* Too many references: cannot splice */ 37*95f28190SHendrik Brueckner #define ETIMEDOUT 60 /* Connection timed out */ 38*95f28190SHendrik Brueckner #define ECONNREFUSED 61 /* Connection refused */ 39*95f28190SHendrik Brueckner #define ELOOP 62 /* Too many symbolic links encountered */ 40*95f28190SHendrik Brueckner #define ENAMETOOLONG 63 /* File name too long */ 41*95f28190SHendrik Brueckner #define EHOSTDOWN 64 /* Host is down */ 42*95f28190SHendrik Brueckner #define EHOSTUNREACH 65 /* No route to host */ 43*95f28190SHendrik Brueckner #define ENOTEMPTY 66 /* Directory not empty */ 44*95f28190SHendrik Brueckner 45*95f28190SHendrik Brueckner #define EUSERS 68 /* Too many users */ 46*95f28190SHendrik Brueckner #define EDQUOT 69 /* Quota exceeded */ 47*95f28190SHendrik Brueckner #define ESTALE 70 /* Stale file handle */ 48*95f28190SHendrik Brueckner #define EREMOTE 71 /* Object is remote */ 49*95f28190SHendrik Brueckner 50*95f28190SHendrik Brueckner #define ENOLCK 77 /* No record locks available */ 51*95f28190SHendrik Brueckner #define ENOSYS 78 /* Function not implemented */ 52*95f28190SHendrik Brueckner 53*95f28190SHendrik Brueckner #define ENOMSG 80 /* No message of desired type */ 54*95f28190SHendrik Brueckner #define EIDRM 81 /* Identifier removed */ 55*95f28190SHendrik Brueckner #define ENOSR 82 /* Out of streams resources */ 56*95f28190SHendrik Brueckner #define ETIME 83 /* Timer expired */ 57*95f28190SHendrik Brueckner #define EBADMSG 84 /* Not a data message */ 58*95f28190SHendrik Brueckner #define EPROTO 85 /* Protocol error */ 59*95f28190SHendrik Brueckner #define ENODATA 86 /* No data available */ 60*95f28190SHendrik Brueckner #define ENOSTR 87 /* Device not a stream */ 61*95f28190SHendrik Brueckner 62*95f28190SHendrik Brueckner #define ENOPKG 92 /* Package not installed */ 63*95f28190SHendrik Brueckner 64*95f28190SHendrik Brueckner #define EILSEQ 116 /* Illegal byte sequence */ 65*95f28190SHendrik Brueckner 66*95f28190SHendrik Brueckner /* The following are just random noise.. */ 67*95f28190SHendrik Brueckner #define ECHRNG 88 /* Channel number out of range */ 68*95f28190SHendrik Brueckner #define EL2NSYNC 89 /* Level 2 not synchronized */ 69*95f28190SHendrik Brueckner #define EL3HLT 90 /* Level 3 halted */ 70*95f28190SHendrik Brueckner #define EL3RST 91 /* Level 3 reset */ 71*95f28190SHendrik Brueckner 72*95f28190SHendrik Brueckner #define ELNRNG 93 /* Link number out of range */ 73*95f28190SHendrik Brueckner #define EUNATCH 94 /* Protocol driver not attached */ 74*95f28190SHendrik Brueckner #define ENOCSI 95 /* No CSI structure available */ 75*95f28190SHendrik Brueckner #define EL2HLT 96 /* Level 2 halted */ 76*95f28190SHendrik Brueckner #define EBADE 97 /* Invalid exchange */ 77*95f28190SHendrik Brueckner #define EBADR 98 /* Invalid request descriptor */ 78*95f28190SHendrik Brueckner #define EXFULL 99 /* Exchange full */ 79*95f28190SHendrik Brueckner #define ENOANO 100 /* No anode */ 80*95f28190SHendrik Brueckner #define EBADRQC 101 /* Invalid request code */ 81*95f28190SHendrik Brueckner #define EBADSLT 102 /* Invalid slot */ 82*95f28190SHendrik Brueckner 83*95f28190SHendrik Brueckner #define EDEADLOCK EDEADLK 84*95f28190SHendrik Brueckner 85*95f28190SHendrik Brueckner #define EBFONT 104 /* Bad font file format */ 86*95f28190SHendrik Brueckner #define ENONET 105 /* Machine is not on the network */ 87*95f28190SHendrik Brueckner #define ENOLINK 106 /* Link has been severed */ 88*95f28190SHendrik Brueckner #define EADV 107 /* Advertise error */ 89*95f28190SHendrik Brueckner #define ESRMNT 108 /* Srmount error */ 90*95f28190SHendrik Brueckner #define ECOMM 109 /* Communication error on send */ 91*95f28190SHendrik Brueckner #define EMULTIHOP 110 /* Multihop attempted */ 92*95f28190SHendrik Brueckner #define EDOTDOT 111 /* RFS specific error */ 93*95f28190SHendrik Brueckner #define EOVERFLOW 112 /* Value too large for defined data type */ 94*95f28190SHendrik Brueckner #define ENOTUNIQ 113 /* Name not unique on network */ 95*95f28190SHendrik Brueckner #define EBADFD 114 /* File descriptor in bad state */ 96*95f28190SHendrik Brueckner #define EREMCHG 115 /* Remote address changed */ 97*95f28190SHendrik Brueckner 98*95f28190SHendrik Brueckner #define EUCLEAN 117 /* Structure needs cleaning */ 99*95f28190SHendrik Brueckner #define ENOTNAM 118 /* Not a XENIX named type file */ 100*95f28190SHendrik Brueckner #define ENAVAIL 119 /* No XENIX semaphores available */ 101*95f28190SHendrik Brueckner #define EISNAM 120 /* Is a named type file */ 102*95f28190SHendrik Brueckner #define EREMOTEIO 121 /* Remote I/O error */ 103*95f28190SHendrik Brueckner 104*95f28190SHendrik Brueckner #define ELIBACC 122 /* Can not access a needed shared library */ 105*95f28190SHendrik Brueckner #define ELIBBAD 123 /* Accessing a corrupted shared library */ 106*95f28190SHendrik Brueckner #define ELIBSCN 124 /* .lib section in a.out corrupted */ 107*95f28190SHendrik Brueckner #define ELIBMAX 125 /* Attempting to link in too many shared libraries */ 108*95f28190SHendrik Brueckner #define ELIBEXEC 126 /* Cannot exec a shared library directly */ 109*95f28190SHendrik Brueckner #define ERESTART 127 /* Interrupted system call should be restarted */ 110*95f28190SHendrik Brueckner #define ESTRPIPE 128 /* Streams pipe error */ 111*95f28190SHendrik Brueckner 112*95f28190SHendrik Brueckner #define ENOMEDIUM 129 /* No medium found */ 113*95f28190SHendrik Brueckner #define EMEDIUMTYPE 130 /* Wrong medium type */ 114*95f28190SHendrik Brueckner #define ECANCELED 131 /* Operation Cancelled */ 115*95f28190SHendrik Brueckner #define ENOKEY 132 /* Required key not available */ 116*95f28190SHendrik Brueckner #define EKEYEXPIRED 133 /* Key has expired */ 117*95f28190SHendrik Brueckner #define EKEYREVOKED 134 /* Key has been revoked */ 118*95f28190SHendrik Brueckner #define EKEYREJECTED 135 /* Key was rejected by service */ 119*95f28190SHendrik Brueckner 120*95f28190SHendrik Brueckner /* for robust mutexes */ 121*95f28190SHendrik Brueckner #define EOWNERDEAD 136 /* Owner died */ 122*95f28190SHendrik Brueckner #define ENOTRECOVERABLE 137 /* State not recoverable */ 123*95f28190SHendrik Brueckner 124*95f28190SHendrik Brueckner #define ERFKILL 138 /* Operation not possible due to RF-kill */ 125*95f28190SHendrik Brueckner 126*95f28190SHendrik Brueckner #define EHWPOISON 139 /* Memory page has hardware error */ 127*95f28190SHendrik Brueckner 128*95f28190SHendrik Brueckner #endif 129