![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 #ifndef _ASM_GENERIC_ERRNO_H 0003 #define _ASM_GENERIC_ERRNO_H 0004 0005 #include <asm-generic/errno-base.h> 0006 0007 #define EDEADLK 35 /* Resource deadlock would occur */ 0008 #define ENAMETOOLONG 36 /* File name too long */ 0009 #define ENOLCK 37 /* No record locks available */ 0010 0011 /* 0012 * This error code is special: arch syscall entry code will return 0013 * -ENOSYS if users try to call a syscall that doesn't exist. To keep 0014 * failures of syscalls that really do exist distinguishable from 0015 * failures due to attempts to use a nonexistent syscall, syscall 0016 * implementations should refrain from returning -ENOSYS. 0017 */ 0018 #define ENOSYS 38 /* Invalid system call number */ 0019 0020 #define ENOTEMPTY 39 /* Directory not empty */ 0021 #define ELOOP 40 /* Too many symbolic links encountered */ 0022 #define EWOULDBLOCK EAGAIN /* Operation would block */ 0023 #define ENOMSG 42 /* No message of desired type */ 0024 #define EIDRM 43 /* Identifier removed */ 0025 #define ECHRNG 44 /* Channel number out of range */ 0026 #define EL2NSYNC 45 /* Level 2 not synchronized */ 0027 #define EL3HLT 46 /* Level 3 halted */ 0028 #define EL3RST 47 /* Level 3 reset */ 0029 #define ELNRNG 48 /* Link number out of range */ 0030 #define EUNATCH 49 /* Protocol driver not attached */ 0031 #define ENOCSI 50 /* No CSI structure available */ 0032 #define EL2HLT 51 /* Level 2 halted */ 0033 #define EBADE 52 /* Invalid exchange */ 0034 #define EBADR 53 /* Invalid request descriptor */ 0035 #define EXFULL 54 /* Exchange full */ 0036 #define ENOANO 55 /* No anode */ 0037 #define EBADRQC 56 /* Invalid request code */ 0038 #define EBADSLT 57 /* Invalid slot */ 0039 0040 #define EDEADLOCK EDEADLK 0041 0042 #define EBFONT 59 /* Bad font file format */ 0043 #define ENOSTR 60 /* Device not a stream */ 0044 #define ENODATA 61 /* No data available */ 0045 #define ETIME 62 /* Timer expired */ 0046 #define ENOSR 63 /* Out of streams resources */ 0047 #define ENONET 64 /* Machine is not on the network */ 0048 #define ENOPKG 65 /* Package not installed */ 0049 #define EREMOTE 66 /* Object is remote */ 0050 #define ENOLINK 67 /* Link has been severed */ 0051 #define EADV 68 /* Advertise error */ 0052 #define ESRMNT 69 /* Srmount error */ 0053 #define ECOMM 70 /* Communication error on send */ 0054 #define EPROTO 71 /* Protocol error */ 0055 #define EMULTIHOP 72 /* Multihop attempted */ 0056 #define EDOTDOT 73 /* RFS specific error */ 0057 #define EBADMSG 74 /* Not a data message */ 0058 #define EOVERFLOW 75 /* Value too large for defined data type */ 0059 #define ENOTUNIQ 76 /* Name not unique on network */ 0060 #define EBADFD 77 /* File descriptor in bad state */ 0061 #define EREMCHG 78 /* Remote address changed */ 0062 #define ELIBACC 79 /* Can not access a needed shared library */ 0063 #define ELIBBAD 80 /* Accessing a corrupted shared library */ 0064 #define ELIBSCN 81 /* .lib section in a.out corrupted */ 0065 #define ELIBMAX 82 /* Attempting to link in too many shared libraries */ 0066 #define ELIBEXEC 83 /* Cannot exec a shared library directly */ 0067 #define EILSEQ 84 /* Illegal byte sequence */ 0068 #define ERESTART 85 /* Interrupted system call should be restarted */ 0069 #define ESTRPIPE 86 /* Streams pipe error */ 0070 #define EUSERS 87 /* Too many users */ 0071 #define ENOTSOCK 88 /* Socket operation on non-socket */ 0072 #define EDESTADDRREQ 89 /* Destination address required */ 0073 #define EMSGSIZE 90 /* Message too long */ 0074 #define EPROTOTYPE 91 /* Protocol wrong type for socket */ 0075 #define ENOPROTOOPT 92 /* Protocol not available */ 0076 #define EPROTONOSUPPORT 93 /* Protocol not supported */ 0077 #define ESOCKTNOSUPPORT 94 /* Socket type not supported */ 0078 #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */ 0079 #define EPFNOSUPPORT 96 /* Protocol family not supported */ 0080 #define EAFNOSUPPORT 97 /* Address family not supported by protocol */ 0081 #define EADDRINUSE 98 /* Address already in use */ 0082 #define EADDRNOTAVAIL 99 /* Cannot assign requested address */ 0083 #define ENETDOWN 100 /* Network is down */ 0084 #define ENETUNREACH 101 /* Network is unreachable */ 0085 #define ENETRESET 102 /* Network dropped connection because of reset */ 0086 #define ECONNABORTED 103 /* Software caused connection abort */ 0087 #define ECONNRESET 104 /* Connection reset by peer */ 0088 #define ENOBUFS 105 /* No buffer space available */ 0089 #define EISCONN 106 /* Transport endpoint is already connected */ 0090 #define ENOTCONN 107 /* Transport endpoint is not connected */ 0091 #define ESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */ 0092 #define ETOOMANYREFS 109 /* Too many references: cannot splice */ 0093 #define ETIMEDOUT 110 /* Connection timed out */ 0094 #define ECONNREFUSED 111 /* Connection refused */ 0095 #define EHOSTDOWN 112 /* Host is down */ 0096 #define EHOSTUNREACH 113 /* No route to host */ 0097 #define EALREADY 114 /* Operation already in progress */ 0098 #define EINPROGRESS 115 /* Operation now in progress */ 0099 #define ESTALE 116 /* Stale file handle */ 0100 #define EUCLEAN 117 /* Structure needs cleaning */ 0101 #define ENOTNAM 118 /* Not a XENIX named type file */ 0102 #define ENAVAIL 119 /* No XENIX semaphores available */ 0103 #define EISNAM 120 /* Is a named type file */ 0104 #define EREMOTEIO 121 /* Remote I/O error */ 0105 #define EDQUOT 122 /* Quota exceeded */ 0106 0107 #define ENOMEDIUM 123 /* No medium found */ 0108 #define EMEDIUMTYPE 124 /* Wrong medium type */ 0109 #define ECANCELED 125 /* Operation Canceled */ 0110 #define ENOKEY 126 /* Required key not available */ 0111 #define EKEYEXPIRED 127 /* Key has expired */ 0112 #define EKEYREVOKED 128 /* Key has been revoked */ 0113 #define EKEYREJECTED 129 /* Key was rejected by service */ 0114 0115 /* for robust mutexes */ 0116 #define EOWNERDEAD 130 /* Owner died */ 0117 #define ENOTRECOVERABLE 131 /* State not recoverable */ 0118 0119 #define ERFKILL 132 /* Operation not possible due to RF-kill */ 0120 0121 #define EHWPOISON 133 /* Memory page has hardware error */ 0122 0123 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |