Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfsclient/nfsnode.h
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Lines | |||||
#define NREMOVEINPROG 0x00002000 /* Remove in progress */ | #define NREMOVEINPROG 0x00002000 /* Remove in progress */ | ||||
#define NREMOVEWANT 0x00004000 /* Want notification that remove is done */ | #define NREMOVEWANT 0x00004000 /* Want notification that remove is done */ | ||||
#define NLOCK 0x00008000 /* Sleep lock the node */ | #define NLOCK 0x00008000 /* Sleep lock the node */ | ||||
#define NLOCKWANT 0x00010000 /* Want the sleep lock */ | #define NLOCKWANT 0x00010000 /* Want the sleep lock */ | ||||
#define NNOLAYOUT 0x00020000 /* Can't get a layout for this file */ | #define NNOLAYOUT 0x00020000 /* Can't get a layout for this file */ | ||||
#define NWRITEOPENED 0x00040000 /* Has been opened for writing */ | #define NWRITEOPENED 0x00040000 /* Has been opened for writing */ | ||||
#define NHASBEENLOCKED 0x00080000 /* Has been file locked. */ | #define NHASBEENLOCKED 0x00080000 /* Has been file locked. */ | ||||
#define NDSCOMMIT 0x00100000 /* Commit is done via the DS. */ | #define NDSCOMMIT 0x00100000 /* Commit is done via the DS. */ | ||||
#define NVNSETSZSKIP 0x00200000 /* Skipped vnode_pager_setsize() */ | |||||
/* | /* | ||||
* Convert between nfsnode pointers and vnode pointers | * Convert between nfsnode pointers and vnode pointers | ||||
*/ | */ | ||||
#define VTONFS(vp) ((struct nfsnode *)(vp)->v_data) | #define VTONFS(vp) ((struct nfsnode *)(vp)->v_data) | ||||
#define NFSTOV(np) ((struct vnode *)(np)->n_vnode) | #define NFSTOV(np) ((struct vnode *)(np)->n_vnode) | ||||
#define NFS_TIMESPEC_COMPARE(T1, T2) (((T1)->tv_sec != (T2)->tv_sec) || ((T1)->tv_nsec != (T2)->tv_nsec)) | #define NFS_TIMESPEC_COMPARE(T1, T2) (((T1)->tv_sec != (T2)->tv_sec) || ((T1)->tv_nsec != (T2)->tv_nsec)) | ||||
Show All 25 Lines |