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