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