vm_object.h (9268022b74279434ed6300244e3f977e56a8ceb5) | vm_object.h (f40cb1c6456a66669f6c75d92435b1c1b951387f) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 173 unchanged lines hidden (view full) --- 182#define OBJ_FICTITIOUS 0x0001 /* (c) contains fictitious pages */ 183#define OBJ_UNMANAGED 0x0002 /* (c) contains unmanaged pages */ 184#define OBJ_ACTIVE 0x0004 /* active objects */ 185#define OBJ_DEAD 0x0008 /* dead objects (during rundown) */ 186#define OBJ_NOSPLIT 0x0010 /* dont split this object */ 187#define OBJ_PIPWNT 0x0040 /* paging in progress wanted */ 188#define OBJ_MIGHTBEDIRTY 0x0100 /* object might be dirty, only for vnode */ 189#define OBJ_TMPFS_NODE 0x0200 /* object belongs to tmpfs VREG node */ | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 173 unchanged lines hidden (view full) --- 182#define OBJ_FICTITIOUS 0x0001 /* (c) contains fictitious pages */ 183#define OBJ_UNMANAGED 0x0002 /* (c) contains unmanaged pages */ 184#define OBJ_ACTIVE 0x0004 /* active objects */ 185#define OBJ_DEAD 0x0008 /* dead objects (during rundown) */ 186#define OBJ_NOSPLIT 0x0010 /* dont split this object */ 187#define OBJ_PIPWNT 0x0040 /* paging in progress wanted */ 188#define OBJ_MIGHTBEDIRTY 0x0100 /* object might be dirty, only for vnode */ 189#define OBJ_TMPFS_NODE 0x0200 /* object belongs to tmpfs VREG node */ |
190#define OBJ_TMPFS_DIRTY 0x0400 /* dirty tmpfs obj */ |
|
190#define OBJ_COLORED 0x1000 /* pg_color is defined */ 191#define OBJ_ONEMAPPING 0x2000 /* One USE (a single, non-forked) mapping flag */ 192#define OBJ_DISCONNECTWNT 0x4000 /* disconnect from vnode wanted */ 193#define OBJ_TMPFS 0x8000 /* has tmpfs vnode allocated */ 194 195#define IDX_TO_OFF(idx) (((vm_ooffset_t)(idx)) << PAGE_SHIFT) 196#define OFF_TO_IDX(off) ((vm_pindex_t)(((vm_ooffset_t)(off)) >> PAGE_SHIFT)) 197 --- 105 unchanged lines hidden --- | 191#define OBJ_COLORED 0x1000 /* pg_color is defined */ 192#define OBJ_ONEMAPPING 0x2000 /* One USE (a single, non-forked) mapping flag */ 193#define OBJ_DISCONNECTWNT 0x4000 /* disconnect from vnode wanted */ 194#define OBJ_TMPFS 0x8000 /* has tmpfs vnode allocated */ 195 196#define IDX_TO_OFF(idx) (((vm_ooffset_t)(idx)) << PAGE_SHIFT) 197#define OFF_TO_IDX(off) ((vm_pindex_t)(((vm_ooffset_t)(off)) >> PAGE_SHIFT)) 198 --- 105 unchanged lines hidden --- |