vm_object.h (195840) | vm_object.h (200770) |
---|---|
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 --- 43 unchanged lines hidden (view full) --- 52 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 53 * School of Computer Science 54 * Carnegie Mellon University 55 * Pittsburgh PA 15213-3890 56 * 57 * any improvements or extensions that they make and grant Carnegie the 58 * rights to redistribute these changes. 59 * | 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 --- 43 unchanged lines hidden (view full) --- 52 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 53 * School of Computer Science 54 * Carnegie Mellon University 55 * Pittsburgh PA 15213-3890 56 * 57 * any improvements or extensions that they make and grant Carnegie the 58 * rights to redistribute these changes. 59 * |
60 * $FreeBSD: head/sys/vm/vm_object.h 195840 2009-07-24 13:50:29Z jhb $ | 60 * $FreeBSD: head/sys/vm/vm_object.h 200770 2009-12-21 12:29:38Z kib $ |
61 */ 62 63/* 64 * Virtual memory object module definitions. 65 */ 66 67#ifndef _VM_OBJECT_ 68#define _VM_OBJECT_ --- 80 unchanged lines hidden (view full) --- 149 150/* 151 * Flags 152 */ 153#define OBJ_ACTIVE 0x0004 /* active objects */ 154#define OBJ_DEAD 0x0008 /* dead objects (during rundown) */ 155#define OBJ_NOSPLIT 0x0010 /* dont split this object */ 156#define OBJ_PIPWNT 0x0040 /* paging in progress wanted */ | 61 */ 62 63/* 64 * Virtual memory object module definitions. 65 */ 66 67#ifndef _VM_OBJECT_ 68#define _VM_OBJECT_ --- 80 unchanged lines hidden (view full) --- 149 150/* 151 * Flags 152 */ 153#define OBJ_ACTIVE 0x0004 /* active objects */ 154#define OBJ_DEAD 0x0008 /* dead objects (during rundown) */ 155#define OBJ_NOSPLIT 0x0010 /* dont split this object */ 156#define OBJ_PIPWNT 0x0040 /* paging in progress wanted */ |
157#define OBJ_MIGHTBEDIRTY 0x0100 /* object might be dirty */ | 157#define OBJ_MIGHTBEDIRTY 0x0100 /* object might be dirty, only for vnode */ |
158#define OBJ_CLEANING 0x0200 159#define OBJ_COLORED 0x1000 /* pg_color is defined */ 160#define OBJ_ONEMAPPING 0x2000 /* One USE (a single, non-forked) mapping flag */ 161#define OBJ_DISCONNECTWNT 0x4000 /* disconnect from vnode wanted */ 162 163#define IDX_TO_OFF(idx) (((vm_ooffset_t)(idx)) << PAGE_SHIFT) 164#define OFF_TO_IDX(off) ((vm_pindex_t)(((vm_ooffset_t)(off)) >> PAGE_SHIFT)) 165 --- 69 unchanged lines hidden --- | 158#define OBJ_CLEANING 0x0200 159#define OBJ_COLORED 0x1000 /* pg_color is defined */ 160#define OBJ_ONEMAPPING 0x2000 /* One USE (a single, non-forked) mapping flag */ 161#define OBJ_DISCONNECTWNT 0x4000 /* disconnect from vnode wanted */ 162 163#define IDX_TO_OFF(idx) (((vm_ooffset_t)(idx)) << PAGE_SHIFT) 164#define OFF_TO_IDX(off) ((vm_pindex_t)(((vm_ooffset_t)(off)) >> PAGE_SHIFT)) 165 --- 69 unchanged lines hidden --- |