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