Lines Matching refs:declare_err

22     macro_rules! declare_err {  macro
31 declare_err!(EPERM, "Operation not permitted.");
32 declare_err!(ENOENT, "No such file or directory.");
33 declare_err!(ESRCH, "No such process.");
34 declare_err!(EINTR, "Interrupted system call.");
35 declare_err!(EIO, "I/O error.");
36 declare_err!(ENXIO, "No such device or address.");
37 declare_err!(E2BIG, "Argument list too long.");
38 declare_err!(ENOEXEC, "Exec format error.");
39 declare_err!(EBADF, "Bad file number.");
40 declare_err!(ECHILD, "No child processes.");
41 declare_err!(EAGAIN, "Try again.");
42 declare_err!(ENOMEM, "Out of memory.");
43 declare_err!(EACCES, "Permission denied.");
44 declare_err!(EFAULT, "Bad address.");
45 declare_err!(ENOTBLK, "Block device required.");
46 declare_err!(EBUSY, "Device or resource busy.");
47 declare_err!(EEXIST, "File exists.");
48 declare_err!(EXDEV, "Cross-device link.");
49 declare_err!(ENODEV, "No such device.");
50 declare_err!(ENOTDIR, "Not a directory.");
51 declare_err!(EISDIR, "Is a directory.");
52 declare_err!(EINVAL, "Invalid argument.");
53 declare_err!(ENFILE, "File table overflow.");
54 declare_err!(EMFILE, "Too many open files.");
55 declare_err!(ENOTTY, "Not a typewriter.");
56 declare_err!(ETXTBSY, "Text file busy.");
57 declare_err!(EFBIG, "File too large.");
58 declare_err!(ENOSPC, "No space left on device.");
59 declare_err!(ESPIPE, "Illegal seek.");
60 declare_err!(EROFS, "Read-only file system.");
61 declare_err!(EMLINK, "Too many links.");
62 declare_err!(EPIPE, "Broken pipe.");
63 declare_err!(EDOM, "Math argument out of domain of func.");
64 declare_err!(ERANGE, "Math result not representable.");
65 declare_err!(ERESTARTSYS, "Restart the system call.");
66 declare_err!(ERESTARTNOINTR, "System call was interrupted by a signal and will be restarted.");
67 declare_err!(ERESTARTNOHAND, "Restart if no handler.");
68 declare_err!(ENOIOCTLCMD, "No ioctl command.");
69 declare_err!(ERESTART_RESTARTBLOCK, "Restart by calling sys_restart_syscall.");
70 declare_err!(EPROBE_DEFER, "Driver requests probe retry.");
71 declare_err!(EOPENSTALE, "Open found a stale dentry.");
72 declare_err!(ENOPARAM, "Parameter not supported.");
73 declare_err!(EBADHANDLE, "Illegal NFS file handle.");
74 declare_err!(ENOTSYNC, "Update synchronization mismatch.");
75 declare_err!(EBADCOOKIE, "Cookie is stale.");
76 declare_err!(ENOTSUPP, "Operation is not supported.");
77 declare_err!(ETOOSMALL, "Buffer or request is too small.");
78 declare_err!(ESERVERFAULT, "An untranslatable error occurred.");
79 declare_err!(EBADTYPE, "Type not supported by server.");
80 declare_err!(EJUKEBOX, "Request initiated, but will not complete before timeout.");
81 declare_err!(EIOCBQUEUED, "iocb queued, will get completion event.");
82 declare_err!(ERECALLCONFLICT, "Conflict with recalled state.");
83 declare_err!(ENOGRACE, "NFS file lock reclaim refused.");