ReactOS  0.4.12-dev-102-g4b7f1e0
nfs41_const.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NFS4_FHSIZE   128
 
#define NFS4_VERIFIER_SIZE   8
 
#define NFS4_OPAQUE_LIMIT   1024
 
#define NFS4_SESSIONID_SIZE   16
 
#define NFS4_STATEID_OTHER   12
 
#define NFS4_EASIZE   256
 
#define NFS4_EANAME_SIZE   128
 
#define NFS41_MAX_FILEIO_SIZE   (1024 * 1024)
 
#define NFS41_MAX_SERVER_CACHE   1024
 
#define NFS41_MAX_RPC_REQS   128
 
#define UPCALL_BUF_SIZE   2048
 
#define NFS41_MAX_COMPONENT_LEN   256
 
#define NFS41_MAX_PATH_LEN   1280
 
#define NFS41_HOSTNAME_LEN   64
 
#define NFS41_ADDRS_PER_SERVER   4
 
#define NFS41_UNIVERSAL_ADDR_LEN   56
 
#define NFS41_NETWORK_ID_LEN   4
 
#define NFS41_MAX_SYMLINK_DEPTH   31
 
#define READ_OVERHEAD   512
 
#define WRITE_OVERHEAD   1068
 
#define NFS41_RPC_PROGRAM   100003
 
#define NFS41_RPC_VERSION   4
 
#define NFS41_RPC_CBPROGRAM   0x2358
 
#define MAKE_WORD0(XXX)   (1 << XXX)
 
#define MAKE_WORD1(XXX)   (1 << (XXX-32))
 
#define MAKE_WORD2(XXX)   (1 << (XXX-64))
 
#define CREATE_SESSION4_FLAG_PERSIST   0x00000001
 
#define CREATE_SESSION4_FLAG_CONN_BACK_CHAN   0x00000002
 
#define CREATE_SESSION4_FLAG_CONN_RDMA   0x00000004
 
#define ACL4_SUPPORT_ALLOW_ACL   0x00000001
 
#define ACL4_SUPPORT_DENY_ACL   0x00000002
 
#define ACL4_SUPPORT_AUDIT_ACL   0x00000004
 
#define ACL4_SUPPORT_ALARM_ACL   0x00000008
 
#define ACE4_ACCESS_ALLOWED_ACE_TYPE   0x00000000
 
#define ACE4_ACCESS_DENIED_ACE_TYPE   0x00000001
 
#define ACE4_SYSTEM_AUDIT_ACE_TYPE   0x00000002
 
#define ACE4_SYSTEM_ALARM_ACE_TYPE   0x00000003
 
#define ACE4_READ_DATA   0x00000001
 
#define ACE4_LIST_DIRECTORY   0x00000001
 
#define ACE4_WRITE_DATA   0x00000002
 
#define ACE4_ADD_FILE   0x00000002
 
#define ACE4_APPEND_DATA   0x00000004
 
#define ACE4_ADD_SUBDIRECTORY   0x00000004
 
#define ACE4_READ_NAMED_ATTRS   0x00000008
 
#define ACE4_WRITE_NAMED_ATTRS   0x00000010
 
#define ACE4_EXECUTE   0x00000020
 
#define ACE4_DELETE_CHILD   0x00000040
 
#define ACE4_READ_ATTRIBUTES   0x00000080
 
#define ACE4_WRITE_ATTRIBUTES   0x00000100
 
#define ACE4_WRITE_RETENTION   0x00000200
 
#define ACE4_WRITE_RETENTION_HOLD   0x00000400
 
#define ACE4_DELETE   0x00010000
 
#define ACE4_READ_ACL   0x00020000
 
#define ACE4_WRITE_ACL   0x00040000
 
#define ACE4_WRITE_OWNER   0x00080000
 
#define ACE4_SYNCHRONIZE   0x00100000
 
#define ACE4_ALL_FILE
 
#define ACE4_ALL_DIR
 
#define ACE4_GENERIC_READ
 
#define ACE4_GENERIC_WRITE
 
#define ACE4_GENERIC_EXECUTE
 
#define ACE4_FILE_ALL_ACCESS
 
#define ACE4_FILE_INHERIT_ACE   0x00000001
 
#define ACE4_DIRECTORY_INHERIT_ACE   0x00000002
 
#define ACE4_NO_PROPAGATE_INHERIT_ACE   0x00000004
 
#define ACE4_INHERIT_ONLY_ACE   0x00000008
 
#define ACE4_SUCCESSFUL_ACCESS_ACE_FLAG   0x00000010
 
#define ACE4_FAILED_ACCESS_ACE_FLAG   0x00000020
 
#define ACE4_IDENTIFIER_GROUP   0x00000040
 
#define ACE4_INHERITED_ACE   0x00000080
 
#define ACE4_OWNER   "OWNER@"
 
#define ACE4_GROUP   "GROUP@"
 
#define ACE4_EVERYONE   "EVERYONE@"
 
#define ACE4_INTERACTIVE   "INTERACTIVE@"
 
#define ACE4_NETWORK   "NETWORK@"
 
#define ACE4_DIALUP   "DIALUP@"
 
#define ACE4_BATCH   "BATCH@"
 
#define ACE4_ANONYMOUS   "ANONYMOUS@"
 
#define ACE4_AUTHENTICATED   "AUTHENTICATED@"
 
#define ACE4_SERVICE   "SERVICE@"
 
#define ACE4_NOBODY   "nobody"
 
#define ACL4_AUTO_INHERIT   0x00000001
 
#define ACL4_PROTECTED   0x00000002
 
#define ACL4_DEFAULTED   0x00000004
 

Enumerations

enum  nfsstat4 {
  NFS4_OK = 0, NFS4ERR_PERM = 1, NFS4ERR_NOENT = 2, NFS4ERR_IO = 5,
  NFS4ERR_NXIO = 6, NFS4ERR_ACCESS = 13, NFS4ERR_EXIST = 17, NFS4ERR_XDEV = 18,
  NFS4ERR_NOTDIR = 20, NFS4ERR_ISDIR = 21, NFS4ERR_INVAL = 22, NFS4ERR_FBIG = 27,
  NFS4ERR_NOSPC = 28, NFS4ERR_ROFS = 30, NFS4ERR_MLINK = 31, NFS4ERR_NAMETOOLONG = 63,
  NFS4ERR_NOTEMPTY = 66, NFS4ERR_DQUOT = 69, NFS4ERR_STALE = 70, NFS4ERR_BADHANDLE = 10001,
  NFS4ERR_BAD_COOKIE = 10003, NFS4ERR_NOTSUPP = 10004, NFS4ERR_TOOSMALL = 10005, NFS4ERR_SERVERFAULT = 10006,
  NFS4ERR_BADTYPE = 10007, NFS4ERR_DELAY = 10008, NFS4ERR_SAME = 10009, NFS4ERR_DENIED = 10010,
  NFS4ERR_EXPIRED = 10011, NFS4ERR_LOCKED = 10012, NFS4ERR_GRACE = 10013, NFS4ERR_FHEXPIRED = 10014,
  NFS4ERR_SHARE_DENIED = 10015, NFS4ERR_WRONGSEC = 10016, NFS4ERR_CLID_INUSE = 10017, NFS4ERR_RESOURCE = 10018,
  NFS4ERR_MOVED = 10019, NFS4ERR_NOFILEHANDLE = 10020, NFS4ERR_MINOR_VERS_MISMATCH = 10021, NFS4ERR_STALE_CLIENTID = 10022,
  NFS4ERR_STALE_STATEID = 10023, NFS4ERR_OLD_STATEID = 10024, NFS4ERR_BAD_STATEID = 10025, NFS4ERR_BAD_SEQID = 10026,
  NFS4ERR_NOT_SAME = 10027, NFS4ERR_LOCK_RANGE = 10028, NFS4ERR_SYMLINK = 10029, NFS4ERR_RESTOREFH = 10030,
  NFS4ERR_LEASE_MOVED = 10031, NFS4ERR_ATTRNOTSUPP = 10032, NFS4ERR_NO_GRACE = 10033, NFS4ERR_RECLAIM_BAD = 10034,
  NFS4ERR_RECLAIM_CONFLICT = 10035, NFS4ERR_BADXDR = 10036, NFS4ERR_LOCKS_HELD = 10037, NFS4ERR_OPENMODE = 10038,
  NFS4ERR_BADOWNER = 10039, NFS4ERR_BADCHAR = 10040, NFS4ERR_BADNAME = 10041, NFS4ERR_BAD_RANGE = 10042,
  NFS4ERR_LOCK_NOTSUPP = 10043, NFS4ERR_OP_ILLEGAL = 10044, NFS4ERR_DEADLOCK = 10045, NFS4ERR_FILE_OPEN = 10046,
  NFS4ERR_ADMIN_REVOKED = 10047, NFS4ERR_CB_PATH_DOWN = 10048, NFS4ERR_BADIOMODE = 10049, NFS4ERR_BADLAYOUT = 10050,
  NFS4ERR_BAD_SESSION_DIGEST = 10051, NFS4ERR_BADSESSION = 10052, NFS4ERR_BADSLOT = 10053, NFS4ERR_COMPLETE_ALREADY = 10054,
  NFS4ERR_CONN_NOT_BOUND_TO_SESSION = 10055, NFS4ERR_DELEG_ALREADY_WANTED = 10056, NFS4ERR_BACK_CHAN_BUSY = 10057, NFS4ERR_LAYOUTTRYLATER = 10058,
  NFS4ERR_LAYOUTUNAVAILABLE = 10059, NFS4ERR_NOMATCHING_LAYOUT = 10060, NFS4ERR_RECALLCONFLICT = 10061, NFS4ERR_UNKNOWN_LAYOUTTYPE = 10062,
  NFS4ERR_SEQ_MISORDERED = 10063, NFS4ERR_SEQUENCE_POS = 10064, NFS4ERR_REQ_TOO_BIG = 10065, NFS4ERR_REP_TOO_BIG = 10066,
  NFS4ERR_REP_TOO_BIG_TO_CACHE = 10067, NFS4ERR_RETRY_UNCACHED_REP = 10068, NFS4ERR_UNSAFE_COMPOUND = 10069, NFS4ERR_TOO_MANY_OPS = 10070,
  NFS4ERR_OP_NOT_IN_SESSION = 10071, NFS4ERR_HASH_ALG_UNSUPP = 10072, NFS4ERR_CLIENTID_BUSY = 10074, NFS4ERR_PNFS_IO_HOLE = 10075,
  NFS4ERR_SEQ_FALSE_RETRY = 10076, NFS4ERR_BAD_HIGH_SLOT = 10077, NFS4ERR_DEADSESSION = 10078, NFS4ERR_ENCR_ALG_UNSUPP = 10079,
  NFS4ERR_PNFS_NO_LAYOUT = 10080, NFS4ERR_NOT_ONLY_OP = 10081, NFS4ERR_WRONG_CRED = 10082, NFS4ERR_WRONG_TYPE = 10083,
  NFS4ERR_DIRDELEG_UNAVAIL = 10084, NFS4ERR_REJECT_DELEG = 10085, NFS4ERR_RETURNCONFLICT = 10086, NFS4ERR_DELEG_REVOKED = 10087
}
 
enum  {
  FATTR4_WORD0_SUPPORTED_ATTRS = MAKE_WORD0(0), FATTR4_WORD0_TYPE = MAKE_WORD0(1), FATTR4_WORD0_FH_EXPIRE_TYPE = MAKE_WORD0(2), FATTR4_WORD0_CHANGE = MAKE_WORD0(3),
  FATTR4_WORD0_SIZE = MAKE_WORD0(4), FATTR4_WORD0_LINK_SUPPORT = MAKE_WORD0(5), FATTR4_WORD0_SYMLINK_SUPPORT = MAKE_WORD0(6), FATTR4_WORD0_NAMED_ATTR = MAKE_WORD0(7),
  FATTR4_WORD0_FSID = MAKE_WORD0(8), FATTR4_WORD0_UNIQUE_HANDLES = MAKE_WORD0(9), FATTR4_WORD0_LEASE_TIME = MAKE_WORD0(10), FATTR4_WORD0_RDATTR_ERROR = MAKE_WORD0(11),
  FATTR4_WORD0_FILEHANDLE = MAKE_WORD0(19), FATTR4_WORD2_SUPPATTR_EXCLCREAT = MAKE_WORD2(75), FATTR4_WORD0_ACL = MAKE_WORD0(12), FATTR4_WORD0_ACLSUPPORT = MAKE_WORD0(13),
  FATTR4_WORD0_ARCHIVE = MAKE_WORD0(14), FATTR4_WORD0_CANSETTIME = MAKE_WORD0(15), FATTR4_WORD0_CASE_INSENSITIVE = MAKE_WORD0(16), FATTR4_WORD0_CASE_PRESERVING = MAKE_WORD0(17),
  FATTR4_WORD0_CHOWN_RESTRICTED = MAKE_WORD0(18), FATTR4_WORD0_FILEID = MAKE_WORD0(20), FATTR4_WORD0_FILES_AVAIL = MAKE_WORD0(21), FATTR4_WORD0_FILES_FREE = MAKE_WORD0(22),
  FATTR4_WORD0_FILES_TOTAL = MAKE_WORD0(23), FATTR4_WORD0_FS_LOCATIONS = MAKE_WORD0(24), FATTR4_WORD0_HIDDEN = MAKE_WORD0(25), FATTR4_WORD0_HOMOGENEOUS = MAKE_WORD0(26),
  FATTR4_WORD0_MAXFILESIZE = MAKE_WORD0(27), FATTR4_WORD0_MAXLINK = MAKE_WORD0(28), FATTR4_WORD0_MAXNAME = MAKE_WORD0(29), FATTR4_WORD0_MAXREAD = MAKE_WORD0(30),
  FATTR4_WORD0_MAXWRITE = MAKE_WORD0(31), FATTR4_WORD1_MIMETYPE = MAKE_WORD1(32), FATTR4_WORD1_MODE = MAKE_WORD1(33), FATTR4_WORD1_NO_TRUNC = MAKE_WORD1(34),
  FATTR4_WORD1_NUMLINKS = MAKE_WORD1(35), FATTR4_WORD1_OWNER = MAKE_WORD1(36), FATTR4_WORD1_OWNER_GROUP = MAKE_WORD1(37), FATTR4_WORD1_QUOTA_AVAIL_HARD = MAKE_WORD1(38),
  FATTR4_WORD1_QUOTA_AVAIL_SOFT = MAKE_WORD1(39), FATTR4_WORD1_QUOTA_USED = MAKE_WORD1(40), FATTR4_WORD1_RAWDEV = MAKE_WORD1(41), FATTR4_WORD1_SPACE_AVAIL = MAKE_WORD1(42),
  FATTR4_WORD1_SPACE_FREE = MAKE_WORD1(43), FATTR4_WORD1_SPACE_TOTAL = MAKE_WORD1(44), FATTR4_WORD1_SPACE_USED = MAKE_WORD1(45), FATTR4_WORD1_SYSTEM = MAKE_WORD1(46),
  FATTR4_WORD1_TIME_ACCESS = MAKE_WORD1(47), FATTR4_WORD1_TIME_ACCESS_SET = MAKE_WORD1(48), FATTR4_WORD1_TIME_BACKUP = MAKE_WORD1(49), FATTR4_WORD1_TIME_CREATE = MAKE_WORD1(50),
  FATTR4_WORD1_TIME_DELTA = MAKE_WORD1(51), FATTR4_WORD1_TIME_METADATA = MAKE_WORD1(52), FATTR4_WORD1_TIME_MODIFY = MAKE_WORD1(53), FATTR4_WORD1_TIME_MODIFY_SET = MAKE_WORD1(54),
  FATTR4_WORD1_MOUNTED_ON_FILEID = MAKE_WORD1(55), FATTR4_WORD1_DIR_NOTIF_DELAY = MAKE_WORD1(56), FATTR4_WORD1_DIRENT_NOTIF_DELAY = MAKE_WORD1(57), FATTR4_WORD1_DACL = MAKE_WORD1(58),
  FATTR4_WORD1_SACL = MAKE_WORD1(59), FATTR4_WORD1_CHANGE_POLICY = MAKE_WORD1(60), FATTR4_WORD1_FS_STATUS = MAKE_WORD1(61), FATTR4_WORD1_FS_LAYOUT_TYPE = MAKE_WORD1(62),
  FATTR4_WORD1_LAYOUT_HINT = MAKE_WORD1(63), FATTR4_WORD2_LAYOUT_TYPE = MAKE_WORD2(64), FATTR4_WORD2_LAYOUT_BLKSIZE = MAKE_WORD2(65), FATTR4_WORD2_LAYOUT_ALIGNMENT = MAKE_WORD2(66),
  FATTR4_WORD2_FS_LOCATIONS_INFO = MAKE_WORD2(67), FATTR4_WORD2_MDSTHRESHOLD = MAKE_WORD2(68), FATTR4_WORD2_RETENTION_GET = MAKE_WORD2(69), FATTR4_WORD2_RETENTION_SET = MAKE_WORD2(70),
  FATTR4_WORD2_RETENTEVT_GET = MAKE_WORD2(71), FATTR4_WORD2_RETENTEVT_SET = MAKE_WORD2(72), FATTR4_WORD2_RETENTION_HOLD = MAKE_WORD2(73), FATTR4_WORD2_MODE_SET_MASKED = MAKE_WORD2(74),
  FATTR4_WORD2_FS_CHARSET_CAP = MAKE_WORD2(76)
}
 
enum  nfs_ftype4 {
  NF4REG = 1, NF4DIR = 2, NF4BLK = 3, NF4CHR = 4,
  NF4LNK = 5, NF4SOCK = 6, NF4FIFO = 7, NF4ATTRDIR = 8,
  NF4NAMEDATTR = 9, NFS_FTYPE_MASK = 0xF
}
 

Macro Definition Documentation

◆ ACE4_ACCESS_ALLOWED_ACE_TYPE

#define ACE4_ACCESS_ALLOWED_ACE_TYPE   0x00000000

Definition at line 318 of file nfs41_const.h.

Referenced by convert_nfs4acl_2_dacl(), and map_dacl_2_nfs4acl().

◆ ACE4_ACCESS_DENIED_ACE_TYPE

#define ACE4_ACCESS_DENIED_ACE_TYPE   0x00000001

Definition at line 319 of file nfs41_const.h.

Referenced by convert_nfs4acl_2_dacl(), and map_dacl_2_nfs4acl().

◆ ACE4_ADD_FILE

#define ACE4_ADD_FILE   0x00000002

Definition at line 327 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_ADD_SUBDIRECTORY

#define ACE4_ADD_SUBDIRECTORY   0x00000004

Definition at line 329 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_ALL_DIR

#define ACE4_ALL_DIR
Value:
ACE4_READ_NAMED_ATTRS|ACE4_WRITE_NAMED_ATTRS|ACE4_EXECUTE| \
ACE4_SYNCHRONIZE
#define ACE4_WRITE_ACL
Definition: nfs41_const.h:341
#define ACE4_READ_DATA
Definition: nfs41_const.h:324
#define ACE4_READ_ATTRIBUTES
Definition: nfs41_const.h:334
#define ACE4_WRITE_ATTRIBUTES
Definition: nfs41_const.h:335
#define ACE4_READ_ACL
Definition: nfs41_const.h:340
#define ACE4_EXECUTE
Definition: nfs41_const.h:332
#define ACE4_WRITE_OWNER
Definition: nfs41_const.h:342
#define ACE4_APPEND_DATA
Definition: nfs41_const.h:328
#define ACE4_WRITE_NAMED_ATTRS
Definition: nfs41_const.h:331
#define ACE4_WRITE_DATA
Definition: nfs41_const.h:326

Definition at line 350 of file nfs41_const.h.

Referenced by map_acemask(), and map_dacl_2_nfs4acl().

◆ ACE4_ALL_FILE

#define ACE4_ALL_FILE
Value:
ACE4_READ_NAMED_ATTRS|ACE4_WRITE_NAMED_ATTRS|ACE4_EXECUTE| \
ACE4_READ_ATTRIBUTES|ACE4_WRITE_ATTRIBUTES| \
ACE4_SYNCHRONIZE
#define ACE4_WRITE_ACL
Definition: nfs41_const.h:341
#define ACE4_READ_DATA
Definition: nfs41_const.h:324
#define ACE4_WRITE_ATTRIBUTES
Definition: nfs41_const.h:335
#define ACE4_READ_ACL
Definition: nfs41_const.h:340
#define ACE4_EXECUTE
Definition: nfs41_const.h:332
#define ACE4_WRITE_OWNER
Definition: nfs41_const.h:342
#define ACE4_APPEND_DATA
Definition: nfs41_const.h:328
#define ACE4_WRITE_NAMED_ATTRS
Definition: nfs41_const.h:331
#define ACE4_WRITE_DATA
Definition: nfs41_const.h:326

Definition at line 345 of file nfs41_const.h.

Referenced by map_acemask(), and map_dacl_2_nfs4acl().

◆ ACE4_ANONYMOUS

#define ACE4_ANONYMOUS   "ANONYMOUS@"

Definition at line 388 of file nfs41_const.h.

Referenced by is_well_known_sid().

◆ ACE4_APPEND_DATA

#define ACE4_APPEND_DATA   0x00000004

Definition at line 328 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_AUTHENTICATED

#define ACE4_AUTHENTICATED   "AUTHENTICATED@"

Definition at line 389 of file nfs41_const.h.

Referenced by is_well_known_sid().

◆ ACE4_BATCH

#define ACE4_BATCH   "BATCH@"

Definition at line 387 of file nfs41_const.h.

Referenced by is_well_known_sid().

◆ ACE4_DELETE

#define ACE4_DELETE   0x00010000

Definition at line 339 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_DELETE_CHILD

#define ACE4_DELETE_CHILD   0x00000040

Definition at line 333 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_DIALUP

#define ACE4_DIALUP   "DIALUP@"

Definition at line 386 of file nfs41_const.h.

Referenced by is_well_known_sid().

◆ ACE4_DIRECTORY_INHERIT_ACE

#define ACE4_DIRECTORY_INHERIT_ACE   0x00000002

Definition at line 372 of file nfs41_const.h.

Referenced by map_aceflags().

◆ ACE4_EVERYONE

#define ACE4_EVERYONE   "EVERYONE@"

◆ ACE4_EXECUTE

#define ACE4_EXECUTE   0x00000020

Definition at line 332 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_FAILED_ACCESS_ACE_FLAG

#define ACE4_FAILED_ACCESS_ACE_FLAG   0x00000020

Definition at line 376 of file nfs41_const.h.

◆ ACE4_FILE_ALL_ACCESS

#define ACE4_FILE_ALL_ACCESS
Value:
ACE4_READ_NAMED_ATTRS|ACE4_WRITE_NAMED_ATTRS|ACE4_EXECUTE| \
ACE4_READ_ATTRIBUTES|ACE4_WRITE_ATTRIBUTES
#define ACE4_READ_DATA
Definition: nfs41_const.h:324
#define ACE4_ADD_FILE
Definition: nfs41_const.h:327
#define ACE4_WRITE_ATTRIBUTES
Definition: nfs41_const.h:335
#define ACE4_LIST_DIRECTORY
Definition: nfs41_const.h:325
#define ACE4_EXECUTE
Definition: nfs41_const.h:332
#define ACE4_ADD_SUBDIRECTORY
Definition: nfs41_const.h:329
#define ACE4_APPEND_DATA
Definition: nfs41_const.h:328
#define ACE4_WRITE_NAMED_ATTRS
Definition: nfs41_const.h:331

Definition at line 365 of file nfs41_const.h.

◆ ACE4_FILE_INHERIT_ACE

#define ACE4_FILE_INHERIT_ACE   0x00000001

Definition at line 371 of file nfs41_const.h.

Referenced by map_aceflags().

◆ ACE4_GENERIC_EXECUTE

#define ACE4_GENERIC_EXECUTE
Value:
ACE4_READ_ACL|ACE4_SYNCHRONIZE
#define ACE4_READ_ATTRIBUTES
Definition: nfs41_const.h:334
#define ACE4_EXECUTE
Definition: nfs41_const.h:332
#define ACE4_SYNCHRONIZE
Definition: nfs41_const.h:343

Definition at line 360 of file nfs41_const.h.

Referenced by map_acemask().

◆ ACE4_GENERIC_READ

#define ACE4_GENERIC_READ
Value:
ACE4_READ_ATTRIBUTES|ACE4_READ_ACL|ACE4_SYNCHRONIZE
#define ACE4_READ_DATA
Definition: nfs41_const.h:324
#define ACE4_READ_ACL
Definition: nfs41_const.h:340
#define ACE4_READ_NAMED_ATTRS
Definition: nfs41_const.h:330
#define ACE4_SYNCHRONIZE
Definition: nfs41_const.h:343

Definition at line 356 of file nfs41_const.h.

Referenced by map_acemask().

◆ ACE4_GENERIC_WRITE

#define ACE4_GENERIC_WRITE
Value:
ACE4_WRITE_ATTRIBUTES|ACE4_READ_ACL|ACE4_SYNCHRONIZE
#define ACE4_READ_ACL
Definition: nfs41_const.h:340
#define ACE4_SYNCHRONIZE
Definition: nfs41_const.h:343
#define ACE4_WRITE_NAMED_ATTRS
Definition: nfs41_const.h:331
#define ACE4_WRITE_DATA
Definition: nfs41_const.h:326

Definition at line 358 of file nfs41_const.h.

Referenced by map_acemask().

◆ ACE4_GROUP

#define ACE4_GROUP   "GROUP@"

Definition at line 382 of file nfs41_const.h.

Referenced by check_4_special_identifiers(), is_well_known_sid(), and map_nfs4ace_who().

◆ ACE4_IDENTIFIER_GROUP

#define ACE4_IDENTIFIER_GROUP   0x00000040

Definition at line 377 of file nfs41_const.h.

◆ ACE4_INHERIT_ONLY_ACE

#define ACE4_INHERIT_ONLY_ACE   0x00000008

Definition at line 374 of file nfs41_const.h.

Referenced by map_aceflags().

◆ ACE4_INHERITED_ACE

#define ACE4_INHERITED_ACE   0x00000080

Definition at line 378 of file nfs41_const.h.

Referenced by map_aceflags().

◆ ACE4_INTERACTIVE

#define ACE4_INTERACTIVE   "INTERACTIVE@"

Definition at line 384 of file nfs41_const.h.

Referenced by is_well_known_sid().

◆ ACE4_LIST_DIRECTORY

#define ACE4_LIST_DIRECTORY   0x00000001

Definition at line 325 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_NETWORK

#define ACE4_NETWORK   "NETWORK@"

Definition at line 385 of file nfs41_const.h.

Referenced by is_well_known_sid().

◆ ACE4_NO_PROPAGATE_INHERIT_ACE

#define ACE4_NO_PROPAGATE_INHERIT_ACE   0x00000004

Definition at line 373 of file nfs41_const.h.

Referenced by map_aceflags().

◆ ACE4_NOBODY

#define ACE4_NOBODY   "nobody"

Definition at line 391 of file nfs41_const.h.

Referenced by check_4_special_identifiers(), is_well_known_sid(), and map_nfs4ace_who().

◆ ACE4_OWNER

#define ACE4_OWNER   "OWNER@"

Definition at line 381 of file nfs41_const.h.

Referenced by check_4_special_identifiers(), is_well_known_sid(), and map_nfs4ace_who().

◆ ACE4_READ_ACL

#define ACE4_READ_ACL   0x00020000

Definition at line 340 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_READ_ATTRIBUTES

#define ACE4_READ_ATTRIBUTES   0x00000080

Definition at line 334 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_READ_DATA

#define ACE4_READ_DATA   0x00000001

Definition at line 324 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_READ_NAMED_ATTRS

#define ACE4_READ_NAMED_ATTRS   0x00000008

Definition at line 330 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_SERVICE

#define ACE4_SERVICE   "SERVICE@"

Definition at line 390 of file nfs41_const.h.

Referenced by is_well_known_sid().

◆ ACE4_SUCCESSFUL_ACCESS_ACE_FLAG

#define ACE4_SUCCESSFUL_ACCESS_ACE_FLAG   0x00000010

Definition at line 375 of file nfs41_const.h.

◆ ACE4_SYNCHRONIZE

#define ACE4_SYNCHRONIZE   0x00100000

Definition at line 343 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_SYSTEM_ALARM_ACE_TYPE

#define ACE4_SYSTEM_ALARM_ACE_TYPE   0x00000003

Definition at line 321 of file nfs41_const.h.

◆ ACE4_SYSTEM_AUDIT_ACE_TYPE

#define ACE4_SYSTEM_AUDIT_ACE_TYPE   0x00000002

Definition at line 320 of file nfs41_const.h.

◆ ACE4_WRITE_ACL

#define ACE4_WRITE_ACL   0x00040000

Definition at line 341 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_WRITE_ATTRIBUTES

#define ACE4_WRITE_ATTRIBUTES   0x00000100

Definition at line 335 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_WRITE_DATA

#define ACE4_WRITE_DATA   0x00000002

Definition at line 326 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_WRITE_NAMED_ATTRS

#define ACE4_WRITE_NAMED_ATTRS   0x00000010

Definition at line 331 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_WRITE_OWNER

#define ACE4_WRITE_OWNER   0x00080000

Definition at line 342 of file nfs41_const.h.

Referenced by print_nfs_access_mask().

◆ ACE4_WRITE_RETENTION

#define ACE4_WRITE_RETENTION   0x00000200

Definition at line 336 of file nfs41_const.h.

◆ ACE4_WRITE_RETENTION_HOLD

#define ACE4_WRITE_RETENTION_HOLD   0x00000400

Definition at line 337 of file nfs41_const.h.

◆ ACL4_AUTO_INHERIT

#define ACL4_AUTO_INHERIT   0x00000001

Definition at line 394 of file nfs41_const.h.

◆ ACL4_DEFAULTED

#define ACL4_DEFAULTED   0x00000004

Definition at line 396 of file nfs41_const.h.

◆ ACL4_PROTECTED

#define ACL4_PROTECTED   0x00000002

Definition at line 395 of file nfs41_const.h.

◆ ACL4_SUPPORT_ALARM_ACL

#define ACL4_SUPPORT_ALARM_ACL   0x00000008

Definition at line 315 of file nfs41_const.h.

◆ ACL4_SUPPORT_ALLOW_ACL

#define ACL4_SUPPORT_ALLOW_ACL   0x00000001

Definition at line 312 of file nfs41_const.h.

◆ ACL4_SUPPORT_AUDIT_ACL

#define ACL4_SUPPORT_AUDIT_ACL   0x00000004

Definition at line 314 of file nfs41_const.h.

◆ ACL4_SUPPORT_DENY_ACL

#define ACL4_SUPPORT_DENY_ACL   0x00000002

Definition at line 313 of file nfs41_const.h.

◆ CREATE_SESSION4_FLAG_CONN_BACK_CHAN

#define CREATE_SESSION4_FLAG_CONN_BACK_CHAN   0x00000002

Definition at line 308 of file nfs41_const.h.

Referenced by nfs41_create_session(), and nfs41_session_create().

◆ CREATE_SESSION4_FLAG_CONN_RDMA

#define CREATE_SESSION4_FLAG_CONN_RDMA   0x00000004

Definition at line 309 of file nfs41_const.h.

◆ CREATE_SESSION4_FLAG_PERSIST

#define CREATE_SESSION4_FLAG_PERSIST   0x00000001

Definition at line 307 of file nfs41_const.h.

Referenced by handle_open(), nfs41_create_session(), and nfs41_session_create().

◆ MAKE_WORD0

#define MAKE_WORD0 (   XXX)    (1 << XXX)

Definition at line 199 of file nfs41_const.h.

◆ MAKE_WORD1

#define MAKE_WORD1 (   XXX)    (1 << (XXX-32))

Definition at line 200 of file nfs41_const.h.

◆ MAKE_WORD2

#define MAKE_WORD2 (   XXX)    (1 << (XXX-64))

Definition at line 201 of file nfs41_const.h.

◆ NFS41_ADDRS_PER_SERVER

#define NFS41_ADDRS_PER_SERVER   4

◆ NFS41_HOSTNAME_LEN

#define NFS41_HOSTNAME_LEN   64

Definition at line 48 of file nfs41_const.h.

Referenced by decode_fs_location4().

◆ NFS41_MAX_COMPONENT_LEN

#define NFS41_MAX_COMPONENT_LEN   256

◆ NFS41_MAX_FILEIO_SIZE

#define NFS41_MAX_FILEIO_SIZE   (1024 * 1024)

Definition at line 38 of file nfs41_const.h.

Referenced by decode_read_res_ok(), and encode_op_write().

◆ NFS41_MAX_PATH_LEN

◆ NFS41_MAX_RPC_REQS

#define NFS41_MAX_RPC_REQS   128

Definition at line 40 of file nfs41_const.h.

Referenced by nfs41_create_session().

◆ NFS41_MAX_SERVER_CACHE

◆ NFS41_MAX_SYMLINK_DEPTH

#define NFS41_MAX_SYMLINK_DEPTH   31

Definition at line 60 of file nfs41_const.h.

Referenced by handle_open(), and nfs41_symlink_follow().

◆ NFS41_NETWORK_ID_LEN

#define NFS41_NETWORK_ID_LEN   4

◆ NFS41_RPC_CBPROGRAM

#define NFS41_RPC_CBPROGRAM   0x2358

Definition at line 80 of file nfs41_const.h.

Referenced by nfs41_create_session(), and nfs41_handle_callback().

◆ NFS41_RPC_PROGRAM

#define NFS41_RPC_PROGRAM   100003

Definition at line 78 of file nfs41_const.h.

Referenced by get_client_for_netaddr().

◆ NFS41_RPC_VERSION

#define NFS41_RPC_VERSION   4

Definition at line 79 of file nfs41_const.h.

Referenced by get_client_for_netaddr().

◆ NFS41_UNIVERSAL_ADDR_LEN

#define NFS41_UNIVERSAL_ADDR_LEN   56

◆ NFS4_EANAME_SIZE

#define NFS4_EANAME_SIZE   128

Definition at line 35 of file nfs41_const.h.

◆ NFS4_EASIZE

#define NFS4_EASIZE   256

Definition at line 34 of file nfs41_const.h.

Referenced by get_ea_value(), and set_ea_value().

◆ NFS4_FHSIZE

#define NFS4_FHSIZE   128

Definition at line 29 of file nfs41_const.h.

Referenced by common_fh(), and xdr_fh().

◆ NFS4_OPAQUE_LIMIT

◆ NFS4_SESSIONID_SIZE

◆ NFS4_STATEID_OTHER

#define NFS4_STATEID_OTHER   12

◆ NFS4_VERIFIER_SIZE

◆ READ_OVERHEAD

#define READ_OVERHEAD   512

Definition at line 68 of file nfs41_const.h.

Referenced by handle_mount(), max_read_size(), and pnfs_rpc_layoutget().

◆ UPCALL_BUF_SIZE

#define UPCALL_BUF_SIZE   2048

Definition at line 42 of file nfs41_const.h.

Referenced by thread_main().

◆ WRITE_OVERHEAD

#define WRITE_OVERHEAD   1068

Definition at line 75 of file nfs41_const.h.

Referenced by handle_mount(), and max_write_size().

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
FATTR4_WORD0_SUPPORTED_ATTRS 
FATTR4_WORD0_TYPE 
FATTR4_WORD0_FH_EXPIRE_TYPE 
FATTR4_WORD0_CHANGE 
FATTR4_WORD0_SIZE 
FATTR4_WORD0_LINK_SUPPORT 
FATTR4_WORD0_SYMLINK_SUPPORT 
FATTR4_WORD0_NAMED_ATTR 
FATTR4_WORD0_FSID 
FATTR4_WORD0_UNIQUE_HANDLES 
FATTR4_WORD0_LEASE_TIME 
FATTR4_WORD0_RDATTR_ERROR 
FATTR4_WORD0_FILEHANDLE 
FATTR4_WORD2_SUPPATTR_EXCLCREAT 
FATTR4_WORD0_ACL 
FATTR4_WORD0_ACLSUPPORT 
FATTR4_WORD0_ARCHIVE 
FATTR4_WORD0_CANSETTIME 
FATTR4_WORD0_CASE_INSENSITIVE 
FATTR4_WORD0_CASE_PRESERVING 
FATTR4_WORD0_CHOWN_RESTRICTED 
FATTR4_WORD0_FILEID 
FATTR4_WORD0_FILES_AVAIL 
FATTR4_WORD0_FILES_FREE 
FATTR4_WORD0_FILES_TOTAL 
FATTR4_WORD0_FS_LOCATIONS 
FATTR4_WORD0_HIDDEN 
FATTR4_WORD0_HOMOGENEOUS 
FATTR4_WORD0_MAXFILESIZE 
FATTR4_WORD0_MAXLINK 
FATTR4_WORD0_MAXNAME 
FATTR4_WORD0_MAXREAD 
FATTR4_WORD0_MAXWRITE 
FATTR4_WORD1_MIMETYPE 
FATTR4_WORD1_MODE 
FATTR4_WORD1_NO_TRUNC 
FATTR4_WORD1_NUMLINKS 
FATTR4_WORD1_OWNER 
FATTR4_WORD1_OWNER_GROUP 
FATTR4_WORD1_QUOTA_AVAIL_HARD 
FATTR4_WORD1_QUOTA_AVAIL_SOFT 
FATTR4_WORD1_QUOTA_USED 
FATTR4_WORD1_RAWDEV 
FATTR4_WORD1_SPACE_AVAIL 
FATTR4_WORD1_SPACE_FREE 
FATTR4_WORD1_SPACE_TOTAL 
FATTR4_WORD1_SPACE_USED 
FATTR4_WORD1_SYSTEM 
FATTR4_WORD1_TIME_ACCESS 
FATTR4_WORD1_TIME_ACCESS_SET 
FATTR4_WORD1_TIME_BACKUP 
FATTR4_WORD1_TIME_CREATE 
FATTR4_WORD1_TIME_DELTA 
FATTR4_WORD1_TIME_METADATA 
FATTR4_WORD1_TIME_MODIFY 
FATTR4_WORD1_TIME_MODIFY_SET 
FATTR4_WORD1_MOUNTED_ON_FILEID 
FATTR4_WORD1_DIR_NOTIF_DELAY 
FATTR4_WORD1_DIRENT_NOTIF_DELAY 
FATTR4_WORD1_DACL 
FATTR4_WORD1_SACL 
FATTR4_WORD1_CHANGE_POLICY 
FATTR4_WORD1_FS_STATUS 
FATTR4_WORD1_FS_LAYOUT_TYPE 
FATTR4_WORD1_LAYOUT_HINT 
FATTR4_WORD2_LAYOUT_TYPE 
FATTR4_WORD2_LAYOUT_BLKSIZE 
FATTR4_WORD2_LAYOUT_ALIGNMENT 
FATTR4_WORD2_FS_LOCATIONS_INFO 
FATTR4_WORD2_MDSTHRESHOLD 
FATTR4_WORD2_RETENTION_GET 
FATTR4_WORD2_RETENTION_SET 
FATTR4_WORD2_RETENTEVT_GET 
FATTR4_WORD2_RETENTEVT_SET 
FATTR4_WORD2_RETENTION_HOLD 
FATTR4_WORD2_MODE_SET_MASKED 
FATTR4_WORD2_FS_CHARSET_CAP 

Definition at line 203 of file nfs41_const.h.

203  {
204 /*
205  * Mandatory Attributes
206  */
221 
222 /*
223  * Recommended Attributes
224  */
288 };
#define MAKE_WORD0(XXX)
Definition: nfs41_const.h:199
#define MAKE_WORD2(XXX)
Definition: nfs41_const.h:201
#define MAKE_WORD1(XXX)
Definition: nfs41_const.h:200

◆ nfs_ftype4

Enumerator
NF4REG 
NF4DIR 
NF4BLK 
NF4CHR 
NF4LNK 
NF4SOCK 
NF4FIFO 
NF4ATTRDIR 
NF4NAMEDATTR 
NFS_FTYPE_MASK 

Definition at line 293 of file nfs41_const.h.

293  {
294  NF4REG = 1, /* Regular File */
295  NF4DIR = 2, /* Directory */
296  NF4BLK = 3, /* Special File - block device */
297  NF4CHR = 4, /* Special File - character device */
298  NF4LNK = 5, /* Symbolic Link */
299  NF4SOCK = 6, /* Special File - socket */
300  NF4FIFO = 7, /* Special File - fifo */
301  NF4ATTRDIR = 8, /* Attribute Directory */
302  NF4NAMEDATTR = 9, /* Named Attribute */
303 
304  NFS_FTYPE_MASK = 0xF
305 };

◆ nfsstat4

Enumerator
NFS4_OK 
NFS4ERR_PERM 
NFS4ERR_NOENT 
NFS4ERR_IO 
NFS4ERR_NXIO 
NFS4ERR_ACCESS 
NFS4ERR_EXIST 
NFS4ERR_XDEV 
NFS4ERR_NOTDIR 
NFS4ERR_ISDIR 
NFS4ERR_INVAL 
NFS4ERR_FBIG 
NFS4ERR_NOSPC 
NFS4ERR_ROFS 
NFS4ERR_MLINK 
NFS4ERR_NAMETOOLONG 
NFS4ERR_NOTEMPTY 
NFS4ERR_DQUOT 
NFS4ERR_STALE 
NFS4ERR_BADHANDLE 
NFS4ERR_BAD_COOKIE 
NFS4ERR_NOTSUPP 
NFS4ERR_TOOSMALL 
NFS4ERR_SERVERFAULT 
NFS4ERR_BADTYPE 
NFS4ERR_DELAY 
NFS4ERR_SAME 
NFS4ERR_DENIED 
NFS4ERR_EXPIRED 
NFS4ERR_LOCKED 
NFS4ERR_GRACE 
NFS4ERR_FHEXPIRED 
NFS4ERR_SHARE_DENIED 
NFS4ERR_WRONGSEC 
NFS4ERR_CLID_INUSE 
NFS4ERR_RESOURCE 
NFS4ERR_MOVED 
NFS4ERR_NOFILEHANDLE 
NFS4ERR_MINOR_VERS_MISMATCH 
NFS4ERR_STALE_CLIENTID 
NFS4ERR_STALE_STATEID 
NFS4ERR_OLD_STATEID 
NFS4ERR_BAD_STATEID 
NFS4ERR_BAD_SEQID 
NFS4ERR_NOT_SAME 
NFS4ERR_LOCK_RANGE 
NFS4ERR_SYMLINK 
NFS4ERR_RESTOREFH 
NFS4ERR_LEASE_MOVED 
NFS4ERR_ATTRNOTSUPP 
NFS4ERR_NO_GRACE 
NFS4ERR_RECLAIM_BAD 
NFS4ERR_RECLAIM_CONFLICT 
NFS4ERR_BADXDR 
NFS4ERR_LOCKS_HELD 
NFS4ERR_OPENMODE 
NFS4ERR_BADOWNER 
NFS4ERR_BADCHAR 
NFS4ERR_BADNAME 
NFS4ERR_BAD_RANGE 
NFS4ERR_LOCK_NOTSUPP 
NFS4ERR_OP_ILLEGAL 
NFS4ERR_DEADLOCK 
NFS4ERR_FILE_OPEN 
NFS4ERR_ADMIN_REVOKED 
NFS4ERR_CB_PATH_DOWN 
NFS4ERR_BADIOMODE 
NFS4ERR_BADLAYOUT 
NFS4ERR_BAD_SESSION_DIGEST 
NFS4ERR_BADSESSION 
NFS4ERR_BADSLOT 
NFS4ERR_COMPLETE_ALREADY 
NFS4ERR_CONN_NOT_BOUND_TO_SESSION 
NFS4ERR_DELEG_ALREADY_WANTED 
NFS4ERR_BACK_CHAN_BUSY 
NFS4ERR_LAYOUTTRYLATER 
NFS4ERR_LAYOUTUNAVAILABLE 
NFS4ERR_NOMATCHING_LAYOUT 
NFS4ERR_RECALLCONFLICT 
NFS4ERR_UNKNOWN_LAYOUTTYPE 
NFS4ERR_SEQ_MISORDERED 
NFS4ERR_SEQUENCE_POS 
NFS4ERR_REQ_TOO_BIG 
NFS4ERR_REP_TOO_BIG 
NFS4ERR_REP_TOO_BIG_TO_CACHE 
NFS4ERR_RETRY_UNCACHED_REP 
NFS4ERR_UNSAFE_COMPOUND 
NFS4ERR_TOO_MANY_OPS 
NFS4ERR_OP_NOT_IN_SESSION 
NFS4ERR_HASH_ALG_UNSUPP 
NFS4ERR_CLIENTID_BUSY 
NFS4ERR_PNFS_IO_HOLE 
NFS4ERR_SEQ_FALSE_RETRY 
NFS4ERR_BAD_HIGH_SLOT 
NFS4ERR_DEADSESSION 
NFS4ERR_ENCR_ALG_UNSUPP 
NFS4ERR_PNFS_NO_LAYOUT 
NFS4ERR_NOT_ONLY_OP 
NFS4ERR_WRONG_CRED 
NFS4ERR_WRONG_TYPE 
NFS4ERR_DIRDELEG_UNAVAIL 
NFS4ERR_REJECT_DELEG 
NFS4ERR_RETURNCONFLICT 
NFS4ERR_DELEG_REVOKED 

Definition at line 86 of file nfs41_const.h.

86  {
87  NFS4_OK = 0, /* everything is okay */
88  NFS4ERR_PERM = 1, /* caller not privileged */
89  NFS4ERR_NOENT = 2, /* no such file/directory */
90  NFS4ERR_IO = 5, /* hard I/O error */
91  NFS4ERR_NXIO = 6, /* no such device */
92  NFS4ERR_ACCESS = 13, /* access denied */
93  NFS4ERR_EXIST = 17, /* file already exists */
94  NFS4ERR_XDEV = 18, /* different filesystems */
95 
96  NFS4ERR_NOTDIR = 20, /* should be a directory */
97  NFS4ERR_ISDIR = 21, /* should not be directory */
98  NFS4ERR_INVAL = 22, /* invalid argument */
99  NFS4ERR_FBIG = 27, /* file exceeds server max */
100  NFS4ERR_NOSPC = 28, /* no space on filesystem */
101  NFS4ERR_ROFS = 30, /* read-only filesystem */
102  NFS4ERR_MLINK = 31, /* too many hard links */
103  NFS4ERR_NAMETOOLONG = 63, /* name exceeds server max */
104  NFS4ERR_NOTEMPTY = 66, /* directory not empty */
105  NFS4ERR_DQUOT = 69, /* hard quota limit reached*/
106  NFS4ERR_STALE = 70, /* file no longer exists */
107  NFS4ERR_BADHANDLE = 10001, /* Illegal filehandle */
108  NFS4ERR_BAD_COOKIE = 10003, /* READDIR cookie is stale */
109  NFS4ERR_NOTSUPP = 10004, /* operation not supported */
110  NFS4ERR_TOOSMALL = 10005, /* response limit exceeded */
111  NFS4ERR_SERVERFAULT = 10006, /* undefined server error */
112  NFS4ERR_BADTYPE = 10007, /* type invalid for CREATE */
113  NFS4ERR_DELAY = 10008, /* file "busy" - retry */
114  NFS4ERR_SAME = 10009, /* nverify says attrs same */
115  NFS4ERR_DENIED = 10010, /* lock unavailable */
116  NFS4ERR_EXPIRED = 10011, /* lock lease expired */
117  NFS4ERR_LOCKED = 10012, /* I/O failed due to lock */
118  NFS4ERR_GRACE = 10013, /* in grace period */
119  NFS4ERR_FHEXPIRED = 10014, /* filehandle expired */
120  NFS4ERR_SHARE_DENIED = 10015, /* share reserve denied */
121  NFS4ERR_WRONGSEC = 10016, /* wrong security flavor */
122  NFS4ERR_CLID_INUSE = 10017, /* clientid in use */
123 
124  /* NFS4ERR_RESOURCE is not a valid error in NFSv4.1 */
125  NFS4ERR_RESOURCE = 10018, /* resource exhaustion */
126  NFS4ERR_MOVED = 10019, /* filesystem relocated */
127  NFS4ERR_NOFILEHANDLE = 10020, /* current FH is not set */
128  NFS4ERR_MINOR_VERS_MISMATCH = 10021, /* minor vers not supp */
129  NFS4ERR_STALE_CLIENTID = 10022, /* server has rebooted */
130  NFS4ERR_STALE_STATEID = 10023, /* server has rebooted */
131  NFS4ERR_OLD_STATEID = 10024, /* state is out of sync */
132  NFS4ERR_BAD_STATEID = 10025, /* incorrect stateid */
133  NFS4ERR_BAD_SEQID = 10026, /* request is out of seq. */
134  NFS4ERR_NOT_SAME = 10027, /* verify - attrs not same */
135  NFS4ERR_LOCK_RANGE = 10028, /* overlapping lock range */
136  NFS4ERR_SYMLINK = 10029, /* should be file/directory*/
137  NFS4ERR_RESTOREFH = 10030, /* no saved filehandle */
138  NFS4ERR_LEASE_MOVED = 10031, /* some filesystem moved */
139  NFS4ERR_ATTRNOTSUPP = 10032, /* recommended attr not sup*/
140  NFS4ERR_NO_GRACE = 10033, /* reclaim outside of grace*/
141  NFS4ERR_RECLAIM_BAD = 10034, /* reclaim error at server */
142  NFS4ERR_RECLAIM_CONFLICT = 10035, /* conflict on reclaim */
143  NFS4ERR_BADXDR = 10036, /* XDR decode failed */
144  NFS4ERR_LOCKS_HELD = 10037, /* file locks held at CLOSE*/
145  NFS4ERR_OPENMODE = 10038, /* conflict in OPEN and I/O*/
146  NFS4ERR_BADOWNER = 10039, /* owner translation bad */
147  NFS4ERR_BADCHAR = 10040, /* utf-8 char not supported*/
148  NFS4ERR_BADNAME = 10041, /* name not supported */
149  NFS4ERR_BAD_RANGE = 10042, /* lock range not supported*/
150  NFS4ERR_LOCK_NOTSUPP = 10043, /* no atomic up/downgrade */
151  NFS4ERR_OP_ILLEGAL = 10044, /* undefined operation */
152  NFS4ERR_DEADLOCK = 10045, /* file locking deadlock */
153  NFS4ERR_FILE_OPEN = 10046, /* open file blocks op. */
154  NFS4ERR_ADMIN_REVOKED = 10047, /* lockowner state revoked */
155  NFS4ERR_CB_PATH_DOWN = 10048, /* callback path down */
156 
157  /* NFSv4.1 errors start here. */
158  NFS4ERR_BADIOMODE = 10049,
159  NFS4ERR_BADLAYOUT = 10050,
161  NFS4ERR_BADSESSION = 10052,
162  NFS4ERR_BADSLOT = 10053,
163  NFS4ERR_COMPLETE_ALREADY = 10054,
166  NFS4ERR_BACK_CHAN_BUSY = 10057, /*backchan reqs outstanding*/
167  NFS4ERR_LAYOUTTRYLATER = 10058,
170  NFS4ERR_RECALLCONFLICT = 10061,
172  NFS4ERR_SEQ_MISORDERED = 10063, /* unexpected seq.ID in req*/
173  NFS4ERR_SEQUENCE_POS = 10064, /* [CB_]SEQ. op not 1st op */
174  NFS4ERR_REQ_TOO_BIG = 10065, /* request too big */
175  NFS4ERR_REP_TOO_BIG = 10066, /* reply too big */
176  NFS4ERR_REP_TOO_BIG_TO_CACHE = 10067, /* rep. not all cached */
177  NFS4ERR_RETRY_UNCACHED_REP = 10068, /* retry & rep. uncached */
178  NFS4ERR_UNSAFE_COMPOUND = 10069, /* retry/recovery too hard */
179  NFS4ERR_TOO_MANY_OPS = 10070, /*too many ops in [CB_]COMP*/
180  NFS4ERR_OP_NOT_IN_SESSION = 10071, /* op needs [CB_]SEQ. op */
181  NFS4ERR_HASH_ALG_UNSUPP = 10072, /* hash alg. not supp. */
182  /* Error 10073 is unused. */
183  NFS4ERR_CLIENTID_BUSY = 10074, /* clientid has state */
184  NFS4ERR_PNFS_IO_HOLE = 10075, /* IO to _SPARSE file hole */
185  NFS4ERR_SEQ_FALSE_RETRY = 10076, /* Retry != original req. */
186  NFS4ERR_BAD_HIGH_SLOT = 10077, /* req has bad highest_slot*/
187  NFS4ERR_DEADSESSION = 10078, /*new req sent to dead sess*/
188  NFS4ERR_ENCR_ALG_UNSUPP = 10079, /* encr alg. not supp. */
189  NFS4ERR_PNFS_NO_LAYOUT = 10080, /* I/O without a layout */
190  NFS4ERR_NOT_ONLY_OP = 10081, /* addl ops not allowed */
191  NFS4ERR_WRONG_CRED = 10082, /* op done by wrong cred */
192  NFS4ERR_WRONG_TYPE = 10083, /* op on wrong type object */
193  NFS4ERR_DIRDELEG_UNAVAIL = 10084, /* delegation not avail. */
194  NFS4ERR_REJECT_DELEG = 10085, /* cb rejected delegation */
195  NFS4ERR_RETURNCONFLICT = 10086, /* layout get before return*/
196  NFS4ERR_DELEG_REVOKED = 10087 /* deleg./layout revoked */
197 };