Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_object.h
Show First 20 Lines • Show All 195 Lines • ▼ Show 20 Lines | |||||
#define OBJ_FICTITIOUS 0x0001 /* (c) contains fictitious pages */ | #define OBJ_FICTITIOUS 0x0001 /* (c) contains fictitious pages */ | ||||
#define OBJ_UNMANAGED 0x0002 /* (c) contains unmanaged pages */ | #define OBJ_UNMANAGED 0x0002 /* (c) contains unmanaged pages */ | ||||
#define OBJ_POPULATE 0x0004 /* pager implements populate() */ | #define OBJ_POPULATE 0x0004 /* pager implements populate() */ | ||||
#define OBJ_DEAD 0x0008 /* dead objects (during rundown) */ | #define OBJ_DEAD 0x0008 /* dead objects (during rundown) */ | ||||
#define OBJ_ANON 0x0010 /* (c) contains anonymous memory */ | #define OBJ_ANON 0x0010 /* (c) contains anonymous memory */ | ||||
#define OBJ_UMTXDEAD 0x0020 /* umtx pshared was terminated */ | #define OBJ_UMTXDEAD 0x0020 /* umtx pshared was terminated */ | ||||
#define OBJ_SIZEVNLOCK 0x0040 /* lock vnode to check obj size */ | #define OBJ_SIZEVNLOCK 0x0040 /* lock vnode to check obj size */ | ||||
#define OBJ_PG_DTOR 0x0080 /* dont reset object, leave that for dtor */ | #define OBJ_PG_DTOR 0x0080 /* dont reset object, leave that for dtor */ | ||||
#define OBJ_SHADOWLIST 0x0100 /* Object is on the shadow list. */ | |||||
#define OBJ_SWAP 0x0200 /* object swaps */ | #define OBJ_SWAP 0x0200 /* object swaps */ | ||||
#define OBJ_SPLIT 0x0400 /* object is being split */ | #define OBJ_SPLIT 0x0400 /* object is being split */ | ||||
#define OBJ_COLLAPSING 0x0800 /* Parent of collapse. */ | #define OBJ_COLLAPSING 0x0800 /* Parent of collapse. */ | ||||
#define OBJ_COLORED 0x1000 /* pg_color is defined */ | #define OBJ_COLORED 0x1000 /* pg_color is defined */ | ||||
#define OBJ_ONEMAPPING 0x2000 /* One USE (a single, non-forked) mapping flag */ | #define OBJ_ONEMAPPING 0x2000 /* One USE (a single, non-forked) mapping flag */ | ||||
#define OBJ_SHADOWLIST 0x4000 /* Object is on the shadow list. */ | #define OBJ_PAGERPRIV1 0x4000 /* Pager private */ | ||||
#define OBJ_PAGERPRIV 0x8000 /* Pager private */ | #define OBJ_PAGERPRIV2 0x8000 /* Pager private */ | ||||
/* | /* | ||||
* Helpers to perform conversion between vm_object page indexes and offsets. | * Helpers to perform conversion between vm_object page indexes and offsets. | ||||
* IDX_TO_OFF() converts an index into an offset. | * IDX_TO_OFF() converts an index into an offset. | ||||
* OFF_TO_IDX() converts an offset into an index. | * OFF_TO_IDX() converts an offset into an index. | ||||
* OBJ_MAX_SIZE specifies the maximum page index corresponding to the | * OBJ_MAX_SIZE specifies the maximum page index corresponding to the | ||||
* maximum unsigned offset. | * maximum unsigned offset. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 176 Lines • Show Last 20 Lines |