Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
nfs4.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Macros

#define NFS4_BITMAP_SIZE   2
 
#define NFS4_VERIFIER_SIZE   8
 
#define NFS4_STATEID_SEQID_SIZE   4
 
#define NFS4_STATEID_OTHER_SIZE   12
 
#define NFS4_STATEID_SIZE   (NFS4_STATEID_SEQID_SIZE + NFS4_STATEID_OTHER_SIZE)
 
#define NFS4_FHSIZE   128
 
#define NFS4_MAXPATHLEN   PATH_MAX
 
#define NFS4_MAXNAMLEN   NAME_MAX
 
#define NFS4_OPAQUE_LIMIT   1024
 
#define NFS4_MAX_SESSIONID_LEN   16
 
#define NFS4_ACCESS_READ   0x0001
 
#define NFS4_ACCESS_LOOKUP   0x0002
 
#define NFS4_ACCESS_MODIFY   0x0004
 
#define NFS4_ACCESS_EXTEND   0x0008
 
#define NFS4_ACCESS_DELETE   0x0010
 
#define NFS4_ACCESS_EXECUTE   0x0020
 
#define NFS4_FH_PERSISTENT   0x0000
 
#define NFS4_FH_NOEXPIRE_WITH_OPEN   0x0001
 
#define NFS4_FH_VOLATILE_ANY   0x0002
 
#define NFS4_FH_VOL_MIGRATION   0x0004
 
#define NFS4_FH_VOL_RENAME   0x0008
 
#define NFS4_OPEN_RESULT_CONFIRM   0x0002
 
#define NFS4_OPEN_RESULT_LOCKTYPE_POSIX   0x0004
 
#define NFS4_SHARE_ACCESS_MASK   0x000F
 
#define NFS4_SHARE_ACCESS_READ   0x0001
 
#define NFS4_SHARE_ACCESS_WRITE   0x0002
 
#define NFS4_SHARE_ACCESS_BOTH   0x0003
 
#define NFS4_SHARE_DENY_READ   0x0001
 
#define NFS4_SHARE_DENY_WRITE   0x0002
 
#define NFS4_SHARE_DENY_BOTH   0x0003
 
#define NFS4_SHARE_WANT_MASK   0xFF00
 
#define NFS4_SHARE_WANT_NO_PREFERENCE   0x0000
 
#define NFS4_SHARE_WANT_READ_DELEG   0x0100
 
#define NFS4_SHARE_WANT_WRITE_DELEG   0x0200
 
#define NFS4_SHARE_WANT_ANY_DELEG   0x0300
 
#define NFS4_SHARE_WANT_NO_DELEG   0x0400
 
#define NFS4_SHARE_WANT_CANCEL   0x0500
 
#define NFS4_SHARE_WHEN_MASK   0xF0000
 
#define NFS4_SHARE_SIGNAL_DELEG_WHEN_RESRC_AVAIL   0x10000
 
#define NFS4_SHARE_PUSH_DELEG_WHEN_UNCONTENDED   0x20000
 
#define NFS4_CDFC4_FORE   0x1
 
#define NFS4_CDFC4_BACK   0x2
 
#define NFS4_CDFC4_BOTH   0x3
 
#define NFS4_CDFC4_FORE_OR_BOTH   0x3
 
#define NFS4_CDFC4_BACK_OR_BOTH   0x7
 
#define NFS4_CDFS4_FORE   0x1
 
#define NFS4_CDFS4_BACK   0x2
 
#define NFS4_CDFS4_BOTH   0x3
 
#define NFS4_SET_TO_SERVER_TIME   0
 
#define NFS4_SET_TO_CLIENT_TIME   1
 
#define NFS4_ACE_ACCESS_ALLOWED_ACE_TYPE   0
 
#define NFS4_ACE_ACCESS_DENIED_ACE_TYPE   1
 
#define NFS4_ACE_SYSTEM_AUDIT_ACE_TYPE   2
 
#define NFS4_ACE_SYSTEM_ALARM_ACE_TYPE   3
 
#define ACL4_SUPPORT_ALLOW_ACL   0x01
 
#define ACL4_SUPPORT_DENY_ACL   0x02
 
#define ACL4_SUPPORT_AUDIT_ACL   0x04
 
#define ACL4_SUPPORT_ALARM_ACL   0x08
 
#define NFS4_ACE_FILE_INHERIT_ACE   0x00000001
 
#define NFS4_ACE_DIRECTORY_INHERIT_ACE   0x00000002
 
#define NFS4_ACE_NO_PROPAGATE_INHERIT_ACE   0x00000004
 
#define NFS4_ACE_INHERIT_ONLY_ACE   0x00000008
 
#define NFS4_ACE_SUCCESSFUL_ACCESS_ACE_FLAG   0x00000010
 
#define NFS4_ACE_FAILED_ACCESS_ACE_FLAG   0x00000020
 
#define NFS4_ACE_IDENTIFIER_GROUP   0x00000040
 
#define NFS4_ACE_READ_DATA   0x00000001
 
#define NFS4_ACE_LIST_DIRECTORY   0x00000001
 
#define NFS4_ACE_WRITE_DATA   0x00000002
 
#define NFS4_ACE_ADD_FILE   0x00000002
 
#define NFS4_ACE_APPEND_DATA   0x00000004
 
#define NFS4_ACE_ADD_SUBDIRECTORY   0x00000004
 
#define NFS4_ACE_READ_NAMED_ATTRS   0x00000008
 
#define NFS4_ACE_WRITE_NAMED_ATTRS   0x00000010
 
#define NFS4_ACE_EXECUTE   0x00000020
 
#define NFS4_ACE_DELETE_CHILD   0x00000040
 
#define NFS4_ACE_READ_ATTRIBUTES   0x00000080
 
#define NFS4_ACE_WRITE_ATTRIBUTES   0x00000100
 
#define NFS4_ACE_DELETE   0x00010000
 
#define NFS4_ACE_READ_ACL   0x00020000
 
#define NFS4_ACE_WRITE_ACL   0x00040000
 
#define NFS4_ACE_WRITE_OWNER   0x00080000
 
#define NFS4_ACE_SYNCHRONIZE   0x00100000
 
#define NFS4_ACE_GENERIC_READ   0x00120081
 
#define NFS4_ACE_GENERIC_WRITE   0x00160106
 
#define NFS4_ACE_GENERIC_EXECUTE   0x001200A0
 
#define NFS4_ACE_MASK_ALL   0x001F01FF
 
#define EXCHGID4_FLAG_SUPP_MOVED_REFER   0x00000001
 
#define EXCHGID4_FLAG_SUPP_MOVED_MIGR   0x00000002
 
#define EXCHGID4_FLAG_BIND_PRINC_STATEID   0x00000100
 
#define EXCHGID4_FLAG_USE_NON_PNFS   0x00010000
 
#define EXCHGID4_FLAG_USE_PNFS_MDS   0x00020000
 
#define EXCHGID4_FLAG_USE_PNFS_DS   0x00040000
 
#define EXCHGID4_FLAG_MASK_PNFS   0x00070000
 
#define EXCHGID4_FLAG_UPD_CONFIRMED_REC_A   0x40000000
 
#define EXCHGID4_FLAG_CONFIRMED_R   0x80000000
 
#define EXCHGID4_FLAG_MASK_A   0x40070103
 
#define EXCHGID4_FLAG_MASK_R   0x80070103
 
#define SEQ4_STATUS_CB_PATH_DOWN   0x00000001
 
#define SEQ4_STATUS_CB_GSS_CONTEXTS_EXPIRING   0x00000002
 
#define SEQ4_STATUS_CB_GSS_CONTEXTS_EXPIRED   0x00000004
 
#define SEQ4_STATUS_EXPIRED_ALL_STATE_REVOKED   0x00000008
 
#define SEQ4_STATUS_EXPIRED_SOME_STATE_REVOKED   0x00000010
 
#define SEQ4_STATUS_ADMIN_STATE_REVOKED   0x00000020
 
#define SEQ4_STATUS_RECALLABLE_STATE_REVOKED   0x00000040
 
#define SEQ4_STATUS_LEASE_MOVED   0x00000080
 
#define SEQ4_STATUS_RESTART_RECLAIM_NEEDED   0x00000100
 
#define SEQ4_STATUS_CB_PATH_DOWN_SESSION   0x00000200
 
#define SEQ4_STATUS_BACKCHANNEL_FAULT   0x00000400
 
#define NFS4_SECINFO_STYLE4_CURRENT_FH   0
 
#define NFS4_SECINFO_STYLE4_PARENT   1
 
#define NFS4_MAX_UINT64   (~(u64)0)
 
#define NFS4_MAX_OPS   8
 
#define NFS4_MAX_BACK_CHANNEL_OPS   2
 

Enumerations

enum  nfs4_acl_whotype { NFS4_ACL_WHO_NAMED = 0, NFS4_ACL_WHO_OWNER, NFS4_ACL_WHO_GROUP, NFS4_ACL_WHO_EVERYONE }
 

Macro Definition Documentation

#define ACL4_SUPPORT_ALARM_ACL   0x08

Definition at line 87 of file nfs4.h.

#define ACL4_SUPPORT_ALLOW_ACL   0x01

Definition at line 84 of file nfs4.h.

#define ACL4_SUPPORT_AUDIT_ACL   0x04

Definition at line 86 of file nfs4.h.

#define ACL4_SUPPORT_DENY_ACL   0x02

Definition at line 85 of file nfs4.h.

#define EXCHGID4_FLAG_BIND_PRINC_STATEID   0x00000100

Definition at line 121 of file nfs4.h.

#define EXCHGID4_FLAG_CONFIRMED_R   0x80000000

Definition at line 129 of file nfs4.h.

#define EXCHGID4_FLAG_MASK_A   0x40070103

Definition at line 135 of file nfs4.h.

#define EXCHGID4_FLAG_MASK_PNFS   0x00070000

Definition at line 126 of file nfs4.h.

#define EXCHGID4_FLAG_MASK_R   0x80070103

Definition at line 136 of file nfs4.h.

#define EXCHGID4_FLAG_SUPP_MOVED_MIGR   0x00000002

Definition at line 120 of file nfs4.h.

#define EXCHGID4_FLAG_SUPP_MOVED_REFER   0x00000001

Definition at line 119 of file nfs4.h.

#define EXCHGID4_FLAG_UPD_CONFIRMED_REC_A   0x40000000

Definition at line 128 of file nfs4.h.

#define EXCHGID4_FLAG_USE_NON_PNFS   0x00010000

Definition at line 123 of file nfs4.h.

#define EXCHGID4_FLAG_USE_PNFS_DS   0x00040000

Definition at line 125 of file nfs4.h.

#define EXCHGID4_FLAG_USE_PNFS_MDS   0x00020000

Definition at line 124 of file nfs4.h.

#define NFS4_ACCESS_DELETE   0x0010

Definition at line 33 of file nfs4.h.

#define NFS4_ACCESS_EXECUTE   0x0020

Definition at line 34 of file nfs4.h.

#define NFS4_ACCESS_EXTEND   0x0008

Definition at line 32 of file nfs4.h.

#define NFS4_ACCESS_LOOKUP   0x0002

Definition at line 30 of file nfs4.h.

#define NFS4_ACCESS_MODIFY   0x0004

Definition at line 31 of file nfs4.h.

#define NFS4_ACCESS_READ   0x0001

Definition at line 29 of file nfs4.h.

#define NFS4_ACE_ACCESS_ALLOWED_ACE_TYPE   0

Definition at line 79 of file nfs4.h.

#define NFS4_ACE_ACCESS_DENIED_ACE_TYPE   1

Definition at line 80 of file nfs4.h.

#define NFS4_ACE_ADD_FILE   0x00000002

Definition at line 100 of file nfs4.h.

#define NFS4_ACE_ADD_SUBDIRECTORY   0x00000004

Definition at line 102 of file nfs4.h.

#define NFS4_ACE_APPEND_DATA   0x00000004

Definition at line 101 of file nfs4.h.

#define NFS4_ACE_DELETE   0x00010000

Definition at line 109 of file nfs4.h.

#define NFS4_ACE_DELETE_CHILD   0x00000040

Definition at line 106 of file nfs4.h.

#define NFS4_ACE_DIRECTORY_INHERIT_ACE   0x00000002

Definition at line 90 of file nfs4.h.

#define NFS4_ACE_EXECUTE   0x00000020

Definition at line 105 of file nfs4.h.

#define NFS4_ACE_FAILED_ACCESS_ACE_FLAG   0x00000020

Definition at line 94 of file nfs4.h.

#define NFS4_ACE_FILE_INHERIT_ACE   0x00000001

Definition at line 89 of file nfs4.h.

#define NFS4_ACE_GENERIC_EXECUTE   0x001200A0

Definition at line 116 of file nfs4.h.

#define NFS4_ACE_GENERIC_READ   0x00120081

Definition at line 114 of file nfs4.h.

#define NFS4_ACE_GENERIC_WRITE   0x00160106

Definition at line 115 of file nfs4.h.

#define NFS4_ACE_IDENTIFIER_GROUP   0x00000040

Definition at line 95 of file nfs4.h.

#define NFS4_ACE_INHERIT_ONLY_ACE   0x00000008

Definition at line 92 of file nfs4.h.

#define NFS4_ACE_LIST_DIRECTORY   0x00000001

Definition at line 98 of file nfs4.h.

#define NFS4_ACE_MASK_ALL   0x001F01FF

Definition at line 117 of file nfs4.h.

#define NFS4_ACE_NO_PROPAGATE_INHERIT_ACE   0x00000004

Definition at line 91 of file nfs4.h.

#define NFS4_ACE_READ_ACL   0x00020000

Definition at line 110 of file nfs4.h.

#define NFS4_ACE_READ_ATTRIBUTES   0x00000080

Definition at line 107 of file nfs4.h.

#define NFS4_ACE_READ_DATA   0x00000001

Definition at line 97 of file nfs4.h.

#define NFS4_ACE_READ_NAMED_ATTRS   0x00000008

Definition at line 103 of file nfs4.h.

#define NFS4_ACE_SUCCESSFUL_ACCESS_ACE_FLAG   0x00000010

Definition at line 93 of file nfs4.h.

#define NFS4_ACE_SYNCHRONIZE   0x00100000

Definition at line 113 of file nfs4.h.

#define NFS4_ACE_SYSTEM_ALARM_ACE_TYPE   3

Definition at line 82 of file nfs4.h.

#define NFS4_ACE_SYSTEM_AUDIT_ACE_TYPE   2

Definition at line 81 of file nfs4.h.

#define NFS4_ACE_WRITE_ACL   0x00040000

Definition at line 111 of file nfs4.h.

#define NFS4_ACE_WRITE_ATTRIBUTES   0x00000100

Definition at line 108 of file nfs4.h.

#define NFS4_ACE_WRITE_DATA   0x00000002

Definition at line 99 of file nfs4.h.

#define NFS4_ACE_WRITE_NAMED_ATTRS   0x00000010

Definition at line 104 of file nfs4.h.

#define NFS4_ACE_WRITE_OWNER   0x00080000

Definition at line 112 of file nfs4.h.

#define NFS4_BITMAP_SIZE   2

Definition at line 18 of file nfs4.h.

#define NFS4_CDFC4_BACK   0x2

Definition at line 67 of file nfs4.h.

#define NFS4_CDFC4_BACK_OR_BOTH   0x7

Definition at line 70 of file nfs4.h.

#define NFS4_CDFC4_BOTH   0x3

Definition at line 68 of file nfs4.h.

#define NFS4_CDFC4_FORE   0x1

Definition at line 66 of file nfs4.h.

#define NFS4_CDFC4_FORE_OR_BOTH   0x3

Definition at line 69 of file nfs4.h.

#define NFS4_CDFS4_BACK   0x2

Definition at line 73 of file nfs4.h.

#define NFS4_CDFS4_BOTH   0x3

Definition at line 74 of file nfs4.h.

#define NFS4_CDFS4_FORE   0x1

Definition at line 72 of file nfs4.h.

#define NFS4_FH_NOEXPIRE_WITH_OPEN   0x0001

Definition at line 37 of file nfs4.h.

#define NFS4_FH_PERSISTENT   0x0000

Definition at line 36 of file nfs4.h.

#define NFS4_FH_VOL_MIGRATION   0x0004

Definition at line 39 of file nfs4.h.

#define NFS4_FH_VOL_RENAME   0x0008

Definition at line 40 of file nfs4.h.

#define NFS4_FH_VOLATILE_ANY   0x0002

Definition at line 38 of file nfs4.h.

#define NFS4_FHSIZE   128

Definition at line 23 of file nfs4.h.

#define NFS4_MAX_BACK_CHANNEL_OPS   2

Definition at line 163 of file nfs4.h.

#define NFS4_MAX_OPS   8

Definition at line 158 of file nfs4.h.

#define NFS4_MAX_SESSIONID_LEN   16

Definition at line 27 of file nfs4.h.

#define NFS4_MAX_UINT64   (~(u64)0)

Definition at line 153 of file nfs4.h.

#define NFS4_MAXNAMLEN   NAME_MAX

Definition at line 25 of file nfs4.h.

#define NFS4_MAXPATHLEN   PATH_MAX

Definition at line 24 of file nfs4.h.

#define NFS4_OPAQUE_LIMIT   1024

Definition at line 26 of file nfs4.h.

#define NFS4_OPEN_RESULT_CONFIRM   0x0002

Definition at line 42 of file nfs4.h.

#define NFS4_OPEN_RESULT_LOCKTYPE_POSIX   0x0004

Definition at line 43 of file nfs4.h.

#define NFS4_SECINFO_STYLE4_CURRENT_FH   0

Definition at line 150 of file nfs4.h.

#define NFS4_SECINFO_STYLE4_PARENT   1

Definition at line 151 of file nfs4.h.

#define NFS4_SET_TO_CLIENT_TIME   1

Definition at line 77 of file nfs4.h.

#define NFS4_SET_TO_SERVER_TIME   0

Definition at line 76 of file nfs4.h.

#define NFS4_SHARE_ACCESS_BOTH   0x0003

Definition at line 48 of file nfs4.h.

#define NFS4_SHARE_ACCESS_MASK   0x000F

Definition at line 45 of file nfs4.h.

#define NFS4_SHARE_ACCESS_READ   0x0001

Definition at line 46 of file nfs4.h.

#define NFS4_SHARE_ACCESS_WRITE   0x0002

Definition at line 47 of file nfs4.h.

#define NFS4_SHARE_DENY_BOTH   0x0003

Definition at line 51 of file nfs4.h.

#define NFS4_SHARE_DENY_READ   0x0001

Definition at line 49 of file nfs4.h.

#define NFS4_SHARE_DENY_WRITE   0x0002

Definition at line 50 of file nfs4.h.

#define NFS4_SHARE_PUSH_DELEG_WHEN_UNCONTENDED   0x20000

Definition at line 64 of file nfs4.h.

#define NFS4_SHARE_SIGNAL_DELEG_WHEN_RESRC_AVAIL   0x10000

Definition at line 63 of file nfs4.h.

#define NFS4_SHARE_WANT_ANY_DELEG   0x0300

Definition at line 58 of file nfs4.h.

#define NFS4_SHARE_WANT_CANCEL   0x0500

Definition at line 60 of file nfs4.h.

#define NFS4_SHARE_WANT_MASK   0xFF00

Definition at line 54 of file nfs4.h.

#define NFS4_SHARE_WANT_NO_DELEG   0x0400

Definition at line 59 of file nfs4.h.

#define NFS4_SHARE_WANT_NO_PREFERENCE   0x0000

Definition at line 55 of file nfs4.h.

#define NFS4_SHARE_WANT_READ_DELEG   0x0100

Definition at line 56 of file nfs4.h.

#define NFS4_SHARE_WANT_WRITE_DELEG   0x0200

Definition at line 57 of file nfs4.h.

#define NFS4_SHARE_WHEN_MASK   0xF0000

Definition at line 62 of file nfs4.h.

#define NFS4_STATEID_OTHER_SIZE   12

Definition at line 21 of file nfs4.h.

#define NFS4_STATEID_SEQID_SIZE   4

Definition at line 20 of file nfs4.h.

#define NFS4_STATEID_SIZE   (NFS4_STATEID_SEQID_SIZE + NFS4_STATEID_OTHER_SIZE)

Definition at line 22 of file nfs4.h.

#define NFS4_VERIFIER_SIZE   8

Definition at line 19 of file nfs4.h.

#define SEQ4_STATUS_ADMIN_STATE_REVOKED   0x00000020

Definition at line 143 of file nfs4.h.

#define SEQ4_STATUS_BACKCHANNEL_FAULT   0x00000400

Definition at line 148 of file nfs4.h.

#define SEQ4_STATUS_CB_GSS_CONTEXTS_EXPIRED   0x00000004

Definition at line 140 of file nfs4.h.

#define SEQ4_STATUS_CB_GSS_CONTEXTS_EXPIRING   0x00000002

Definition at line 139 of file nfs4.h.

#define SEQ4_STATUS_CB_PATH_DOWN   0x00000001

Definition at line 138 of file nfs4.h.

#define SEQ4_STATUS_CB_PATH_DOWN_SESSION   0x00000200

Definition at line 147 of file nfs4.h.

#define SEQ4_STATUS_EXPIRED_ALL_STATE_REVOKED   0x00000008

Definition at line 141 of file nfs4.h.

#define SEQ4_STATUS_EXPIRED_SOME_STATE_REVOKED   0x00000010

Definition at line 142 of file nfs4.h.

#define SEQ4_STATUS_LEASE_MOVED   0x00000080

Definition at line 145 of file nfs4.h.

#define SEQ4_STATUS_RECALLABLE_STATE_REVOKED   0x00000040

Definition at line 144 of file nfs4.h.

#define SEQ4_STATUS_RESTART_RECLAIM_NEEDED   0x00000100

Definition at line 146 of file nfs4.h.

Enumeration Type Documentation

Enumerator:
NFS4_ACL_WHO_NAMED 
NFS4_ACL_WHO_OWNER 
NFS4_ACL_WHO_GROUP 
NFS4_ACL_WHO_EVERYONE 

Definition at line 165 of file nfs4.h.