vm_object.h (98df9218daac2006d7cf5a914544ab8614d31e3b) vm_object.h (ed4fe4f4f5dd2ae7ef62e004a3e1bdd071b8fee6)
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

--- 131 unchanged lines hidden (view full) ---

140#define OBJ_DEAD 0x0008 /* dead objects (during rundown) */
141#define OBJ_NOSPLIT 0x0010 /* dont split this object */
142#define OBJ_PIPWNT 0x0040 /* paging in progress wanted */
143#define OBJ_WRITEABLE 0x0080 /* object has been made writable */
144#define OBJ_MIGHTBEDIRTY 0x0100 /* object might be dirty */
145#define OBJ_CLEANING 0x0200
146#define OBJ_ONEMAPPING 0x2000 /* One USE (a single, non-forked) mapping flag */
147#define OBJ_DISCONNECTWNT 0x4000 /* disconnect from vnode wanted */
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

--- 131 unchanged lines hidden (view full) ---

140#define OBJ_DEAD 0x0008 /* dead objects (during rundown) */
141#define OBJ_NOSPLIT 0x0010 /* dont split this object */
142#define OBJ_PIPWNT 0x0040 /* paging in progress wanted */
143#define OBJ_WRITEABLE 0x0080 /* object has been made writable */
144#define OBJ_MIGHTBEDIRTY 0x0100 /* object might be dirty */
145#define OBJ_CLEANING 0x0200
146#define OBJ_ONEMAPPING 0x2000 /* One USE (a single, non-forked) mapping flag */
147#define OBJ_DISCONNECTWNT 0x4000 /* disconnect from vnode wanted */
148#define OBJ_NEEDGIANT 0x8000 /* object requires Giant */
148
149#define IDX_TO_OFF(idx) (((vm_ooffset_t)(idx)) << PAGE_SHIFT)
150#define OFF_TO_IDX(off) ((vm_pindex_t)(((vm_ooffset_t)(off)) >> PAGE_SHIFT))
151
152#ifdef _KERNEL
153
154#define OBJPC_SYNC 0x1 /* sync I/O */
155#define OBJPC_INVAL 0x2 /* invalidate */

--- 62 unchanged lines hidden ---
149
150#define IDX_TO_OFF(idx) (((vm_ooffset_t)(idx)) << PAGE_SHIFT)
151#define OFF_TO_IDX(off) ((vm_pindex_t)(((vm_ooffset_t)(off)) >> PAGE_SHIFT))
152
153#ifdef _KERNEL
154
155#define OBJPC_SYNC 0x1 /* sync I/O */
156#define OBJPC_INVAL 0x2 /* invalidate */

--- 62 unchanged lines hidden ---