xref: /openbmc/linux/fs/afs/protocol_uae.h (revision 1eda8bab)
11eda8babSDavid Howells // SPDX-License-Identifier: GPL-2.0
21eda8babSDavid Howells /* Universal AFS Error codes (UAE).
31eda8babSDavid Howells  *
41eda8babSDavid Howells  * Copyright (C) 2003, Daria Phoebe Brashear
51eda8babSDavid Howells  * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
61eda8babSDavid Howells  */
71eda8babSDavid Howells 
81eda8babSDavid Howells enum {
91eda8babSDavid Howells 	UAEPERM			= 0x2f6df00, /* Operation not permitted */
101eda8babSDavid Howells 	UAENOENT		= 0x2f6df01, /* No such file or directory */
111eda8babSDavid Howells 	UAESRCH			= 0x2f6df02, /* No such process */
121eda8babSDavid Howells 	UAEINTR			= 0x2f6df03, /* Interrupted system call */
131eda8babSDavid Howells 	UAEIO			= 0x2f6df04, /* I/O error */
141eda8babSDavid Howells 	UAENXIO			= 0x2f6df05, /* No such device or address */
151eda8babSDavid Howells 	UAE2BIG			= 0x2f6df06, /* Arg list too long */
161eda8babSDavid Howells 	UAENOEXEC		= 0x2f6df07, /* Exec format error */
171eda8babSDavid Howells 	UAEBADF			= 0x2f6df08, /* Bad file number */
181eda8babSDavid Howells 	UAECHILD		= 0x2f6df09, /* No child processes */
191eda8babSDavid Howells 	UAEAGAIN		= 0x2f6df0a, /* Try again */
201eda8babSDavid Howells 	UAENOMEM		= 0x2f6df0b, /* Out of memory */
211eda8babSDavid Howells 	UAEACCES		= 0x2f6df0c, /* Permission denied */
221eda8babSDavid Howells 	UAEFAULT		= 0x2f6df0d, /* Bad address */
231eda8babSDavid Howells 	UAENOTBLK		= 0x2f6df0e, /* Block device required */
241eda8babSDavid Howells 	UAEBUSY			= 0x2f6df0f, /* Device or resource busy */
251eda8babSDavid Howells 	UAEEXIST		= 0x2f6df10, /* File exists */
261eda8babSDavid Howells 	UAEXDEV			= 0x2f6df11, /* Cross-device link */
271eda8babSDavid Howells 	UAENODEV		= 0x2f6df12, /* No such device */
281eda8babSDavid Howells 	UAENOTDIR		= 0x2f6df13, /* Not a directory */
291eda8babSDavid Howells 	UAEISDIR		= 0x2f6df14, /* Is a directory */
301eda8babSDavid Howells 	UAEINVAL		= 0x2f6df15, /* Invalid argument */
311eda8babSDavid Howells 	UAENFILE		= 0x2f6df16, /* File table overflow */
321eda8babSDavid Howells 	UAEMFILE		= 0x2f6df17, /* Too many open files */
331eda8babSDavid Howells 	UAENOTTY		= 0x2f6df18, /* Not a typewriter */
341eda8babSDavid Howells 	UAETXTBSY		= 0x2f6df19, /* Text file busy */
351eda8babSDavid Howells 	UAEFBIG			= 0x2f6df1a, /* File too large */
361eda8babSDavid Howells 	UAENOSPC		= 0x2f6df1b, /* No space left on device */
371eda8babSDavid Howells 	UAESPIPE		= 0x2f6df1c, /* Illegal seek */
381eda8babSDavid Howells 	UAEROFS			= 0x2f6df1d, /* Read-only file system */
391eda8babSDavid Howells 	UAEMLINK		= 0x2f6df1e, /* Too many links */
401eda8babSDavid Howells 	UAEPIPE			= 0x2f6df1f, /* Broken pipe */
411eda8babSDavid Howells 	UAEDOM			= 0x2f6df20, /* Math argument out of domain of func */
421eda8babSDavid Howells 	UAERANGE		= 0x2f6df21, /* Math result not representable */
431eda8babSDavid Howells 	UAEDEADLK		= 0x2f6df22, /* Resource deadlock would occur */
441eda8babSDavid Howells 	UAENAMETOOLONG		= 0x2f6df23, /* File name too long */
451eda8babSDavid Howells 	UAENOLCK		= 0x2f6df24, /* No record locks available */
461eda8babSDavid Howells 	UAENOSYS		= 0x2f6df25, /* Function not implemented */
471eda8babSDavid Howells 	UAENOTEMPTY		= 0x2f6df26, /* Directory not empty */
481eda8babSDavid Howells 	UAELOOP			= 0x2f6df27, /* Too many symbolic links encountered */
491eda8babSDavid Howells 	UAEWOULDBLOCK		= 0x2f6df28, /* Operation would block */
501eda8babSDavid Howells 	UAENOMSG		= 0x2f6df29, /* No message of desired type */
511eda8babSDavid Howells 	UAEIDRM			= 0x2f6df2a, /* Identifier removed */
521eda8babSDavid Howells 	UAECHRNG		= 0x2f6df2b, /* Channel number out of range */
531eda8babSDavid Howells 	UAEL2NSYNC		= 0x2f6df2c, /* Level 2 not synchronized */
541eda8babSDavid Howells 	UAEL3HLT		= 0x2f6df2d, /* Level 3 halted */
551eda8babSDavid Howells 	UAEL3RST		= 0x2f6df2e, /* Level 3 reset */
561eda8babSDavid Howells 	UAELNRNG		= 0x2f6df2f, /* Link number out of range */
571eda8babSDavid Howells 	UAEUNATCH		= 0x2f6df30, /* Protocol driver not attached */
581eda8babSDavid Howells 	UAENOCSI		= 0x2f6df31, /* No CSI structure available */
591eda8babSDavid Howells 	UAEL2HLT		= 0x2f6df32, /* Level 2 halted */
601eda8babSDavid Howells 	UAEBADE			= 0x2f6df33, /* Invalid exchange */
611eda8babSDavid Howells 	UAEBADR			= 0x2f6df34, /* Invalid request descriptor */
621eda8babSDavid Howells 	UAEXFULL		= 0x2f6df35, /* Exchange full */
631eda8babSDavid Howells 	UAENOANO		= 0x2f6df36, /* No anode */
641eda8babSDavid Howells 	UAEBADRQC		= 0x2f6df37, /* Invalid request code */
651eda8babSDavid Howells 	UAEBADSLT		= 0x2f6df38, /* Invalid slot */
661eda8babSDavid Howells 	UAEBFONT		= 0x2f6df39, /* Bad font file format */
671eda8babSDavid Howells 	UAENOSTR		= 0x2f6df3a, /* Device not a stream */
681eda8babSDavid Howells 	UAENODATA		= 0x2f6df3b, /* No data available */
691eda8babSDavid Howells 	UAETIME			= 0x2f6df3c, /* Timer expired */
701eda8babSDavid Howells 	UAENOSR			= 0x2f6df3d, /* Out of streams resources */
711eda8babSDavid Howells 	UAENONET		= 0x2f6df3e, /* Machine is not on the network */
721eda8babSDavid Howells 	UAENOPKG		= 0x2f6df3f, /* Package not installed */
731eda8babSDavid Howells 	UAEREMOTE		= 0x2f6df40, /* Object is remote */
741eda8babSDavid Howells 	UAENOLINK		= 0x2f6df41, /* Link has been severed */
751eda8babSDavid Howells 	UAEADV			= 0x2f6df42, /* Advertise error */
761eda8babSDavid Howells 	UAESRMNT		= 0x2f6df43, /* Srmount error */
771eda8babSDavid Howells 	UAECOMM			= 0x2f6df44, /* Communication error on send */
781eda8babSDavid Howells 	UAEPROTO		= 0x2f6df45, /* Protocol error */
791eda8babSDavid Howells 	UAEMULTIHOP		= 0x2f6df46, /* Multihop attempted */
801eda8babSDavid Howells 	UAEDOTDOT		= 0x2f6df47, /* RFS specific error */
811eda8babSDavid Howells 	UAEBADMSG		= 0x2f6df48, /* Not a data message */
821eda8babSDavid Howells 	UAEOVERFLOW		= 0x2f6df49, /* Value too large for defined data type */
831eda8babSDavid Howells 	UAENOTUNIQ		= 0x2f6df4a, /* Name not unique on network */
841eda8babSDavid Howells 	UAEBADFD		= 0x2f6df4b, /* File descriptor in bad state */
851eda8babSDavid Howells 	UAEREMCHG		= 0x2f6df4c, /* Remote address changed */
861eda8babSDavid Howells 	UAELIBACC		= 0x2f6df4d, /* Can not access a needed shared library */
871eda8babSDavid Howells 	UAELIBBAD		= 0x2f6df4e, /* Accessing a corrupted shared library */
881eda8babSDavid Howells 	UAELIBSCN		= 0x2f6df4f, /* .lib section in a.out corrupted */
891eda8babSDavid Howells 	UAELIBMAX		= 0x2f6df50, /* Attempting to link in too many shared libraries */
901eda8babSDavid Howells 	UAELIBEXEC		= 0x2f6df51, /* Cannot exec a shared library directly */
911eda8babSDavid Howells 	UAEILSEQ		= 0x2f6df52, /* Illegal byte sequence */
921eda8babSDavid Howells 	UAERESTART		= 0x2f6df53, /* Interrupted system call should be restarted */
931eda8babSDavid Howells 	UAESTRPIPE		= 0x2f6df54, /* Streams pipe error */
941eda8babSDavid Howells 	UAEUSERS		= 0x2f6df55, /* Too many users */
951eda8babSDavid Howells 	UAENOTSOCK		= 0x2f6df56, /* Socket operation on non-socket */
961eda8babSDavid Howells 	UAEDESTADDRREQ		= 0x2f6df57, /* Destination address required */
971eda8babSDavid Howells 	UAEMSGSIZE		= 0x2f6df58, /* Message too long */
981eda8babSDavid Howells 	UAEPROTOTYPE		= 0x2f6df59, /* Protocol wrong type for socket */
991eda8babSDavid Howells 	UAENOPROTOOPT		= 0x2f6df5a, /* Protocol not available */
1001eda8babSDavid Howells 	UAEPROTONOSUPPORT	= 0x2f6df5b, /* Protocol not supported */
1011eda8babSDavid Howells 	UAESOCKTNOSUPPORT	= 0x2f6df5c, /* Socket type not supported */
1021eda8babSDavid Howells 	UAEOPNOTSUPP		= 0x2f6df5d, /* Operation not supported on transport endpoint */
1031eda8babSDavid Howells 	UAEPFNOSUPPORT		= 0x2f6df5e, /* Protocol family not supported */
1041eda8babSDavid Howells 	UAEAFNOSUPPORT		= 0x2f6df5f, /* Address family not supported by protocol */
1051eda8babSDavid Howells 	UAEADDRINUSE		= 0x2f6df60, /* Address already in use */
1061eda8babSDavid Howells 	UAEADDRNOTAVAIL		= 0x2f6df61, /* Cannot assign requested address */
1071eda8babSDavid Howells 	UAENETDOWN		= 0x2f6df62, /* Network is down */
1081eda8babSDavid Howells 	UAENETUNREACH		= 0x2f6df63, /* Network is unreachable */
1091eda8babSDavid Howells 	UAENETRESET		= 0x2f6df64, /* Network dropped connection because of reset */
1101eda8babSDavid Howells 	UAECONNABORTED		= 0x2f6df65, /* Software caused connection abort */
1111eda8babSDavid Howells 	UAECONNRESET		= 0x2f6df66, /* Connection reset by peer */
1121eda8babSDavid Howells 	UAENOBUFS		= 0x2f6df67, /* No buffer space available */
1131eda8babSDavid Howells 	UAEISCONN		= 0x2f6df68, /* Transport endpoint is already connected */
1141eda8babSDavid Howells 	UAENOTCONN		= 0x2f6df69, /* Transport endpoint is not connected */
1151eda8babSDavid Howells 	UAESHUTDOWN		= 0x2f6df6a, /* Cannot send after transport endpoint shutdown */
1161eda8babSDavid Howells 	UAETOOMANYREFS		= 0x2f6df6b, /* Too many references: cannot splice */
1171eda8babSDavid Howells 	UAETIMEDOUT		= 0x2f6df6c, /* Connection timed out */
1181eda8babSDavid Howells 	UAECONNREFUSED		= 0x2f6df6d, /* Connection refused */
1191eda8babSDavid Howells 	UAEHOSTDOWN		= 0x2f6df6e, /* Host is down */
1201eda8babSDavid Howells 	UAEHOSTUNREACH		= 0x2f6df6f, /* No route to host */
1211eda8babSDavid Howells 	UAEALREADY		= 0x2f6df70, /* Operation already in progress */
1221eda8babSDavid Howells 	UAEINPROGRESS		= 0x2f6df71, /* Operation now in progress */
1231eda8babSDavid Howells 	UAESTALE		= 0x2f6df72, /* Stale NFS file handle */
1241eda8babSDavid Howells 	UAEUCLEAN		= 0x2f6df73, /* Structure needs cleaning */
1251eda8babSDavid Howells 	UAENOTNAM		= 0x2f6df74, /* Not a XENIX named type file */
1261eda8babSDavid Howells 	UAENAVAIL		= 0x2f6df75, /* No XENIX semaphores available */
1271eda8babSDavid Howells 	UAEISNAM		= 0x2f6df76, /* Is a named type file */
1281eda8babSDavid Howells 	UAEREMOTEIO		= 0x2f6df77, /* Remote I/O error */
1291eda8babSDavid Howells 	UAEDQUOT		= 0x2f6df78, /* Quota exceeded */
1301eda8babSDavid Howells 	UAENOMEDIUM		= 0x2f6df79, /* No medium found */
1311eda8babSDavid Howells 	UAEMEDIUMTYPE		= 0x2f6df7a, /* Wrong medium type */
1321eda8babSDavid Howells };
133