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