Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfs/nfsport.h
Show First 20 Lines • Show All 1,046 Lines • ▼ Show 20 Lines | |||||
#define NFSHASSESSPERSIST(n) ((n)->nm_state & NFSSTA_SESSPERSIST) | #define NFSHASSESSPERSIST(n) ((n)->nm_state & NFSSTA_SESSPERSIST) | ||||
#define NFSHASPNFS(n) ((n)->nm_state & NFSSTA_PNFS) | #define NFSHASPNFS(n) ((n)->nm_state & NFSSTA_PNFS) | ||||
#define NFSHASFLEXFILE(n) ((n)->nm_state & NFSSTA_FLEXFILE) | #define NFSHASFLEXFILE(n) ((n)->nm_state & NFSSTA_FLEXFILE) | ||||
#define NFSHASOPENMODE(n) ((n)->nm_state & NFSSTA_OPENMODE) | #define NFSHASOPENMODE(n) ((n)->nm_state & NFSSTA_OPENMODE) | ||||
#define NFSHASONEOPENOWN(n) (((n)->nm_flag & NFSMNT_ONEOPENOWN) != 0 && \ | #define NFSHASONEOPENOWN(n) (((n)->nm_flag & NFSMNT_ONEOPENOWN) != 0 && \ | ||||
(n)->nm_minorvers > 0) | (n)->nm_minorvers > 0) | ||||
/* | /* | ||||
* Gets the stats field out of the mount structure. | |||||
*/ | |||||
#define vfs_statfs(m) (&((m)->mnt_stat)) | |||||
/* | |||||
* Set boottime. | * Set boottime. | ||||
*/ | */ | ||||
#define NFSSETBOOTTIME(b) (getboottime(&b)) | #define NFSSETBOOTTIME(b) (getboottime(&b)) | ||||
/* | /* | ||||
* The size of directory blocks in the buffer cache. | * The size of directory blocks in the buffer cache. | ||||
* MUST BE in the range of PAGE_SIZE <= NFS_DIRBLKSIZ <= MAXBSIZE!! | * MUST BE in the range of PAGE_SIZE <= NFS_DIRBLKSIZ <= MAXBSIZE!! | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |