Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/vnode.h
Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | |||||
* Vnode flags. | * Vnode flags. | ||||
* VI flags are protected by interlock and live in v_iflag | * VI flags are protected by interlock and live in v_iflag | ||||
* VV flags are protected by the vnode lock and live in v_vflag | * VV flags are protected by the vnode lock and live in v_vflag | ||||
* | * | ||||
* VIRF_DOOMED is doubly protected by the interlock and vnode lock. Both | * VIRF_DOOMED is doubly protected by the interlock and vnode lock. Both | ||||
* are required for writing but the status may be checked with either. | * are required for writing but the status may be checked with either. | ||||
*/ | */ | ||||
#define VIRF_DOOMED 0x0001 /* This vnode is being recycled */ | #define VIRF_DOOMED 0x0001 /* This vnode is being recycled */ | ||||
#define VIRF_OWEINACT 0x0002 /* Need to call inactive */ | |||||
#define VI_TEXT_REF 0x0001 /* Text ref grabbed use ref */ | #define VI_TEXT_REF 0x0001 /* Text ref grabbed use ref */ | ||||
#define VI_MOUNT 0x0020 /* Mount in progress */ | #define VI_MOUNT 0x0020 /* Mount in progress */ | ||||
#define VI_DOINGINACT 0x0800 /* VOP_INACTIVE is in progress */ | #define VI_DOINGINACT 0x0800 /* VOP_INACTIVE is in progress */ | ||||
#define VI_OWEINACT 0x1000 /* Need to call inactive */ | |||||
#define VI_DEFINACT 0x2000 /* deferred inactive */ | #define VI_DEFINACT 0x2000 /* deferred inactive */ | ||||
#define VV_ROOT 0x0001 /* root of its filesystem */ | #define VV_ROOT 0x0001 /* root of its filesystem */ | ||||
#define VV_ISTTY 0x0002 /* vnode represents a tty */ | #define VV_ISTTY 0x0002 /* vnode represents a tty */ | ||||
#define VV_NOSYNC 0x0004 /* unlinked, stop syncing */ | #define VV_NOSYNC 0x0004 /* unlinked, stop syncing */ | ||||
#define VV_ETERNALDEV 0x0008 /* device that is never destroyed */ | #define VV_ETERNALDEV 0x0008 /* device that is never destroyed */ | ||||
#define VV_CACHEDLABEL 0x0010 /* Vnode has valid cached MAC label */ | #define VV_CACHEDLABEL 0x0010 /* Vnode has valid cached MAC label */ | ||||
#define VV_VMSIZEVNLOCK 0x0020 /* object size check requires vnode lock */ | #define VV_VMSIZEVNLOCK 0x0020 /* object size check requires vnode lock */ | ||||
▲ Show 20 Lines • Show All 728 Lines • Show Last 20 Lines |