18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci/* Universal AFS Error codes (UAE).
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Copyright (C) 2003, Daria Phoebe Brashear
58c2ecf20Sopenharmony_ci * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved.
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_cienum {
98c2ecf20Sopenharmony_ci	UAEPERM			= 0x2f6df00, /* Operation not permitted */
108c2ecf20Sopenharmony_ci	UAENOENT		= 0x2f6df01, /* No such file or directory */
118c2ecf20Sopenharmony_ci	UAESRCH			= 0x2f6df02, /* No such process */
128c2ecf20Sopenharmony_ci	UAEINTR			= 0x2f6df03, /* Interrupted system call */
138c2ecf20Sopenharmony_ci	UAEIO			= 0x2f6df04, /* I/O error */
148c2ecf20Sopenharmony_ci	UAENXIO			= 0x2f6df05, /* No such device or address */
158c2ecf20Sopenharmony_ci	UAE2BIG			= 0x2f6df06, /* Arg list too long */
168c2ecf20Sopenharmony_ci	UAENOEXEC		= 0x2f6df07, /* Exec format error */
178c2ecf20Sopenharmony_ci	UAEBADF			= 0x2f6df08, /* Bad file number */
188c2ecf20Sopenharmony_ci	UAECHILD		= 0x2f6df09, /* No child processes */
198c2ecf20Sopenharmony_ci	UAEAGAIN		= 0x2f6df0a, /* Try again */
208c2ecf20Sopenharmony_ci	UAENOMEM		= 0x2f6df0b, /* Out of memory */
218c2ecf20Sopenharmony_ci	UAEACCES		= 0x2f6df0c, /* Permission denied */
228c2ecf20Sopenharmony_ci	UAEFAULT		= 0x2f6df0d, /* Bad address */
238c2ecf20Sopenharmony_ci	UAENOTBLK		= 0x2f6df0e, /* Block device required */
248c2ecf20Sopenharmony_ci	UAEBUSY			= 0x2f6df0f, /* Device or resource busy */
258c2ecf20Sopenharmony_ci	UAEEXIST		= 0x2f6df10, /* File exists */
268c2ecf20Sopenharmony_ci	UAEXDEV			= 0x2f6df11, /* Cross-device link */
278c2ecf20Sopenharmony_ci	UAENODEV		= 0x2f6df12, /* No such device */
288c2ecf20Sopenharmony_ci	UAENOTDIR		= 0x2f6df13, /* Not a directory */
298c2ecf20Sopenharmony_ci	UAEISDIR		= 0x2f6df14, /* Is a directory */
308c2ecf20Sopenharmony_ci	UAEINVAL		= 0x2f6df15, /* Invalid argument */
318c2ecf20Sopenharmony_ci	UAENFILE		= 0x2f6df16, /* File table overflow */
328c2ecf20Sopenharmony_ci	UAEMFILE		= 0x2f6df17, /* Too many open files */
338c2ecf20Sopenharmony_ci	UAENOTTY		= 0x2f6df18, /* Not a typewriter */
348c2ecf20Sopenharmony_ci	UAETXTBSY		= 0x2f6df19, /* Text file busy */
358c2ecf20Sopenharmony_ci	UAEFBIG			= 0x2f6df1a, /* File too large */
368c2ecf20Sopenharmony_ci	UAENOSPC		= 0x2f6df1b, /* No space left on device */
378c2ecf20Sopenharmony_ci	UAESPIPE		= 0x2f6df1c, /* Illegal seek */
388c2ecf20Sopenharmony_ci	UAEROFS			= 0x2f6df1d, /* Read-only file system */
398c2ecf20Sopenharmony_ci	UAEMLINK		= 0x2f6df1e, /* Too many links */
408c2ecf20Sopenharmony_ci	UAEPIPE			= 0x2f6df1f, /* Broken pipe */
418c2ecf20Sopenharmony_ci	UAEDOM			= 0x2f6df20, /* Math argument out of domain of func */
428c2ecf20Sopenharmony_ci	UAERANGE		= 0x2f6df21, /* Math result not representable */
438c2ecf20Sopenharmony_ci	UAEDEADLK		= 0x2f6df22, /* Resource deadlock would occur */
448c2ecf20Sopenharmony_ci	UAENAMETOOLONG		= 0x2f6df23, /* File name too long */
458c2ecf20Sopenharmony_ci	UAENOLCK		= 0x2f6df24, /* No record locks available */
468c2ecf20Sopenharmony_ci	UAENOSYS		= 0x2f6df25, /* Function not implemented */
478c2ecf20Sopenharmony_ci	UAENOTEMPTY		= 0x2f6df26, /* Directory not empty */
488c2ecf20Sopenharmony_ci	UAELOOP			= 0x2f6df27, /* Too many symbolic links encountered */
498c2ecf20Sopenharmony_ci	UAEWOULDBLOCK		= 0x2f6df28, /* Operation would block */
508c2ecf20Sopenharmony_ci	UAENOMSG		= 0x2f6df29, /* No message of desired type */
518c2ecf20Sopenharmony_ci	UAEIDRM			= 0x2f6df2a, /* Identifier removed */
528c2ecf20Sopenharmony_ci	UAECHRNG		= 0x2f6df2b, /* Channel number out of range */
538c2ecf20Sopenharmony_ci	UAEL2NSYNC		= 0x2f6df2c, /* Level 2 not synchronized */
548c2ecf20Sopenharmony_ci	UAEL3HLT		= 0x2f6df2d, /* Level 3 halted */
558c2ecf20Sopenharmony_ci	UAEL3RST		= 0x2f6df2e, /* Level 3 reset */
568c2ecf20Sopenharmony_ci	UAELNRNG		= 0x2f6df2f, /* Link number out of range */
578c2ecf20Sopenharmony_ci	UAEUNATCH		= 0x2f6df30, /* Protocol driver not attached */
588c2ecf20Sopenharmony_ci	UAENOCSI		= 0x2f6df31, /* No CSI structure available */
598c2ecf20Sopenharmony_ci	UAEL2HLT		= 0x2f6df32, /* Level 2 halted */
608c2ecf20Sopenharmony_ci	UAEBADE			= 0x2f6df33, /* Invalid exchange */
618c2ecf20Sopenharmony_ci	UAEBADR			= 0x2f6df34, /* Invalid request descriptor */
628c2ecf20Sopenharmony_ci	UAEXFULL		= 0x2f6df35, /* Exchange full */
638c2ecf20Sopenharmony_ci	UAENOANO		= 0x2f6df36, /* No anode */
648c2ecf20Sopenharmony_ci	UAEBADRQC		= 0x2f6df37, /* Invalid request code */
658c2ecf20Sopenharmony_ci	UAEBADSLT		= 0x2f6df38, /* Invalid slot */
668c2ecf20Sopenharmony_ci	UAEBFONT		= 0x2f6df39, /* Bad font file format */
678c2ecf20Sopenharmony_ci	UAENOSTR		= 0x2f6df3a, /* Device not a stream */
688c2ecf20Sopenharmony_ci	UAENODATA		= 0x2f6df3b, /* No data available */
698c2ecf20Sopenharmony_ci	UAETIME			= 0x2f6df3c, /* Timer expired */
708c2ecf20Sopenharmony_ci	UAENOSR			= 0x2f6df3d, /* Out of streams resources */
718c2ecf20Sopenharmony_ci	UAENONET		= 0x2f6df3e, /* Machine is not on the network */
728c2ecf20Sopenharmony_ci	UAENOPKG		= 0x2f6df3f, /* Package not installed */
738c2ecf20Sopenharmony_ci	UAEREMOTE		= 0x2f6df40, /* Object is remote */
748c2ecf20Sopenharmony_ci	UAENOLINK		= 0x2f6df41, /* Link has been severed */
758c2ecf20Sopenharmony_ci	UAEADV			= 0x2f6df42, /* Advertise error */
768c2ecf20Sopenharmony_ci	UAESRMNT		= 0x2f6df43, /* Srmount error */
778c2ecf20Sopenharmony_ci	UAECOMM			= 0x2f6df44, /* Communication error on send */
788c2ecf20Sopenharmony_ci	UAEPROTO		= 0x2f6df45, /* Protocol error */
798c2ecf20Sopenharmony_ci	UAEMULTIHOP		= 0x2f6df46, /* Multihop attempted */
808c2ecf20Sopenharmony_ci	UAEDOTDOT		= 0x2f6df47, /* RFS specific error */
818c2ecf20Sopenharmony_ci	UAEBADMSG		= 0x2f6df48, /* Not a data message */
828c2ecf20Sopenharmony_ci	UAEOVERFLOW		= 0x2f6df49, /* Value too large for defined data type */
838c2ecf20Sopenharmony_ci	UAENOTUNIQ		= 0x2f6df4a, /* Name not unique on network */
848c2ecf20Sopenharmony_ci	UAEBADFD		= 0x2f6df4b, /* File descriptor in bad state */
858c2ecf20Sopenharmony_ci	UAEREMCHG		= 0x2f6df4c, /* Remote address changed */
868c2ecf20Sopenharmony_ci	UAELIBACC		= 0x2f6df4d, /* Can not access a needed shared library */
878c2ecf20Sopenharmony_ci	UAELIBBAD		= 0x2f6df4e, /* Accessing a corrupted shared library */
888c2ecf20Sopenharmony_ci	UAELIBSCN		= 0x2f6df4f, /* .lib section in a.out corrupted */
898c2ecf20Sopenharmony_ci	UAELIBMAX		= 0x2f6df50, /* Attempting to link in too many shared libraries */
908c2ecf20Sopenharmony_ci	UAELIBEXEC		= 0x2f6df51, /* Cannot exec a shared library directly */
918c2ecf20Sopenharmony_ci	UAEILSEQ		= 0x2f6df52, /* Illegal byte sequence */
928c2ecf20Sopenharmony_ci	UAERESTART		= 0x2f6df53, /* Interrupted system call should be restarted */
938c2ecf20Sopenharmony_ci	UAESTRPIPE		= 0x2f6df54, /* Streams pipe error */
948c2ecf20Sopenharmony_ci	UAEUSERS		= 0x2f6df55, /* Too many users */
958c2ecf20Sopenharmony_ci	UAENOTSOCK		= 0x2f6df56, /* Socket operation on non-socket */
968c2ecf20Sopenharmony_ci	UAEDESTADDRREQ		= 0x2f6df57, /* Destination address required */
978c2ecf20Sopenharmony_ci	UAEMSGSIZE		= 0x2f6df58, /* Message too long */
988c2ecf20Sopenharmony_ci	UAEPROTOTYPE		= 0x2f6df59, /* Protocol wrong type for socket */
998c2ecf20Sopenharmony_ci	UAENOPROTOOPT		= 0x2f6df5a, /* Protocol not available */
1008c2ecf20Sopenharmony_ci	UAEPROTONOSUPPORT	= 0x2f6df5b, /* Protocol not supported */
1018c2ecf20Sopenharmony_ci	UAESOCKTNOSUPPORT	= 0x2f6df5c, /* Socket type not supported */
1028c2ecf20Sopenharmony_ci	UAEOPNOTSUPP		= 0x2f6df5d, /* Operation not supported on transport endpoint */
1038c2ecf20Sopenharmony_ci	UAEPFNOSUPPORT		= 0x2f6df5e, /* Protocol family not supported */
1048c2ecf20Sopenharmony_ci	UAEAFNOSUPPORT		= 0x2f6df5f, /* Address family not supported by protocol */
1058c2ecf20Sopenharmony_ci	UAEADDRINUSE		= 0x2f6df60, /* Address already in use */
1068c2ecf20Sopenharmony_ci	UAEADDRNOTAVAIL		= 0x2f6df61, /* Cannot assign requested address */
1078c2ecf20Sopenharmony_ci	UAENETDOWN		= 0x2f6df62, /* Network is down */
1088c2ecf20Sopenharmony_ci	UAENETUNREACH		= 0x2f6df63, /* Network is unreachable */
1098c2ecf20Sopenharmony_ci	UAENETRESET		= 0x2f6df64, /* Network dropped connection because of reset */
1108c2ecf20Sopenharmony_ci	UAECONNABORTED		= 0x2f6df65, /* Software caused connection abort */
1118c2ecf20Sopenharmony_ci	UAECONNRESET		= 0x2f6df66, /* Connection reset by peer */
1128c2ecf20Sopenharmony_ci	UAENOBUFS		= 0x2f6df67, /* No buffer space available */
1138c2ecf20Sopenharmony_ci	UAEISCONN		= 0x2f6df68, /* Transport endpoint is already connected */
1148c2ecf20Sopenharmony_ci	UAENOTCONN		= 0x2f6df69, /* Transport endpoint is not connected */
1158c2ecf20Sopenharmony_ci	UAESHUTDOWN		= 0x2f6df6a, /* Cannot send after transport endpoint shutdown */
1168c2ecf20Sopenharmony_ci	UAETOOMANYREFS		= 0x2f6df6b, /* Too many references: cannot splice */
1178c2ecf20Sopenharmony_ci	UAETIMEDOUT		= 0x2f6df6c, /* Connection timed out */
1188c2ecf20Sopenharmony_ci	UAECONNREFUSED		= 0x2f6df6d, /* Connection refused */
1198c2ecf20Sopenharmony_ci	UAEHOSTDOWN		= 0x2f6df6e, /* Host is down */
1208c2ecf20Sopenharmony_ci	UAEHOSTUNREACH		= 0x2f6df6f, /* No route to host */
1218c2ecf20Sopenharmony_ci	UAEALREADY		= 0x2f6df70, /* Operation already in progress */
1228c2ecf20Sopenharmony_ci	UAEINPROGRESS		= 0x2f6df71, /* Operation now in progress */
1238c2ecf20Sopenharmony_ci	UAESTALE		= 0x2f6df72, /* Stale NFS file handle */
1248c2ecf20Sopenharmony_ci	UAEUCLEAN		= 0x2f6df73, /* Structure needs cleaning */
1258c2ecf20Sopenharmony_ci	UAENOTNAM		= 0x2f6df74, /* Not a XENIX named type file */
1268c2ecf20Sopenharmony_ci	UAENAVAIL		= 0x2f6df75, /* No XENIX semaphores available */
1278c2ecf20Sopenharmony_ci	UAEISNAM		= 0x2f6df76, /* Is a named type file */
1288c2ecf20Sopenharmony_ci	UAEREMOTEIO		= 0x2f6df77, /* Remote I/O error */
1298c2ecf20Sopenharmony_ci	UAEDQUOT		= 0x2f6df78, /* Quota exceeded */
1308c2ecf20Sopenharmony_ci	UAENOMEDIUM		= 0x2f6df79, /* No medium found */
1318c2ecf20Sopenharmony_ci	UAEMEDIUMTYPE		= 0x2f6df7a, /* Wrong medium type */
1328c2ecf20Sopenharmony_ci};
133