From 9c8080b634214e2af03ee24d5335fe337010f9fc Mon Sep 17 00:00:00 2001 From: "ithink.chan" Date: Mon, 21 Oct 2019 11:14:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E9=94=99=E8=AF=AF=E7=A0=81?= =?UTF-8?q?=E5=80=BC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ithink.chan --- .../API/Linux_Kernel_错误码汇总.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Software/System/Linux/Modules/KernelDriver/API/Linux_Kernel_错误码汇总.md b/Software/System/Linux/Modules/KernelDriver/API/Linux_Kernel_错误码汇总.md index 99589cb..87487c6 100644 --- a/Software/System/Linux/Modules/KernelDriver/API/Linux_Kernel_错误码汇总.md +++ b/Software/System/Linux/Modules/KernelDriver/API/Linux_Kernel_错误码汇总.md @@ -153,4 +153,24 @@ #define ERFKILL 134 /* Operation not possible due to RF-kill */ #define EHWPOISON 135 /* Memory page has hardware error */ + +#define ERESTARTSYS 512 +#define ERESTARTNOINTR 513 +#define ERESTARTNOHAND 514 /* restart if no handler.. */ +#define ENOIOCTLCMD 515 /* No ioctl command */ +#define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */ +#define EPROBE_DEFER 517 /* Driver requests probe retry */ +#define EOPENSTALE 518 /* open found a stale dentry */ + +/* Defined for the NFSv3 protocol */ +#define EBADHANDLE 521 /* Illegal NFS file handle */ +#define ENOTSYNC 522 /* Update synchronization mismatch */ +#define EBADCOOKIE 523 /* Cookie is stale */ +#define ENOTSUPP 524 /* Operation is not supported */ +#define ETOOSMALL 525 /* Buffer or request is too small */ +#define ESERVERFAULT 526 /* An untranslatable error occurred */ +#define EBADTYPE 527 /* Type not supported by server */ +#define EJUKEBOX 528 /* Request initiated, but will not complete before timeout */ +#define EIOCBQUEUED 529 /* iocb queued, will get completion event */ +#define ERECALLCONFLICT 530 /* conflict with recalled state */ ```