/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1#ifndef _PARISC_ERRNO_H2#define _PARISC_ERRNO_H34#include <asm-generic/errno-base.h>56#define ENOMSG 35 /* No message of desired type */7#define EIDRM 36 /* Identifier removed */8#define ECHRNG 37 /* Channel number out of range */9#define EL2NSYNC 38 /* Level 2 not synchronized */10#define EL3HLT 39 /* Level 3 halted */11#define EL3RST 40 /* Level 3 reset */12#define ELNRNG 41 /* Link number out of range */13#define EUNATCH 42 /* Protocol driver not attached */14#define ENOCSI 43 /* No CSI structure available */15#define EL2HLT 44 /* Level 2 halted */16#define EDEADLK 45 /* Resource deadlock would occur */17#define EDEADLOCK EDEADLK18#define ENOLCK 46 /* No record locks available */19#define EILSEQ 47 /* Illegal byte sequence */2021#define ENONET 50 /* Machine is not on the network */22#define ENODATA 51 /* No data available */23#define ETIME 52 /* Timer expired */24#define ENOSR 53 /* Out of streams resources */25#define ENOSTR 54 /* Device not a stream */26#define ENOPKG 55 /* Package not installed */2728#define ENOLINK 57 /* Link has been severed */29#define EADV 58 /* Advertise error */30#define ESRMNT 59 /* Srmount error */31#define ECOMM 60 /* Communication error on send */32#define EPROTO 61 /* Protocol error */3334#define EMULTIHOP 64 /* Multihop attempted */3536#define EDOTDOT 66 /* RFS specific error */37#define EBADMSG 67 /* Not a data message */38#define EUSERS 68 /* Too many users */39#define EDQUOT 69 /* Quota exceeded */40#define ESTALE 70 /* Stale file handle */41#define EREMOTE 71 /* Object is remote */42#define EOVERFLOW 72 /* Value too large for defined data type */4344/* these errnos are defined by Linux but not HPUX. */4546#define EBADE 160 /* Invalid exchange */47#define EBADR 161 /* Invalid request descriptor */48#define EXFULL 162 /* Exchange full */49#define ENOANO 163 /* No anode */50#define EBADRQC 164 /* Invalid request code */51#define EBADSLT 165 /* Invalid slot */52#define EBFONT 166 /* Bad font file format */53#define ENOTUNIQ 167 /* Name not unique on network */54#define EBADFD 168 /* File descriptor in bad state */55#define EREMCHG 169 /* Remote address changed */56#define ELIBACC 170 /* Can not access a needed shared library */57#define ELIBBAD 171 /* Accessing a corrupted shared library */58#define ELIBSCN 172 /* .lib section in a.out corrupted */59#define ELIBMAX 173 /* Attempting to link in too many shared libraries */60#define ELIBEXEC 174 /* Cannot exec a shared library directly */61#define ERESTART 175 /* Interrupted system call should be restarted */62#define ESTRPIPE 176 /* Streams pipe error */63#define EUCLEAN 177 /* Structure needs cleaning */64#define ENOTNAM 178 /* Not a XENIX named type file */65#define ENAVAIL 179 /* No XENIX semaphores available */66#define EISNAM 180 /* Is a named type file */67#define EREMOTEIO 181 /* Remote I/O error */68#define ENOMEDIUM 182 /* No medium found */69#define EMEDIUMTYPE 183 /* Wrong medium type */70#define ENOKEY 184 /* Required key not available */71#define EKEYEXPIRED 185 /* Key has expired */72#define EKEYREVOKED 186 /* Key has been revoked */73#define EKEYREJECTED 187 /* Key was rejected by service */7475/* We now return you to your regularly scheduled HPUX. */7677#define ENOTSOCK 216 /* Socket operation on non-socket */78#define EDESTADDRREQ 217 /* Destination address required */79#define EMSGSIZE 218 /* Message too long */80#define EPROTOTYPE 219 /* Protocol wrong type for socket */81#define ENOPROTOOPT 220 /* Protocol not available */82#define EPROTONOSUPPORT 221 /* Protocol not supported */83#define ESOCKTNOSUPPORT 222 /* Socket type not supported */84#define EOPNOTSUPP 223 /* Operation not supported on transport endpoint */85#define EPFNOSUPPORT 224 /* Protocol family not supported */86#define EAFNOSUPPORT 225 /* Address family not supported by protocol */87#define EADDRINUSE 226 /* Address already in use */88#define EADDRNOTAVAIL 227 /* Cannot assign requested address */89#define ENETDOWN 228 /* Network is down */90#define ENETUNREACH 229 /* Network is unreachable */91#define ENETRESET 230 /* Network dropped connection because of reset */92#define ECONNABORTED 231 /* Software caused connection abort */93#define ECONNRESET 232 /* Connection reset by peer */94#define ENOBUFS 233 /* No buffer space available */95#define EISCONN 234 /* Transport endpoint is already connected */96#define ENOTCONN 235 /* Transport endpoint is not connected */97#define ESHUTDOWN 236 /* Cannot send after transport endpoint shutdown */98#define ETOOMANYREFS 237 /* Too many references: cannot splice */99#define ETIMEDOUT 238 /* Connection timed out */100#define ECONNREFUSED 239 /* Connection refused */101#define EREFUSED ECONNREFUSED /* for HP's NFS apparently */102#define EHOSTDOWN 241 /* Host is down */103#define EHOSTUNREACH 242 /* No route to host */104105#define EALREADY 244 /* Operation already in progress */106#define EINPROGRESS 245 /* Operation now in progress */107#define EWOULDBLOCK EAGAIN /* Operation would block (Not HPUX compliant) */108#define ENOTEMPTY 247 /* Directory not empty */109#define ENAMETOOLONG 248 /* File name too long */110#define ELOOP 249 /* Too many symbolic links encountered */111#define ENOSYS 251 /* Function not implemented */112113#define ECANCELLED 253 /* aio request was canceled before complete (POSIX.4 / HPUX) */114#define ECANCELED ECANCELLED /* SuSv3 and Solaris wants one 'L' */115116/* for robust mutexes */117#define EOWNERDEAD 254 /* Owner died */118#define ENOTRECOVERABLE 255 /* State not recoverable */119120#define ERFKILL 256 /* Operation not possible due to RF-kill */121122#define EHWPOISON 257 /* Memory page has hardware error */123124#endif125126127