162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci#ifndef _PARISC_ERRNO_H 362306a36Sopenharmony_ci#define _PARISC_ERRNO_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci#include <asm-generic/errno-base.h> 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#define ENOMSG 35 /* No message of desired type */ 862306a36Sopenharmony_ci#define EIDRM 36 /* Identifier removed */ 962306a36Sopenharmony_ci#define ECHRNG 37 /* Channel number out of range */ 1062306a36Sopenharmony_ci#define EL2NSYNC 38 /* Level 2 not synchronized */ 1162306a36Sopenharmony_ci#define EL3HLT 39 /* Level 3 halted */ 1262306a36Sopenharmony_ci#define EL3RST 40 /* Level 3 reset */ 1362306a36Sopenharmony_ci#define ELNRNG 41 /* Link number out of range */ 1462306a36Sopenharmony_ci#define EUNATCH 42 /* Protocol driver not attached */ 1562306a36Sopenharmony_ci#define ENOCSI 43 /* No CSI structure available */ 1662306a36Sopenharmony_ci#define EL2HLT 44 /* Level 2 halted */ 1762306a36Sopenharmony_ci#define EDEADLK 45 /* Resource deadlock would occur */ 1862306a36Sopenharmony_ci#define EDEADLOCK EDEADLK 1962306a36Sopenharmony_ci#define ENOLCK 46 /* No record locks available */ 2062306a36Sopenharmony_ci#define EILSEQ 47 /* Illegal byte sequence */ 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci#define ENONET 50 /* Machine is not on the network */ 2362306a36Sopenharmony_ci#define ENODATA 51 /* No data available */ 2462306a36Sopenharmony_ci#define ETIME 52 /* Timer expired */ 2562306a36Sopenharmony_ci#define ENOSR 53 /* Out of streams resources */ 2662306a36Sopenharmony_ci#define ENOSTR 54 /* Device not a stream */ 2762306a36Sopenharmony_ci#define ENOPKG 55 /* Package not installed */ 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci#define ENOLINK 57 /* Link has been severed */ 3062306a36Sopenharmony_ci#define EADV 58 /* Advertise error */ 3162306a36Sopenharmony_ci#define ESRMNT 59 /* Srmount error */ 3262306a36Sopenharmony_ci#define ECOMM 60 /* Communication error on send */ 3362306a36Sopenharmony_ci#define EPROTO 61 /* Protocol error */ 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ci#define EMULTIHOP 64 /* Multihop attempted */ 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci#define EDOTDOT 66 /* RFS specific error */ 3862306a36Sopenharmony_ci#define EBADMSG 67 /* Not a data message */ 3962306a36Sopenharmony_ci#define EUSERS 68 /* Too many users */ 4062306a36Sopenharmony_ci#define EDQUOT 69 /* Quota exceeded */ 4162306a36Sopenharmony_ci#define ESTALE 70 /* Stale file handle */ 4262306a36Sopenharmony_ci#define EREMOTE 71 /* Object is remote */ 4362306a36Sopenharmony_ci#define EOVERFLOW 72 /* Value too large for defined data type */ 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci/* these errnos are defined by Linux but not HPUX. */ 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci#define EBADE 160 /* Invalid exchange */ 4862306a36Sopenharmony_ci#define EBADR 161 /* Invalid request descriptor */ 4962306a36Sopenharmony_ci#define EXFULL 162 /* Exchange full */ 5062306a36Sopenharmony_ci#define ENOANO 163 /* No anode */ 5162306a36Sopenharmony_ci#define EBADRQC 164 /* Invalid request code */ 5262306a36Sopenharmony_ci#define EBADSLT 165 /* Invalid slot */ 5362306a36Sopenharmony_ci#define EBFONT 166 /* Bad font file format */ 5462306a36Sopenharmony_ci#define ENOTUNIQ 167 /* Name not unique on network */ 5562306a36Sopenharmony_ci#define EBADFD 168 /* File descriptor in bad state */ 5662306a36Sopenharmony_ci#define EREMCHG 169 /* Remote address changed */ 5762306a36Sopenharmony_ci#define ELIBACC 170 /* Can not access a needed shared library */ 5862306a36Sopenharmony_ci#define ELIBBAD 171 /* Accessing a corrupted shared library */ 5962306a36Sopenharmony_ci#define ELIBSCN 172 /* .lib section in a.out corrupted */ 6062306a36Sopenharmony_ci#define ELIBMAX 173 /* Attempting to link in too many shared libraries */ 6162306a36Sopenharmony_ci#define ELIBEXEC 174 /* Cannot exec a shared library directly */ 6262306a36Sopenharmony_ci#define ERESTART 175 /* Interrupted system call should be restarted */ 6362306a36Sopenharmony_ci#define ESTRPIPE 176 /* Streams pipe error */ 6462306a36Sopenharmony_ci#define EUCLEAN 177 /* Structure needs cleaning */ 6562306a36Sopenharmony_ci#define ENOTNAM 178 /* Not a XENIX named type file */ 6662306a36Sopenharmony_ci#define ENAVAIL 179 /* No XENIX semaphores available */ 6762306a36Sopenharmony_ci#define EISNAM 180 /* Is a named type file */ 6862306a36Sopenharmony_ci#define EREMOTEIO 181 /* Remote I/O error */ 6962306a36Sopenharmony_ci#define ENOMEDIUM 182 /* No medium found */ 7062306a36Sopenharmony_ci#define EMEDIUMTYPE 183 /* Wrong medium type */ 7162306a36Sopenharmony_ci#define ENOKEY 184 /* Required key not available */ 7262306a36Sopenharmony_ci#define EKEYEXPIRED 185 /* Key has expired */ 7362306a36Sopenharmony_ci#define EKEYREVOKED 186 /* Key has been revoked */ 7462306a36Sopenharmony_ci#define EKEYREJECTED 187 /* Key was rejected by service */ 7562306a36Sopenharmony_ci 7662306a36Sopenharmony_ci/* We now return you to your regularly scheduled HPUX. */ 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_ci#define ENOTSOCK 216 /* Socket operation on non-socket */ 7962306a36Sopenharmony_ci#define EDESTADDRREQ 217 /* Destination address required */ 8062306a36Sopenharmony_ci#define EMSGSIZE 218 /* Message too long */ 8162306a36Sopenharmony_ci#define EPROTOTYPE 219 /* Protocol wrong type for socket */ 8262306a36Sopenharmony_ci#define ENOPROTOOPT 220 /* Protocol not available */ 8362306a36Sopenharmony_ci#define EPROTONOSUPPORT 221 /* Protocol not supported */ 8462306a36Sopenharmony_ci#define ESOCKTNOSUPPORT 222 /* Socket type not supported */ 8562306a36Sopenharmony_ci#define EOPNOTSUPP 223 /* Operation not supported on transport endpoint */ 8662306a36Sopenharmony_ci#define EPFNOSUPPORT 224 /* Protocol family not supported */ 8762306a36Sopenharmony_ci#define EAFNOSUPPORT 225 /* Address family not supported by protocol */ 8862306a36Sopenharmony_ci#define EADDRINUSE 226 /* Address already in use */ 8962306a36Sopenharmony_ci#define EADDRNOTAVAIL 227 /* Cannot assign requested address */ 9062306a36Sopenharmony_ci#define ENETDOWN 228 /* Network is down */ 9162306a36Sopenharmony_ci#define ENETUNREACH 229 /* Network is unreachable */ 9262306a36Sopenharmony_ci#define ENETRESET 230 /* Network dropped connection because of reset */ 9362306a36Sopenharmony_ci#define ECONNABORTED 231 /* Software caused connection abort */ 9462306a36Sopenharmony_ci#define ECONNRESET 232 /* Connection reset by peer */ 9562306a36Sopenharmony_ci#define ENOBUFS 233 /* No buffer space available */ 9662306a36Sopenharmony_ci#define EISCONN 234 /* Transport endpoint is already connected */ 9762306a36Sopenharmony_ci#define ENOTCONN 235 /* Transport endpoint is not connected */ 9862306a36Sopenharmony_ci#define ESHUTDOWN 236 /* Cannot send after transport endpoint shutdown */ 9962306a36Sopenharmony_ci#define ETOOMANYREFS 237 /* Too many references: cannot splice */ 10062306a36Sopenharmony_ci#define ETIMEDOUT 238 /* Connection timed out */ 10162306a36Sopenharmony_ci#define ECONNREFUSED 239 /* Connection refused */ 10262306a36Sopenharmony_ci#define EREFUSED ECONNREFUSED /* for HP's NFS apparently */ 10362306a36Sopenharmony_ci#define EHOSTDOWN 241 /* Host is down */ 10462306a36Sopenharmony_ci#define EHOSTUNREACH 242 /* No route to host */ 10562306a36Sopenharmony_ci 10662306a36Sopenharmony_ci#define EALREADY 244 /* Operation already in progress */ 10762306a36Sopenharmony_ci#define EINPROGRESS 245 /* Operation now in progress */ 10862306a36Sopenharmony_ci#define EWOULDBLOCK EAGAIN /* Operation would block (Not HPUX compliant) */ 10962306a36Sopenharmony_ci#define ENOTEMPTY 247 /* Directory not empty */ 11062306a36Sopenharmony_ci#define ENAMETOOLONG 248 /* File name too long */ 11162306a36Sopenharmony_ci#define ELOOP 249 /* Too many symbolic links encountered */ 11262306a36Sopenharmony_ci#define ENOSYS 251 /* Function not implemented */ 11362306a36Sopenharmony_ci 11462306a36Sopenharmony_ci#define ECANCELLED 253 /* aio request was canceled before complete (POSIX.4 / HPUX) */ 11562306a36Sopenharmony_ci#define ECANCELED ECANCELLED /* SuSv3 and Solaris wants one 'L' */ 11662306a36Sopenharmony_ci 11762306a36Sopenharmony_ci/* for robust mutexes */ 11862306a36Sopenharmony_ci#define EOWNERDEAD 254 /* Owner died */ 11962306a36Sopenharmony_ci#define ENOTRECOVERABLE 255 /* State not recoverable */ 12062306a36Sopenharmony_ci 12162306a36Sopenharmony_ci#define ERFKILL 256 /* Operation not possible due to RF-kill */ 12262306a36Sopenharmony_ci 12362306a36Sopenharmony_ci#define EHWPOISON 257 /* Memory page has hardware error */ 12462306a36Sopenharmony_ci 12562306a36Sopenharmony_ci#endif 126