Linux Audio

Check our new training course

Loading...
Note: File does not exist in v3.5.6.
  1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2/*
  3 * This file is subject to the terms and conditions of the GNU General Public
  4 * License.  See the file "COPYING" in the main directory of this archive
  5 * for more details.
  6 *
  7 * Copyright (C) 1995, 1999, 2001, 2002 by Ralf Baechle
  8 */
  9#ifndef _UAPI_ASM_ERRNO_H
 10#define _UAPI_ASM_ERRNO_H
 11
 12/*
 13 * These error numbers are intended to be MIPS ABI compatible
 14 */
 15
 16#include <asm-generic/errno-base.h>
 17
 18#define ENOMSG		35	/* No message of desired type */
 19#define EIDRM		36	/* Identifier removed */
 20#define ECHRNG		37	/* Channel number out of range */
 21#define EL2NSYNC	38	/* Level 2 not synchronized */
 22#define EL3HLT		39	/* Level 3 halted */
 23#define EL3RST		40	/* Level 3 reset */
 24#define ELNRNG		41	/* Link number out of range */
 25#define EUNATCH		42	/* Protocol driver not attached */
 26#define ENOCSI		43	/* No CSI structure available */
 27#define EL2HLT		44	/* Level 2 halted */
 28#define EDEADLK		45	/* Resource deadlock would occur */
 29#define ENOLCK		46	/* No record locks available */
 30#define EBADE		50	/* Invalid exchange */
 31#define EBADR		51	/* Invalid request descriptor */
 32#define EXFULL		52	/* Exchange full */
 33#define ENOANO		53	/* No anode */
 34#define EBADRQC		54	/* Invalid request code */
 35#define EBADSLT		55	/* Invalid slot */
 36#define EDEADLOCK	56	/* File locking deadlock error */
 37#define EBFONT		59	/* Bad font file format */
 38#define ENOSTR		60	/* Device not a stream */
 39#define ENODATA		61	/* No data available */
 40#define ETIME		62	/* Timer expired */
 41#define ENOSR		63	/* Out of streams resources */
 42#define ENONET		64	/* Machine is not on the network */
 43#define ENOPKG		65	/* Package not installed */
 44#define EREMOTE		66	/* Object is remote */
 45#define ENOLINK		67	/* Link has been severed */
 46#define EADV		68	/* Advertise error */
 47#define ESRMNT		69	/* Srmount error */
 48#define ECOMM		70	/* Communication error on send */
 49#define EPROTO		71	/* Protocol error */
 50#define EDOTDOT		73	/* RFS specific error */
 51#define EMULTIHOP	74	/* Multihop attempted */
 52#define EBADMSG		77	/* Not a data message */
 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 ENOTNAM		137	/* Not a XENIX named type file */
 92#define ENAVAIL		138	/* No XENIX semaphores available */
 93#define EISNAM		139	/* Is a named type file */
 94#define EREMOTEIO	140	/* Remote I/O error */
 95#define EINIT		141	/* Reserved */
 96#define EREMDEV		142	/* Error 142 */
 97#define ESHUTDOWN	143	/* Cannot send after transport endpoint shutdown */
 98#define ETOOMANYREFS	144	/* Too many references: cannot splice */
 99#define ETIMEDOUT	145	/* Connection timed out */
100#define ECONNREFUSED	146	/* Connection refused */
101#define EHOSTDOWN	147	/* Host is down */
102#define EHOSTUNREACH	148	/* No route to host */
103#define EWOULDBLOCK	EAGAIN	/* Operation would block */
104#define EALREADY	149	/* Operation already in progress */
105#define EINPROGRESS	150	/* Operation now in progress */
106#define ESTALE		151	/* Stale file handle */
107#define ECANCELED	158	/* AIO operation canceled */
108
109/*
110 * These error are Linux extensions.
111 */
112#define ENOMEDIUM	159	/* No medium found */
113#define EMEDIUMTYPE	160	/* Wrong medium type */
114#define ENOKEY		161	/* Required key not available */
115#define EKEYEXPIRED	162	/* Key has expired */
116#define EKEYREVOKED	163	/* Key has been revoked */
117#define EKEYREJECTED	164	/* Key was rejected by service */
118
119/* for robust mutexes */
120#define EOWNERDEAD	165	/* Owner died */
121#define ENOTRECOVERABLE 166	/* State not recoverable */
122
123#define ERFKILL		167	/* Operation not possible due to RF-kill */
124
125#define EHWPOISON	168	/* Memory page has hardware error */
126
127#define EDQUOT		1133	/* Quota exceeded */
128
129
130#endif /* _UAPI_ASM_ERRNO_H */