Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfs/nfsport.h
Show First 20 Lines • Show All 175 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
#define NFSV4CL_LOCKNAMELEN 12 | #define NFSV4CL_LOCKNAMELEN 12 | ||||
/* | /* | ||||
* Type for a mutex lock. | * Type for a mutex lock. | ||||
*/ | */ | ||||
#define NFSMUTEX_T struct mtx | #define NFSMUTEX_T struct mtx | ||||
/* Define the NFSD_VNET macros similar to !VIMAGE. */ | |||||
#define NFSD_VNET_NAME(n) n | |||||
#define NFSD_VNET_DECLARE(t, n) extern t n | |||||
rmacklem: This CTASSERT is bogus and should be deleted.
| |||||
#define NFSD_VNET_DEFINE(t, n) t n | |||||
#define NFSD_VNET_DEFINE_STATIC(t, n) static t n | |||||
#define NFSD_VNET(n) (n) | |||||
#define CTLFLAG_NFSD_VNET 0 | |||||
#define NFSD_CURVNET_SET(n) | |||||
#define NFSD_CURVNET_SET_QUIET(n) | |||||
#define NFSD_CURVNET_RESTORE() | |||||
#define NFSD_TD_TO_VNET(n) NULL | |||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
/* | /* | ||||
* NFSv4 Operation numbers. | * NFSv4 Operation numbers. | ||||
*/ | */ | ||||
#define NFSV4OP_ACCESS 3 | #define NFSV4OP_ACCESS 3 | ||||
#define NFSV4OP_CLOSE 4 | #define NFSV4OP_CLOSE 4 | ||||
#define NFSV4OP_COMMIT 5 | #define NFSV4OP_COMMIT 5 | ||||
Show All 17 Lines | |||||
#define NFSV4OP_PUTPUBFH 23 | #define NFSV4OP_PUTPUBFH 23 | ||||
#define NFSV4OP_PUTROOTFH 24 | #define NFSV4OP_PUTROOTFH 24 | ||||
#define NFSV4OP_READ 25 | #define NFSV4OP_READ 25 | ||||
#define NFSV4OP_READDIR 26 | #define NFSV4OP_READDIR 26 | ||||
#define NFSV4OP_READLINK 27 | #define NFSV4OP_READLINK 27 | ||||
#define NFSV4OP_REMOVE 28 | #define NFSV4OP_REMOVE 28 | ||||
#define NFSV4OP_RENAME 29 | #define NFSV4OP_RENAME 29 | ||||
#define NFSV4OP_RENEW 30 | #define NFSV4OP_RENEW 30 | ||||
#define NFSV4OP_RESTOREFH 31 | #define NFSV4OP_RESTOREFH 31 | ||||
Not Done Inline ActionsIs is the below all duplicated here? bz: Is is the below all duplicated here? | |||||
Done Inline ActionsNot sure what you are referring to w.r.t. duplicated. There are macros for the VNET_NFSD case and macros For the non-VNET_NFSD case, the macros basically just do rmacklem: Not sure what you are referring to w.r.t. duplicated.
There are macros for the VNET_NFSD case… | |||||
#define NFSV4OP_SAVEFH 32 | #define NFSV4OP_SAVEFH 32 | ||||
#define NFSV4OP_SECINFO 33 | #define NFSV4OP_SECINFO 33 | ||||
#define NFSV4OP_SETATTR 34 | #define NFSV4OP_SETATTR 34 | ||||
#define NFSV4OP_SETCLIENTID 35 | #define NFSV4OP_SETCLIENTID 35 | ||||
#define NFSV4OP_SETCLIENTIDCFRM 36 | #define NFSV4OP_SETCLIENTIDCFRM 36 | ||||
#define NFSV4OP_VERIFY 37 | #define NFSV4OP_VERIFY 37 | ||||
#define NFSV4OP_WRITE 38 | #define NFSV4OP_WRITE 38 | ||||
#define NFSV4OP_RELEASELCKOWN 39 | #define NFSV4OP_RELEASELCKOWN 39 | ||||
▲ Show 20 Lines • Show All 991 Lines • Show Last 20 Lines |
This CTASSERT is bogus and should be deleted.