Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _LINUX_ERRNO_H
0003 #define _LINUX_ERRNO_H
0004 
0005 #include <uapi/linux/errno.h>
0006 
0007 
0008 /*
0009  * These should never be seen by user programs.  To return one of ERESTART*
0010  * codes, signal_pending() MUST be set.  Note that ptrace can observe these
0011  * at syscall exit tracing, but they will never be left for the debugged user
0012  * process to see.
0013  */
0014 #define ERESTARTSYS 512
0015 #define ERESTARTNOINTR  513
0016 #define ERESTARTNOHAND  514 /* restart if no handler.. */
0017 #define ENOIOCTLCMD 515 /* No ioctl command */
0018 #define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */
0019 #define EPROBE_DEFER    517 /* Driver requests probe retry */
0020 #define EOPENSTALE  518 /* open found a stale dentry */
0021 #define ENOPARAM    519 /* Parameter not supported */
0022 
0023 /* Defined for the NFSv3 protocol */
0024 #define EBADHANDLE  521 /* Illegal NFS file handle */
0025 #define ENOTSYNC    522 /* Update synchronization mismatch */
0026 #define EBADCOOKIE  523 /* Cookie is stale */
0027 #define ENOTSUPP    524 /* Operation is not supported */
0028 #define ETOOSMALL   525 /* Buffer or request is too small */
0029 #define ESERVERFAULT    526 /* An untranslatable error occurred */
0030 #define EBADTYPE    527 /* Type not supported by server */
0031 #define EJUKEBOX    528 /* Request initiated, but will not complete before timeout */
0032 #define EIOCBQUEUED 529 /* iocb queued, will get completion event */
0033 #define ERECALLCONFLICT 530 /* conflict with recalled state */
0034 #define ENOGRACE    531 /* NFS file lock reclaim refused */
0035 
0036 #endif