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