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

Go to the source code of this file.

Data Structures

struct  nfs4_ace
 
struct  nfs4_acl
 
struct  nfs4_verifier
 
struct  nfs_stateid4
 
struct  nfs4_sessionid
 
struct  nfs4_deviceid
 

Macros

#define FIRST_NFS4_OP   OP_ACCESS
 
#define LAST_NFS4_OP   OP_RECLAIM_COMPLETE
 
#define FATTR4_WORD0_SUPPORTED_ATTRS   (1UL << 0)
 
#define FATTR4_WORD0_TYPE   (1UL << 1)
 
#define FATTR4_WORD0_FH_EXPIRE_TYPE   (1UL << 2)
 
#define FATTR4_WORD0_CHANGE   (1UL << 3)
 
#define FATTR4_WORD0_SIZE   (1UL << 4)
 
#define FATTR4_WORD0_LINK_SUPPORT   (1UL << 5)
 
#define FATTR4_WORD0_SYMLINK_SUPPORT   (1UL << 6)
 
#define FATTR4_WORD0_NAMED_ATTR   (1UL << 7)
 
#define FATTR4_WORD0_FSID   (1UL << 8)
 
#define FATTR4_WORD0_UNIQUE_HANDLES   (1UL << 9)
 
#define FATTR4_WORD0_LEASE_TIME   (1UL << 10)
 
#define FATTR4_WORD0_RDATTR_ERROR   (1UL << 11)
 
#define FATTR4_WORD2_SUPPATTR_EXCLCREAT   (1UL << 11)
 
#define FATTR4_WORD0_ACL   (1UL << 12)
 
#define FATTR4_WORD0_ACLSUPPORT   (1UL << 13)
 
#define FATTR4_WORD0_ARCHIVE   (1UL << 14)
 
#define FATTR4_WORD0_CANSETTIME   (1UL << 15)
 
#define FATTR4_WORD0_CASE_INSENSITIVE   (1UL << 16)
 
#define FATTR4_WORD0_CASE_PRESERVING   (1UL << 17)
 
#define FATTR4_WORD0_CHOWN_RESTRICTED   (1UL << 18)
 
#define FATTR4_WORD0_FILEHANDLE   (1UL << 19)
 
#define FATTR4_WORD0_FILEID   (1UL << 20)
 
#define FATTR4_WORD0_FILES_AVAIL   (1UL << 21)
 
#define FATTR4_WORD0_FILES_FREE   (1UL << 22)
 
#define FATTR4_WORD0_FILES_TOTAL   (1UL << 23)
 
#define FATTR4_WORD0_FS_LOCATIONS   (1UL << 24)
 
#define FATTR4_WORD0_HIDDEN   (1UL << 25)
 
#define FATTR4_WORD0_HOMOGENEOUS   (1UL << 26)
 
#define FATTR4_WORD0_MAXFILESIZE   (1UL << 27)
 
#define FATTR4_WORD0_MAXLINK   (1UL << 28)
 
#define FATTR4_WORD0_MAXNAME   (1UL << 29)
 
#define FATTR4_WORD0_MAXREAD   (1UL << 30)
 
#define FATTR4_WORD0_MAXWRITE   (1UL << 31)
 
#define FATTR4_WORD1_MIMETYPE   (1UL << 0)
 
#define FATTR4_WORD1_MODE   (1UL << 1)
 
#define FATTR4_WORD1_NO_TRUNC   (1UL << 2)
 
#define FATTR4_WORD1_NUMLINKS   (1UL << 3)
 
#define FATTR4_WORD1_OWNER   (1UL << 4)
 
#define FATTR4_WORD1_OWNER_GROUP   (1UL << 5)
 
#define FATTR4_WORD1_QUOTA_HARD   (1UL << 6)
 
#define FATTR4_WORD1_QUOTA_SOFT   (1UL << 7)
 
#define FATTR4_WORD1_QUOTA_USED   (1UL << 8)
 
#define FATTR4_WORD1_RAWDEV   (1UL << 9)
 
#define FATTR4_WORD1_SPACE_AVAIL   (1UL << 10)
 
#define FATTR4_WORD1_SPACE_FREE   (1UL << 11)
 
#define FATTR4_WORD1_SPACE_TOTAL   (1UL << 12)
 
#define FATTR4_WORD1_SPACE_USED   (1UL << 13)
 
#define FATTR4_WORD1_SYSTEM   (1UL << 14)
 
#define FATTR4_WORD1_TIME_ACCESS   (1UL << 15)
 
#define FATTR4_WORD1_TIME_ACCESS_SET   (1UL << 16)
 
#define FATTR4_WORD1_TIME_BACKUP   (1UL << 17)
 
#define FATTR4_WORD1_TIME_CREATE   (1UL << 18)
 
#define FATTR4_WORD1_TIME_DELTA   (1UL << 19)
 
#define FATTR4_WORD1_TIME_METADATA   (1UL << 20)
 
#define FATTR4_WORD1_TIME_MODIFY   (1UL << 21)
 
#define FATTR4_WORD1_TIME_MODIFY_SET   (1UL << 22)
 
#define FATTR4_WORD1_MOUNTED_ON_FILEID   (1UL << 23)
 
#define FATTR4_WORD1_FS_LAYOUT_TYPES   (1UL << 30)
 
#define FATTR4_WORD2_LAYOUT_BLKSIZE   (1UL << 1)
 
#define FATTR4_WORD2_MDSTHRESHOLD   (1UL << 4)
 
#define THRESHOLD_RD   (1UL << 0)
 
#define THRESHOLD_WR   (1UL << 1)
 
#define THRESHOLD_RD_IO   (1UL << 2)
 
#define THRESHOLD_WR_IO   (1UL << 3)
 
#define NFSPROC4_NULL   0
 
#define NFSPROC4_COMPOUND   1
 
#define NFS4_VERSION   4
 
#define NFS4_MINOR_VERSION   0
 
#define NFS4_MAX_MINOR_VERSION   0
 
#define NFS4_DEBUG   1
 
#define SESSION4_PERSIST   0x001
 
#define SESSION4_BACK_CHAN   0x002
 
#define SESSION4_RDMA   0x004
 
#define SESSION4_FLAG_MASK_A   0x007
 
#define NFL4_UFLG_MASK   0x0000003F
 
#define NFL4_UFLG_DENSE   0x00000001
 
#define NFL4_UFLG_COMMIT_THRU_MDS   0x00000002
 
#define NFL4_UFLG_STRIPE_UNIT_SIZE_MASK   0xFFFFFFC0
 
#define NFS4_DEVICEID4_SIZE   16
 

Typedefs

typedef struct nfs_stateid4 nfs4_stateid
 

Enumerations

enum  nfs_opnum4 {
  OP_ACCESS = 3, OP_CLOSE = 4, OP_COMMIT = 5, OP_CREATE = 6,
  OP_DELEGPURGE = 7, OP_DELEGRETURN = 8, OP_GETATTR = 9, OP_GETFH = 10,
  OP_LINK = 11, OP_LOCK = 12, OP_LOCKT = 13, OP_LOCKU = 14,
  OP_LOOKUP = 15, OP_LOOKUPP = 16, OP_NVERIFY = 17, OP_OPEN = 18,
  OP_OPENATTR = 19, OP_OPEN_CONFIRM = 20, OP_OPEN_DOWNGRADE = 21, OP_PUTFH = 22,
  OP_PUTPUBFH = 23, OP_PUTROOTFH = 24, OP_READ = 25, OP_READDIR = 26,
  OP_READLINK = 27, OP_REMOVE = 28, OP_RENAME = 29, OP_RENEW = 30,
  OP_RESTOREFH = 31, OP_SAVEFH = 32, OP_SECINFO = 33, OP_SETATTR = 34,
  OP_SETCLIENTID = 35, OP_SETCLIENTID_CONFIRM = 36, OP_VERIFY = 37, OP_WRITE = 38,
  OP_RELEASE_LOCKOWNER = 39, OP_BACKCHANNEL_CTL = 40, OP_BIND_CONN_TO_SESSION = 41, OP_EXCHANGE_ID = 42,
  OP_CREATE_SESSION = 43, OP_DESTROY_SESSION = 44, OP_FREE_STATEID = 45, OP_GET_DIR_DELEGATION = 46,
  OP_GETDEVICEINFO = 47, OP_GETDEVICELIST = 48, OP_LAYOUTCOMMIT = 49, OP_LAYOUTGET = 50,
  OP_LAYOUTRETURN = 51, OP_SECINFO_NO_NAME = 52, OP_SEQUENCE = 53, OP_SET_SSV = 54,
  OP_TEST_STATEID = 55, OP_WANT_DELEGATION = 56, OP_DESTROY_CLIENTID = 57, OP_RECLAIM_COMPLETE = 58,
  OP_ILLEGAL = 10044
}
 
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  nfs_ftype4 {
  NF4BAD = 0, NF4REG = 1, NF4DIR = 2, NF4BLK = 3,
  NF4CHR = 4, NF4LNK = 5, NF4SOCK = 6, NF4FIFO = 7,
  NF4ATTRDIR = 8, NF4NAMEDATTR = 9
}
 
enum  open_claim_type4 {
  NFS4_OPEN_CLAIM_NULL = 0, NFS4_OPEN_CLAIM_PREVIOUS = 1, NFS4_OPEN_CLAIM_DELEGATE_CUR = 2, NFS4_OPEN_CLAIM_DELEGATE_PREV = 3,
  NFS4_OPEN_CLAIM_FH = 4, NFS4_OPEN_CLAIM_DELEG_CUR_FH = 5, NFS4_OPEN_CLAIM_DELEG_PREV_FH = 6
}
 
enum  opentype4 { NFS4_OPEN_NOCREATE = 0, NFS4_OPEN_CREATE = 1 }
 
enum  createmode4 { NFS4_CREATE_UNCHECKED = 0, NFS4_CREATE_GUARDED = 1, NFS4_CREATE_EXCLUSIVE = 2, NFS4_CREATE_EXCLUSIVE4_1 = 3 }
 
enum  limit_by4 { NFS4_LIMIT_SIZE = 1, NFS4_LIMIT_BLOCKS = 2 }
 
enum  open_delegation_type4 { NFS4_OPEN_DELEGATE_NONE = 0, NFS4_OPEN_DELEGATE_READ = 1, NFS4_OPEN_DELEGATE_WRITE = 2, NFS4_OPEN_DELEGATE_NONE_EXT = 3 }
 
enum  why_no_delegation4 {
  WND4_NOT_WANTED = 0, WND4_CONTENTION = 1, WND4_RESOURCE = 2, WND4_NOT_SUPP_FTYPE = 3,
  WND4_WRITE_DELEG_NOT_SUPP_FTYPE = 4, WND4_NOT_SUPP_UPGRADE = 5, WND4_NOT_SUPP_DOWNGRADE = 6, WND4_CANCELLED = 7,
  WND4_IS_DIR = 8
}
 
enum  lock_type4 {
  NFS4_UNLOCK_LT = 0, NFS4_READ_LT = 1, NFS4_WRITE_LT = 2, NFS4_READW_LT = 3,
  NFS4_WRITEW_LT = 4
}
 
enum  {
  NFSPROC4_CLNT_NULL = 0, NFSPROC4_CLNT_READ, NFSPROC4_CLNT_WRITE, NFSPROC4_CLNT_COMMIT,
  NFSPROC4_CLNT_OPEN, NFSPROC4_CLNT_OPEN_CONFIRM, NFSPROC4_CLNT_OPEN_NOATTR, NFSPROC4_CLNT_OPEN_DOWNGRADE,
  NFSPROC4_CLNT_CLOSE, NFSPROC4_CLNT_SETATTR, NFSPROC4_CLNT_FSINFO, NFSPROC4_CLNT_RENEW,
  NFSPROC4_CLNT_SETCLIENTID, NFSPROC4_CLNT_SETCLIENTID_CONFIRM, NFSPROC4_CLNT_LOCK, NFSPROC4_CLNT_LOCKT,
  NFSPROC4_CLNT_LOCKU, NFSPROC4_CLNT_ACCESS, NFSPROC4_CLNT_GETATTR, NFSPROC4_CLNT_LOOKUP,
  NFSPROC4_CLNT_LOOKUP_ROOT, NFSPROC4_CLNT_REMOVE, NFSPROC4_CLNT_RENAME, NFSPROC4_CLNT_LINK,
  NFSPROC4_CLNT_SYMLINK, NFSPROC4_CLNT_CREATE, NFSPROC4_CLNT_PATHCONF, NFSPROC4_CLNT_STATFS,
  NFSPROC4_CLNT_READLINK, NFSPROC4_CLNT_READDIR, NFSPROC4_CLNT_SERVER_CAPS, NFSPROC4_CLNT_DELEGRETURN,
  NFSPROC4_CLNT_GETACL, NFSPROC4_CLNT_SETACL, NFSPROC4_CLNT_FS_LOCATIONS, NFSPROC4_CLNT_RELEASE_LOCKOWNER,
  NFSPROC4_CLNT_SECINFO, NFSPROC4_CLNT_EXCHANGE_ID, NFSPROC4_CLNT_CREATE_SESSION, NFSPROC4_CLNT_DESTROY_SESSION,
  NFSPROC4_CLNT_SEQUENCE, NFSPROC4_CLNT_GET_LEASE_TIME, NFSPROC4_CLNT_RECLAIM_COMPLETE, NFSPROC4_CLNT_LAYOUTGET,
  NFSPROC4_CLNT_GETDEVICEINFO, NFSPROC4_CLNT_LAYOUTCOMMIT, NFSPROC4_CLNT_LAYOUTRETURN, NFSPROC4_CLNT_SECINFO_NO_NAME,
  NFSPROC4_CLNT_TEST_STATEID, NFSPROC4_CLNT_FREE_STATEID, NFSPROC4_CLNT_GETDEVICELIST, NFSPROC4_CLNT_BIND_CONN_TO_SESSION,
  NFSPROC4_CLNT_DESTROY_CLIENTID
}
 
enum  state_protect_how4 { SP4_NONE = 0, SP4_MACH_CRED = 1, SP4_SSV = 2 }
 
enum  pnfs_layouttype { LAYOUT_NFSV4_1_FILES = 1, LAYOUT_OSD2_OBJECTS = 2, LAYOUT_BLOCK_VOLUME = 3 }
 
enum  pnfs_layoutreturn_type { RETURN_FILE = 1, RETURN_FSID = 2, RETURN_ALL = 3 }
 
enum  pnfs_iomode { IOMODE_READ = 1, IOMODE_RW = 2, IOMODE_ANY = 3 }
 
enum  pnfs_notify_deviceid_type4 { NOTIFY_DEVICEID4_CHANGE = 1 << 1, NOTIFY_DEVICEID4_DELETE = 1 << 2 }
 
enum  filelayout_hint_care4 { NFLH4_CARE_DENSE = NFL4_UFLG_DENSE, NFLH4_CARE_COMMIT_THRU_MDS = NFL4_UFLG_COMMIT_THRU_MDS, NFLH4_CARE_STRIPE_UNIT_SIZE = 0x00000040, NFLH4_CARE_STRIPE_COUNT = 0x00000080 }
 

Functions

struct nfs_stateid4 __attribute__ ((packed))
 

Variables

__be32 seqid
 
char other [NFS4_STATEID_OTHER_SIZE]
 
enum nfs_opnum4 __attribute__
 

Macro Definition Documentation

#define FATTR4_WORD0_ACL   (1UL << 12)

Definition at line 330 of file nfs4.h.

#define FATTR4_WORD0_ACLSUPPORT   (1UL << 13)

Definition at line 331 of file nfs4.h.

#define FATTR4_WORD0_ARCHIVE   (1UL << 14)

Definition at line 332 of file nfs4.h.

#define FATTR4_WORD0_CANSETTIME   (1UL << 15)

Definition at line 333 of file nfs4.h.

#define FATTR4_WORD0_CASE_INSENSITIVE   (1UL << 16)

Definition at line 334 of file nfs4.h.

#define FATTR4_WORD0_CASE_PRESERVING   (1UL << 17)

Definition at line 335 of file nfs4.h.

#define FATTR4_WORD0_CHANGE   (1UL << 3)

Definition at line 317 of file nfs4.h.

#define FATTR4_WORD0_CHOWN_RESTRICTED   (1UL << 18)

Definition at line 336 of file nfs4.h.

#define FATTR4_WORD0_FH_EXPIRE_TYPE   (1UL << 2)

Definition at line 316 of file nfs4.h.

#define FATTR4_WORD0_FILEHANDLE   (1UL << 19)

Definition at line 337 of file nfs4.h.

#define FATTR4_WORD0_FILEID   (1UL << 20)

Definition at line 338 of file nfs4.h.

#define FATTR4_WORD0_FILES_AVAIL   (1UL << 21)

Definition at line 339 of file nfs4.h.

#define FATTR4_WORD0_FILES_FREE   (1UL << 22)

Definition at line 340 of file nfs4.h.

#define FATTR4_WORD0_FILES_TOTAL   (1UL << 23)

Definition at line 341 of file nfs4.h.

#define FATTR4_WORD0_FS_LOCATIONS   (1UL << 24)

Definition at line 342 of file nfs4.h.

#define FATTR4_WORD0_FSID   (1UL << 8)

Definition at line 322 of file nfs4.h.

#define FATTR4_WORD0_HIDDEN   (1UL << 25)

Definition at line 343 of file nfs4.h.

#define FATTR4_WORD0_HOMOGENEOUS   (1UL << 26)

Definition at line 344 of file nfs4.h.

#define FATTR4_WORD0_LEASE_TIME   (1UL << 10)

Definition at line 324 of file nfs4.h.

#define FATTR4_WORD0_LINK_SUPPORT   (1UL << 5)

Definition at line 319 of file nfs4.h.

#define FATTR4_WORD0_MAXFILESIZE   (1UL << 27)

Definition at line 345 of file nfs4.h.

#define FATTR4_WORD0_MAXLINK   (1UL << 28)

Definition at line 346 of file nfs4.h.

#define FATTR4_WORD0_MAXNAME   (1UL << 29)

Definition at line 347 of file nfs4.h.

#define FATTR4_WORD0_MAXREAD   (1UL << 30)

Definition at line 348 of file nfs4.h.

#define FATTR4_WORD0_MAXWRITE   (1UL << 31)

Definition at line 349 of file nfs4.h.

#define FATTR4_WORD0_NAMED_ATTR   (1UL << 7)

Definition at line 321 of file nfs4.h.

#define FATTR4_WORD0_RDATTR_ERROR   (1UL << 11)

Definition at line 325 of file nfs4.h.

#define FATTR4_WORD0_SIZE   (1UL << 4)

Definition at line 318 of file nfs4.h.

#define FATTR4_WORD0_SUPPORTED_ATTRS   (1UL << 0)

Definition at line 314 of file nfs4.h.

#define FATTR4_WORD0_SYMLINK_SUPPORT   (1UL << 6)

Definition at line 320 of file nfs4.h.

#define FATTR4_WORD0_TYPE   (1UL << 1)

Definition at line 315 of file nfs4.h.

#define FATTR4_WORD0_UNIQUE_HANDLES   (1UL << 9)

Definition at line 323 of file nfs4.h.

#define FATTR4_WORD1_FS_LAYOUT_TYPES   (1UL << 30)

Definition at line 374 of file nfs4.h.

#define FATTR4_WORD1_MIMETYPE   (1UL << 0)

Definition at line 350 of file nfs4.h.

#define FATTR4_WORD1_MODE   (1UL << 1)

Definition at line 351 of file nfs4.h.

#define FATTR4_WORD1_MOUNTED_ON_FILEID   (1UL << 23)

Definition at line 373 of file nfs4.h.

#define FATTR4_WORD1_NO_TRUNC   (1UL << 2)

Definition at line 352 of file nfs4.h.

#define FATTR4_WORD1_NUMLINKS   (1UL << 3)

Definition at line 353 of file nfs4.h.

#define FATTR4_WORD1_OWNER   (1UL << 4)

Definition at line 354 of file nfs4.h.

#define FATTR4_WORD1_OWNER_GROUP   (1UL << 5)

Definition at line 355 of file nfs4.h.

#define FATTR4_WORD1_QUOTA_HARD   (1UL << 6)

Definition at line 356 of file nfs4.h.

#define FATTR4_WORD1_QUOTA_SOFT   (1UL << 7)

Definition at line 357 of file nfs4.h.

#define FATTR4_WORD1_QUOTA_USED   (1UL << 8)

Definition at line 358 of file nfs4.h.

#define FATTR4_WORD1_RAWDEV   (1UL << 9)

Definition at line 359 of file nfs4.h.

#define FATTR4_WORD1_SPACE_AVAIL   (1UL << 10)

Definition at line 360 of file nfs4.h.

#define FATTR4_WORD1_SPACE_FREE   (1UL << 11)

Definition at line 361 of file nfs4.h.

#define FATTR4_WORD1_SPACE_TOTAL   (1UL << 12)

Definition at line 362 of file nfs4.h.

#define FATTR4_WORD1_SPACE_USED   (1UL << 13)

Definition at line 363 of file nfs4.h.

#define FATTR4_WORD1_SYSTEM   (1UL << 14)

Definition at line 364 of file nfs4.h.

#define FATTR4_WORD1_TIME_ACCESS   (1UL << 15)

Definition at line 365 of file nfs4.h.

#define FATTR4_WORD1_TIME_ACCESS_SET   (1UL << 16)

Definition at line 366 of file nfs4.h.

#define FATTR4_WORD1_TIME_BACKUP   (1UL << 17)

Definition at line 367 of file nfs4.h.

#define FATTR4_WORD1_TIME_CREATE   (1UL << 18)

Definition at line 368 of file nfs4.h.

#define FATTR4_WORD1_TIME_DELTA   (1UL << 19)

Definition at line 369 of file nfs4.h.

#define FATTR4_WORD1_TIME_METADATA   (1UL << 20)

Definition at line 370 of file nfs4.h.

#define FATTR4_WORD1_TIME_MODIFY   (1UL << 21)

Definition at line 371 of file nfs4.h.

#define FATTR4_WORD1_TIME_MODIFY_SET   (1UL << 22)

Definition at line 372 of file nfs4.h.

#define FATTR4_WORD2_LAYOUT_BLKSIZE   (1UL << 1)

Definition at line 375 of file nfs4.h.

#define FATTR4_WORD2_MDSTHRESHOLD   (1UL << 4)

Definition at line 376 of file nfs4.h.

#define FATTR4_WORD2_SUPPATTR_EXCLCREAT   (1UL << 11)

Definition at line 327 of file nfs4.h.

#define FIRST_NFS4_OP   OP_ACCESS

Definition at line 106 of file nfs4.h.

#define LAST_NFS4_OP   OP_RECLAIM_COMPLETE

Definition at line 107 of file nfs4.h.

#define NFL4_UFLG_COMMIT_THRU_MDS   0x00000002

Definition at line 501 of file nfs4.h.

#define NFL4_UFLG_DENSE   0x00000001

Definition at line 500 of file nfs4.h.

#define NFL4_UFLG_MASK   0x0000003F

Definition at line 499 of file nfs4.h.

#define NFL4_UFLG_STRIPE_UNIT_SIZE_MASK   0xFFFFFFC0

Definition at line 502 of file nfs4.h.

#define NFS4_DEBUG   1

Definition at line 395 of file nfs4.h.

#define NFS4_DEVICEID4_SIZE   16

Definition at line 512 of file nfs4.h.

#define NFS4_MAX_MINOR_VERSION   0

Definition at line 392 of file nfs4.h.

#define NFS4_MINOR_VERSION   0

Definition at line 387 of file nfs4.h.

#define NFS4_VERSION   4

Definition at line 386 of file nfs4.h.

#define NFSPROC4_COMPOUND   1

Definition at line 385 of file nfs4.h.

#define NFSPROC4_NULL   0

Definition at line 384 of file nfs4.h.

#define SESSION4_BACK_CHAN   0x002

Definition at line 464 of file nfs4.h.

#define SESSION4_FLAG_MASK_A   0x007

Definition at line 467 of file nfs4.h.

#define SESSION4_PERSIST   0x001

Definition at line 463 of file nfs4.h.

#define SESSION4_RDMA   0x004

Definition at line 465 of file nfs4.h.

#define THRESHOLD_RD   (1UL << 0)

Definition at line 379 of file nfs4.h.

#define THRESHOLD_RD_IO   (1UL << 2)

Definition at line 381 of file nfs4.h.

#define THRESHOLD_WR   (1UL << 1)

Definition at line 380 of file nfs4.h.

#define THRESHOLD_WR_IO   (1UL << 3)

Definition at line 382 of file nfs4.h.

Typedef Documentation

Definition at line 38 of file nfs4.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
NFSPROC4_CLNT_NULL 
NFSPROC4_CLNT_READ 
NFSPROC4_CLNT_WRITE 
NFSPROC4_CLNT_COMMIT 
NFSPROC4_CLNT_OPEN 
NFSPROC4_CLNT_OPEN_CONFIRM 
NFSPROC4_CLNT_OPEN_NOATTR 
NFSPROC4_CLNT_OPEN_DOWNGRADE 
NFSPROC4_CLNT_CLOSE 
NFSPROC4_CLNT_SETATTR 
NFSPROC4_CLNT_FSINFO 
NFSPROC4_CLNT_RENEW 
NFSPROC4_CLNT_SETCLIENTID 
NFSPROC4_CLNT_SETCLIENTID_CONFIRM 
NFSPROC4_CLNT_LOCK 
NFSPROC4_CLNT_LOCKT 
NFSPROC4_CLNT_LOCKU 
NFSPROC4_CLNT_ACCESS 
NFSPROC4_CLNT_GETATTR 
NFSPROC4_CLNT_LOOKUP 
NFSPROC4_CLNT_LOOKUP_ROOT 
NFSPROC4_CLNT_REMOVE 
NFSPROC4_CLNT_RENAME 
NFSPROC4_CLNT_LINK 
NFSPROC4_CLNT_SYMLINK 
NFSPROC4_CLNT_CREATE 
NFSPROC4_CLNT_PATHCONF 
NFSPROC4_CLNT_STATFS 
NFSPROC4_CLNT_READLINK 
NFSPROC4_CLNT_READDIR 
NFSPROC4_CLNT_SERVER_CAPS 
NFSPROC4_CLNT_DELEGRETURN 
NFSPROC4_CLNT_GETACL 
NFSPROC4_CLNT_SETACL 
NFSPROC4_CLNT_FS_LOCATIONS 
NFSPROC4_CLNT_RELEASE_LOCKOWNER 
NFSPROC4_CLNT_SECINFO 
NFSPROC4_CLNT_EXCHANGE_ID 
NFSPROC4_CLNT_CREATE_SESSION 
NFSPROC4_CLNT_DESTROY_SESSION 
NFSPROC4_CLNT_SEQUENCE 
NFSPROC4_CLNT_GET_LEASE_TIME 
NFSPROC4_CLNT_RECLAIM_COMPLETE 
NFSPROC4_CLNT_LAYOUTGET 
NFSPROC4_CLNT_GETDEVICEINFO 
NFSPROC4_CLNT_LAYOUTCOMMIT 
NFSPROC4_CLNT_LAYOUTRETURN 
NFSPROC4_CLNT_SECINFO_NO_NAME 
NFSPROC4_CLNT_TEST_STATEID 
NFSPROC4_CLNT_FREE_STATEID 
NFSPROC4_CLNT_GETDEVICELIST 
NFSPROC4_CLNT_BIND_CONN_TO_SESSION 
NFSPROC4_CLNT_DESTROY_CLIENTID 

Definition at line 399 of file nfs4.h.

Enumerator:
NFS4_CREATE_UNCHECKED 
NFS4_CREATE_GUARDED 
NFS4_CREATE_EXCLUSIVE 
NFS4_CREATE_EXCLUSIVE4_1 

Definition at line 268 of file nfs4.h.

Enumerator:
NFLH4_CARE_DENSE 
NFLH4_CARE_COMMIT_THRU_MDS 
NFLH4_CARE_STRIPE_UNIT_SIZE 
NFLH4_CARE_STRIPE_COUNT 

Definition at line 505 of file nfs4.h.

enum limit_by4
Enumerator:
NFS4_LIMIT_SIZE 
NFS4_LIMIT_BLOCKS 

Definition at line 280 of file nfs4.h.

enum lock_type4
Enumerator:
NFS4_UNLOCK_LT 
NFS4_READ_LT 
NFS4_WRITE_LT 
NFS4_READW_LT 
NFS4_WRITEW_LT 

Definition at line 304 of file nfs4.h.

enum nfs_ftype4
Enumerator:
NF4BAD 
NF4REG 
NF4DIR 
NF4BLK 
NF4CHR 
NF4LNK 
NF4SOCK 
NF4FIFO 
NF4ATTRDIR 
NF4NAMEDATTR 

Definition at line 240 of file nfs4.h.

enum nfs_opnum4
Enumerator:
OP_ACCESS 
OP_CLOSE 
OP_COMMIT 
OP_CREATE 
OP_DELEGPURGE 
OP_DELEGRETURN 
OP_GETATTR 
OP_GETFH 
OP_LINK 
OP_LOCK 
OP_LOCKT 
OP_LOCKU 
OP_LOOKUP 
OP_LOOKUPP 
OP_NVERIFY 
OP_OPEN 
OP_OPENATTR 
OP_OPEN_CONFIRM 
OP_OPEN_DOWNGRADE 
OP_PUTFH 
OP_PUTPUBFH 
OP_PUTROOTFH 
OP_READ 
OP_READDIR 
OP_READLINK 
OP_REMOVE 
OP_RENAME 
OP_RENEW 
OP_RESTOREFH 
OP_SAVEFH 
OP_SECINFO 
OP_SETATTR 
OP_SETCLIENTID 
OP_SETCLIENTID_CONFIRM 
OP_VERIFY 
OP_WRITE 
OP_RELEASE_LOCKOWNER 
OP_BACKCHANNEL_CTL 
OP_BIND_CONN_TO_SESSION 
OP_EXCHANGE_ID 
OP_CREATE_SESSION 
OP_DESTROY_SESSION 
OP_FREE_STATEID 
OP_GET_DIR_DELEGATION 
OP_GETDEVICEINFO 
OP_GETDEVICELIST 
OP_LAYOUTCOMMIT 
OP_LAYOUTGET 
OP_LAYOUTRETURN 
OP_SECINFO_NO_NAME 
OP_SEQUENCE 
OP_SET_SSV 
OP_TEST_STATEID 
OP_WANT_DELEGATION 
OP_DESTROY_CLIENTID 
OP_RECLAIM_COMPLETE 
OP_ILLEGAL 

Definition at line 40 of file nfs4.h.

enum 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 109 of file nfs4.h.

Enumerator:
NFS4_OPEN_CLAIM_NULL 
NFS4_OPEN_CLAIM_PREVIOUS 
NFS4_OPEN_CLAIM_DELEGATE_CUR 
NFS4_OPEN_CLAIM_DELEGATE_PREV 
NFS4_OPEN_CLAIM_FH 
NFS4_OPEN_CLAIM_DELEG_CUR_FH 
NFS4_OPEN_CLAIM_DELEG_PREV_FH 

Definition at line 253 of file nfs4.h.

Enumerator:
NFS4_OPEN_DELEGATE_NONE 
NFS4_OPEN_DELEGATE_READ 
NFS4_OPEN_DELEGATE_WRITE 
NFS4_OPEN_DELEGATE_NONE_EXT 

Definition at line 285 of file nfs4.h.

enum opentype4
Enumerator:
NFS4_OPEN_NOCREATE 
NFS4_OPEN_CREATE 

Definition at line 263 of file nfs4.h.

Enumerator:
IOMODE_READ 
IOMODE_RW 
IOMODE_ANY 

Definition at line 488 of file nfs4.h.

Enumerator:
RETURN_FILE 
RETURN_FSID 
RETURN_ALL 

Definition at line 482 of file nfs4.h.

Enumerator:
LAYOUT_NFSV4_1_FILES 
LAYOUT_OSD2_OBJECTS 
LAYOUT_BLOCK_VOLUME 

Definition at line 475 of file nfs4.h.

Enumerator:
NOTIFY_DEVICEID4_CHANGE 
NOTIFY_DEVICEID4_DELETE 

Definition at line 494 of file nfs4.h.

Enumerator:
SP4_NONE 
SP4_MACH_CRED 
SP4_SSV 

Definition at line 469 of file nfs4.h.

Enumerator:
WND4_NOT_WANTED 
WND4_CONTENTION 
WND4_RESOURCE 
WND4_NOT_SUPP_FTYPE 
WND4_WRITE_DELEG_NOT_SUPP_FTYPE 
WND4_NOT_SUPP_UPGRADE 
WND4_NOT_SUPP_DOWNGRADE 
WND4_CANCELLED 
WND4_IS_DIR 

Definition at line 292 of file nfs4.h.

Function Documentation

struct nfs_stateid4 __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

each time If it returns anything other

than %0, we break out and return that value.

The caller must serialize idr_for_each() vs idr_get_new() and idr_remove().

Definition at line 38 of file nfs4.h.

__be32 seqid

Definition at line 37 of file nfs4.h.