162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci/* Universal AFS Error codes (UAE). 362306a36Sopenharmony_ci * 462306a36Sopenharmony_ci * Copyright (C) 2003, Daria Phoebe Brashear 562306a36Sopenharmony_ci * Copyright (C) 2018 Red Hat, Inc. All Rights Reserved. 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_cienum { 962306a36Sopenharmony_ci UAEPERM = 0x2f6df00, /* Operation not permitted */ 1062306a36Sopenharmony_ci UAENOENT = 0x2f6df01, /* No such file or directory */ 1162306a36Sopenharmony_ci UAESRCH = 0x2f6df02, /* No such process */ 1262306a36Sopenharmony_ci UAEINTR = 0x2f6df03, /* Interrupted system call */ 1362306a36Sopenharmony_ci UAEIO = 0x2f6df04, /* I/O error */ 1462306a36Sopenharmony_ci UAENXIO = 0x2f6df05, /* No such device or address */ 1562306a36Sopenharmony_ci UAE2BIG = 0x2f6df06, /* Arg list too long */ 1662306a36Sopenharmony_ci UAENOEXEC = 0x2f6df07, /* Exec format error */ 1762306a36Sopenharmony_ci UAEBADF = 0x2f6df08, /* Bad file number */ 1862306a36Sopenharmony_ci UAECHILD = 0x2f6df09, /* No child processes */ 1962306a36Sopenharmony_ci UAEAGAIN = 0x2f6df0a, /* Try again */ 2062306a36Sopenharmony_ci UAENOMEM = 0x2f6df0b, /* Out of memory */ 2162306a36Sopenharmony_ci UAEACCES = 0x2f6df0c, /* Permission denied */ 2262306a36Sopenharmony_ci UAEFAULT = 0x2f6df0d, /* Bad address */ 2362306a36Sopenharmony_ci UAENOTBLK = 0x2f6df0e, /* Block device required */ 2462306a36Sopenharmony_ci UAEBUSY = 0x2f6df0f, /* Device or resource busy */ 2562306a36Sopenharmony_ci UAEEXIST = 0x2f6df10, /* File exists */ 2662306a36Sopenharmony_ci UAEXDEV = 0x2f6df11, /* Cross-device link */ 2762306a36Sopenharmony_ci UAENODEV = 0x2f6df12, /* No such device */ 2862306a36Sopenharmony_ci UAENOTDIR = 0x2f6df13, /* Not a directory */ 2962306a36Sopenharmony_ci UAEISDIR = 0x2f6df14, /* Is a directory */ 3062306a36Sopenharmony_ci UAEINVAL = 0x2f6df15, /* Invalid argument */ 3162306a36Sopenharmony_ci UAENFILE = 0x2f6df16, /* File table overflow */ 3262306a36Sopenharmony_ci UAEMFILE = 0x2f6df17, /* Too many open files */ 3362306a36Sopenharmony_ci UAENOTTY = 0x2f6df18, /* Not a typewriter */ 3462306a36Sopenharmony_ci UAETXTBSY = 0x2f6df19, /* Text file busy */ 3562306a36Sopenharmony_ci UAEFBIG = 0x2f6df1a, /* File too large */ 3662306a36Sopenharmony_ci UAENOSPC = 0x2f6df1b, /* No space left on device */ 3762306a36Sopenharmony_ci UAESPIPE = 0x2f6df1c, /* Illegal seek */ 3862306a36Sopenharmony_ci UAEROFS = 0x2f6df1d, /* Read-only file system */ 3962306a36Sopenharmony_ci UAEMLINK = 0x2f6df1e, /* Too many links */ 4062306a36Sopenharmony_ci UAEPIPE = 0x2f6df1f, /* Broken pipe */ 4162306a36Sopenharmony_ci UAEDOM = 0x2f6df20, /* Math argument out of domain of func */ 4262306a36Sopenharmony_ci UAERANGE = 0x2f6df21, /* Math result not representable */ 4362306a36Sopenharmony_ci UAEDEADLK = 0x2f6df22, /* Resource deadlock would occur */ 4462306a36Sopenharmony_ci UAENAMETOOLONG = 0x2f6df23, /* File name too long */ 4562306a36Sopenharmony_ci UAENOLCK = 0x2f6df24, /* No record locks available */ 4662306a36Sopenharmony_ci UAENOSYS = 0x2f6df25, /* Function not implemented */ 4762306a36Sopenharmony_ci UAENOTEMPTY = 0x2f6df26, /* Directory not empty */ 4862306a36Sopenharmony_ci UAELOOP = 0x2f6df27, /* Too many symbolic links encountered */ 4962306a36Sopenharmony_ci UAEWOULDBLOCK = 0x2f6df28, /* Operation would block */ 5062306a36Sopenharmony_ci UAENOMSG = 0x2f6df29, /* No message of desired type */ 5162306a36Sopenharmony_ci UAEIDRM = 0x2f6df2a, /* Identifier removed */ 5262306a36Sopenharmony_ci UAECHRNG = 0x2f6df2b, /* Channel number out of range */ 5362306a36Sopenharmony_ci UAEL2NSYNC = 0x2f6df2c, /* Level 2 not synchronized */ 5462306a36Sopenharmony_ci UAEL3HLT = 0x2f6df2d, /* Level 3 halted */ 5562306a36Sopenharmony_ci UAEL3RST = 0x2f6df2e, /* Level 3 reset */ 5662306a36Sopenharmony_ci UAELNRNG = 0x2f6df2f, /* Link number out of range */ 5762306a36Sopenharmony_ci UAEUNATCH = 0x2f6df30, /* Protocol driver not attached */ 5862306a36Sopenharmony_ci UAENOCSI = 0x2f6df31, /* No CSI structure available */ 5962306a36Sopenharmony_ci UAEL2HLT = 0x2f6df32, /* Level 2 halted */ 6062306a36Sopenharmony_ci UAEBADE = 0x2f6df33, /* Invalid exchange */ 6162306a36Sopenharmony_ci UAEBADR = 0x2f6df34, /* Invalid request descriptor */ 6262306a36Sopenharmony_ci UAEXFULL = 0x2f6df35, /* Exchange full */ 6362306a36Sopenharmony_ci UAENOANO = 0x2f6df36, /* No anode */ 6462306a36Sopenharmony_ci UAEBADRQC = 0x2f6df37, /* Invalid request code */ 6562306a36Sopenharmony_ci UAEBADSLT = 0x2f6df38, /* Invalid slot */ 6662306a36Sopenharmony_ci UAEBFONT = 0x2f6df39, /* Bad font file format */ 6762306a36Sopenharmony_ci UAENOSTR = 0x2f6df3a, /* Device not a stream */ 6862306a36Sopenharmony_ci UAENODATA = 0x2f6df3b, /* No data available */ 6962306a36Sopenharmony_ci UAETIME = 0x2f6df3c, /* Timer expired */ 7062306a36Sopenharmony_ci UAENOSR = 0x2f6df3d, /* Out of streams resources */ 7162306a36Sopenharmony_ci UAENONET = 0x2f6df3e, /* Machine is not on the network */ 7262306a36Sopenharmony_ci UAENOPKG = 0x2f6df3f, /* Package not installed */ 7362306a36Sopenharmony_ci UAEREMOTE = 0x2f6df40, /* Object is remote */ 7462306a36Sopenharmony_ci UAENOLINK = 0x2f6df41, /* Link has been severed */ 7562306a36Sopenharmony_ci UAEADV = 0x2f6df42, /* Advertise error */ 7662306a36Sopenharmony_ci UAESRMNT = 0x2f6df43, /* Srmount error */ 7762306a36Sopenharmony_ci UAECOMM = 0x2f6df44, /* Communication error on send */ 7862306a36Sopenharmony_ci UAEPROTO = 0x2f6df45, /* Protocol error */ 7962306a36Sopenharmony_ci UAEMULTIHOP = 0x2f6df46, /* Multihop attempted */ 8062306a36Sopenharmony_ci UAEDOTDOT = 0x2f6df47, /* RFS specific error */ 8162306a36Sopenharmony_ci UAEBADMSG = 0x2f6df48, /* Not a data message */ 8262306a36Sopenharmony_ci UAEOVERFLOW = 0x2f6df49, /* Value too large for defined data type */ 8362306a36Sopenharmony_ci UAENOTUNIQ = 0x2f6df4a, /* Name not unique on network */ 8462306a36Sopenharmony_ci UAEBADFD = 0x2f6df4b, /* File descriptor in bad state */ 8562306a36Sopenharmony_ci UAEREMCHG = 0x2f6df4c, /* Remote address changed */ 8662306a36Sopenharmony_ci UAELIBACC = 0x2f6df4d, /* Can not access a needed shared library */ 8762306a36Sopenharmony_ci UAELIBBAD = 0x2f6df4e, /* Accessing a corrupted shared library */ 8862306a36Sopenharmony_ci UAELIBSCN = 0x2f6df4f, /* .lib section in a.out corrupted */ 8962306a36Sopenharmony_ci UAELIBMAX = 0x2f6df50, /* Attempting to link in too many shared libraries */ 9062306a36Sopenharmony_ci UAELIBEXEC = 0x2f6df51, /* Cannot exec a shared library directly */ 9162306a36Sopenharmony_ci UAEILSEQ = 0x2f6df52, /* Illegal byte sequence */ 9262306a36Sopenharmony_ci UAERESTART = 0x2f6df53, /* Interrupted system call should be restarted */ 9362306a36Sopenharmony_ci UAESTRPIPE = 0x2f6df54, /* Streams pipe error */ 9462306a36Sopenharmony_ci UAEUSERS = 0x2f6df55, /* Too many users */ 9562306a36Sopenharmony_ci UAENOTSOCK = 0x2f6df56, /* Socket operation on non-socket */ 9662306a36Sopenharmony_ci UAEDESTADDRREQ = 0x2f6df57, /* Destination address required */ 9762306a36Sopenharmony_ci UAEMSGSIZE = 0x2f6df58, /* Message too long */ 9862306a36Sopenharmony_ci UAEPROTOTYPE = 0x2f6df59, /* Protocol wrong type for socket */ 9962306a36Sopenharmony_ci UAENOPROTOOPT = 0x2f6df5a, /* Protocol not available */ 10062306a36Sopenharmony_ci UAEPROTONOSUPPORT = 0x2f6df5b, /* Protocol not supported */ 10162306a36Sopenharmony_ci UAESOCKTNOSUPPORT = 0x2f6df5c, /* Socket type not supported */ 10262306a36Sopenharmony_ci UAEOPNOTSUPP = 0x2f6df5d, /* Operation not supported on transport endpoint */ 10362306a36Sopenharmony_ci UAEPFNOSUPPORT = 0x2f6df5e, /* Protocol family not supported */ 10462306a36Sopenharmony_ci UAEAFNOSUPPORT = 0x2f6df5f, /* Address family not supported by protocol */ 10562306a36Sopenharmony_ci UAEADDRINUSE = 0x2f6df60, /* Address already in use */ 10662306a36Sopenharmony_ci UAEADDRNOTAVAIL = 0x2f6df61, /* Cannot assign requested address */ 10762306a36Sopenharmony_ci UAENETDOWN = 0x2f6df62, /* Network is down */ 10862306a36Sopenharmony_ci UAENETUNREACH = 0x2f6df63, /* Network is unreachable */ 10962306a36Sopenharmony_ci UAENETRESET = 0x2f6df64, /* Network dropped connection because of reset */ 11062306a36Sopenharmony_ci UAECONNABORTED = 0x2f6df65, /* Software caused connection abort */ 11162306a36Sopenharmony_ci UAECONNRESET = 0x2f6df66, /* Connection reset by peer */ 11262306a36Sopenharmony_ci UAENOBUFS = 0x2f6df67, /* No buffer space available */ 11362306a36Sopenharmony_ci UAEISCONN = 0x2f6df68, /* Transport endpoint is already connected */ 11462306a36Sopenharmony_ci UAENOTCONN = 0x2f6df69, /* Transport endpoint is not connected */ 11562306a36Sopenharmony_ci UAESHUTDOWN = 0x2f6df6a, /* Cannot send after transport endpoint shutdown */ 11662306a36Sopenharmony_ci UAETOOMANYREFS = 0x2f6df6b, /* Too many references: cannot splice */ 11762306a36Sopenharmony_ci UAETIMEDOUT = 0x2f6df6c, /* Connection timed out */ 11862306a36Sopenharmony_ci UAECONNREFUSED = 0x2f6df6d, /* Connection refused */ 11962306a36Sopenharmony_ci UAEHOSTDOWN = 0x2f6df6e, /* Host is down */ 12062306a36Sopenharmony_ci UAEHOSTUNREACH = 0x2f6df6f, /* No route to host */ 12162306a36Sopenharmony_ci UAEALREADY = 0x2f6df70, /* Operation already in progress */ 12262306a36Sopenharmony_ci UAEINPROGRESS = 0x2f6df71, /* Operation now in progress */ 12362306a36Sopenharmony_ci UAESTALE = 0x2f6df72, /* Stale NFS file handle */ 12462306a36Sopenharmony_ci UAEUCLEAN = 0x2f6df73, /* Structure needs cleaning */ 12562306a36Sopenharmony_ci UAENOTNAM = 0x2f6df74, /* Not a XENIX named type file */ 12662306a36Sopenharmony_ci UAENAVAIL = 0x2f6df75, /* No XENIX semaphores available */ 12762306a36Sopenharmony_ci UAEISNAM = 0x2f6df76, /* Is a named type file */ 12862306a36Sopenharmony_ci UAEREMOTEIO = 0x2f6df77, /* Remote I/O error */ 12962306a36Sopenharmony_ci UAEDQUOT = 0x2f6df78, /* Quota exceeded */ 13062306a36Sopenharmony_ci UAENOMEDIUM = 0x2f6df79, /* No medium found */ 13162306a36Sopenharmony_ci UAEMEDIUMTYPE = 0x2f6df7a, /* Wrong medium type */ 13262306a36Sopenharmony_ci}; 133