blob: 1b3d1060bd34c2aeb14e01780a93655fdb8e707e [file] [log] [blame]
David Howells1eda8ba2019-06-28 18:00:05 +01001// SPDX-License-Identifier: GPL-2.0
2/* Universal AFS Error codes (UAE).
3 *
4 * Copyright (C) 2003, Daria Phoebe Brashear
5 * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
6 */
7
8enum {
9 UAEPERM = 0x2f6df00, /* Operation not permitted */
10 UAENOENT = 0x2f6df01, /* No such file or directory */
11 UAESRCH = 0x2f6df02, /* No such process */
12 UAEINTR = 0x2f6df03, /* Interrupted system call */
13 UAEIO = 0x2f6df04, /* I/O error */
14 UAENXIO = 0x2f6df05, /* No such device or address */
15 UAE2BIG = 0x2f6df06, /* Arg list too long */
16 UAENOEXEC = 0x2f6df07, /* Exec format error */
17 UAEBADF = 0x2f6df08, /* Bad file number */
18 UAECHILD = 0x2f6df09, /* No child processes */
19 UAEAGAIN = 0x2f6df0a, /* Try again */
20 UAENOMEM = 0x2f6df0b, /* Out of memory */
21 UAEACCES = 0x2f6df0c, /* Permission denied */
22 UAEFAULT = 0x2f6df0d, /* Bad address */
23 UAENOTBLK = 0x2f6df0e, /* Block device required */
24 UAEBUSY = 0x2f6df0f, /* Device or resource busy */
25 UAEEXIST = 0x2f6df10, /* File exists */
26 UAEXDEV = 0x2f6df11, /* Cross-device link */
27 UAENODEV = 0x2f6df12, /* No such device */
28 UAENOTDIR = 0x2f6df13, /* Not a directory */
29 UAEISDIR = 0x2f6df14, /* Is a directory */
30 UAEINVAL = 0x2f6df15, /* Invalid argument */
31 UAENFILE = 0x2f6df16, /* File table overflow */
32 UAEMFILE = 0x2f6df17, /* Too many open files */
33 UAENOTTY = 0x2f6df18, /* Not a typewriter */
34 UAETXTBSY = 0x2f6df19, /* Text file busy */
35 UAEFBIG = 0x2f6df1a, /* File too large */
36 UAENOSPC = 0x2f6df1b, /* No space left on device */
37 UAESPIPE = 0x2f6df1c, /* Illegal seek */
38 UAEROFS = 0x2f6df1d, /* Read-only file system */
39 UAEMLINK = 0x2f6df1e, /* Too many links */
40 UAEPIPE = 0x2f6df1f, /* Broken pipe */
41 UAEDOM = 0x2f6df20, /* Math argument out of domain of func */
42 UAERANGE = 0x2f6df21, /* Math result not representable */
43 UAEDEADLK = 0x2f6df22, /* Resource deadlock would occur */
44 UAENAMETOOLONG = 0x2f6df23, /* File name too long */
45 UAENOLCK = 0x2f6df24, /* No record locks available */
46 UAENOSYS = 0x2f6df25, /* Function not implemented */
47 UAENOTEMPTY = 0x2f6df26, /* Directory not empty */
48 UAELOOP = 0x2f6df27, /* Too many symbolic links encountered */
49 UAEWOULDBLOCK = 0x2f6df28, /* Operation would block */
50 UAENOMSG = 0x2f6df29, /* No message of desired type */
51 UAEIDRM = 0x2f6df2a, /* Identifier removed */
52 UAECHRNG = 0x2f6df2b, /* Channel number out of range */
53 UAEL2NSYNC = 0x2f6df2c, /* Level 2 not synchronized */
54 UAEL3HLT = 0x2f6df2d, /* Level 3 halted */
55 UAEL3RST = 0x2f6df2e, /* Level 3 reset */
56 UAELNRNG = 0x2f6df2f, /* Link number out of range */
57 UAEUNATCH = 0x2f6df30, /* Protocol driver not attached */
58 UAENOCSI = 0x2f6df31, /* No CSI structure available */
59 UAEL2HLT = 0x2f6df32, /* Level 2 halted */
60 UAEBADE = 0x2f6df33, /* Invalid exchange */
61 UAEBADR = 0x2f6df34, /* Invalid request descriptor */
62 UAEXFULL = 0x2f6df35, /* Exchange full */
63 UAENOANO = 0x2f6df36, /* No anode */
64 UAEBADRQC = 0x2f6df37, /* Invalid request code */
65 UAEBADSLT = 0x2f6df38, /* Invalid slot */
66 UAEBFONT = 0x2f6df39, /* Bad font file format */
67 UAENOSTR = 0x2f6df3a, /* Device not a stream */
68 UAENODATA = 0x2f6df3b, /* No data available */
69 UAETIME = 0x2f6df3c, /* Timer expired */
70 UAENOSR = 0x2f6df3d, /* Out of streams resources */
71 UAENONET = 0x2f6df3e, /* Machine is not on the network */
72 UAENOPKG = 0x2f6df3f, /* Package not installed */
73 UAEREMOTE = 0x2f6df40, /* Object is remote */
74 UAENOLINK = 0x2f6df41, /* Link has been severed */
75 UAEADV = 0x2f6df42, /* Advertise error */
76 UAESRMNT = 0x2f6df43, /* Srmount error */
77 UAECOMM = 0x2f6df44, /* Communication error on send */
78 UAEPROTO = 0x2f6df45, /* Protocol error */
79 UAEMULTIHOP = 0x2f6df46, /* Multihop attempted */
80 UAEDOTDOT = 0x2f6df47, /* RFS specific error */
81 UAEBADMSG = 0x2f6df48, /* Not a data message */
82 UAEOVERFLOW = 0x2f6df49, /* Value too large for defined data type */
83 UAENOTUNIQ = 0x2f6df4a, /* Name not unique on network */
84 UAEBADFD = 0x2f6df4b, /* File descriptor in bad state */
85 UAEREMCHG = 0x2f6df4c, /* Remote address changed */
86 UAELIBACC = 0x2f6df4d, /* Can not access a needed shared library */
87 UAELIBBAD = 0x2f6df4e, /* Accessing a corrupted shared library */
88 UAELIBSCN = 0x2f6df4f, /* .lib section in a.out corrupted */
89 UAELIBMAX = 0x2f6df50, /* Attempting to link in too many shared libraries */
90 UAELIBEXEC = 0x2f6df51, /* Cannot exec a shared library directly */
91 UAEILSEQ = 0x2f6df52, /* Illegal byte sequence */
92 UAERESTART = 0x2f6df53, /* Interrupted system call should be restarted */
93 UAESTRPIPE = 0x2f6df54, /* Streams pipe error */
94 UAEUSERS = 0x2f6df55, /* Too many users */
95 UAENOTSOCK = 0x2f6df56, /* Socket operation on non-socket */
96 UAEDESTADDRREQ = 0x2f6df57, /* Destination address required */
97 UAEMSGSIZE = 0x2f6df58, /* Message too long */
98 UAEPROTOTYPE = 0x2f6df59, /* Protocol wrong type for socket */
99 UAENOPROTOOPT = 0x2f6df5a, /* Protocol not available */
100 UAEPROTONOSUPPORT = 0x2f6df5b, /* Protocol not supported */
101 UAESOCKTNOSUPPORT = 0x2f6df5c, /* Socket type not supported */
102 UAEOPNOTSUPP = 0x2f6df5d, /* Operation not supported on transport endpoint */
103 UAEPFNOSUPPORT = 0x2f6df5e, /* Protocol family not supported */
104 UAEAFNOSUPPORT = 0x2f6df5f, /* Address family not supported by protocol */
105 UAEADDRINUSE = 0x2f6df60, /* Address already in use */
106 UAEADDRNOTAVAIL = 0x2f6df61, /* Cannot assign requested address */
107 UAENETDOWN = 0x2f6df62, /* Network is down */
108 UAENETUNREACH = 0x2f6df63, /* Network is unreachable */
109 UAENETRESET = 0x2f6df64, /* Network dropped connection because of reset */
110 UAECONNABORTED = 0x2f6df65, /* Software caused connection abort */
111 UAECONNRESET = 0x2f6df66, /* Connection reset by peer */
112 UAENOBUFS = 0x2f6df67, /* No buffer space available */
113 UAEISCONN = 0x2f6df68, /* Transport endpoint is already connected */
114 UAENOTCONN = 0x2f6df69, /* Transport endpoint is not connected */
115 UAESHUTDOWN = 0x2f6df6a, /* Cannot send after transport endpoint shutdown */
116 UAETOOMANYREFS = 0x2f6df6b, /* Too many references: cannot splice */
117 UAETIMEDOUT = 0x2f6df6c, /* Connection timed out */
118 UAECONNREFUSED = 0x2f6df6d, /* Connection refused */
119 UAEHOSTDOWN = 0x2f6df6e, /* Host is down */
120 UAEHOSTUNREACH = 0x2f6df6f, /* No route to host */
121 UAEALREADY = 0x2f6df70, /* Operation already in progress */
122 UAEINPROGRESS = 0x2f6df71, /* Operation now in progress */
123 UAESTALE = 0x2f6df72, /* Stale NFS file handle */
124 UAEUCLEAN = 0x2f6df73, /* Structure needs cleaning */
125 UAENOTNAM = 0x2f6df74, /* Not a XENIX named type file */
126 UAENAVAIL = 0x2f6df75, /* No XENIX semaphores available */
127 UAEISNAM = 0x2f6df76, /* Is a named type file */
128 UAEREMOTEIO = 0x2f6df77, /* Remote I/O error */
129 UAEDQUOT = 0x2f6df78, /* Quota exceeded */
130 UAENOMEDIUM = 0x2f6df79, /* No medium found */
131 UAEMEDIUMTYPE = 0x2f6df7a, /* Wrong medium type */
132};