vm_object.h (a316d390bda3e185e04632e807a012a345492935) vm_object.h (f708ef1b9ebe2f38fc7e454e6594efd5a98a2124)
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

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

56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
57 * School of Computer Science
58 * Carnegie Mellon University
59 * Pittsburgh PA 15213-3890
60 *
61 * any improvements or extensions that they make and grant Carnegie the
62 * rights to redistribute these changes.
63 *
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

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

56 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
57 * School of Computer Science
58 * Carnegie Mellon University
59 * Pittsburgh PA 15213-3890
60 *
61 * any improvements or extensions that they make and grant Carnegie the
62 * rights to redistribute these changes.
63 *
64 * $Id: vm_object.h,v 1.24 1995/12/07 12:48:22 davidg Exp $
64 * $Id: vm_object.h,v 1.25 1995/12/11 04:58:23 dyson Exp $
65 */
66
67/*
68 * Virtual memory object module definitions.
69 */
70
71#ifndef _VM_OBJECT_
72#define _VM_OBJECT_

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

158 if ((object->flags & OBJ_PIPWNT) && object->paging_in_progress == 0) {
159 object->flags &= ~OBJ_PIPWNT;
160 wakeup(object);
161 }
162}
163
164vm_object_t vm_object_allocate __P((objtype_t, vm_size_t));
165void vm_object_cache_clear __P((void));
65 */
66
67/*
68 * Virtual memory object module definitions.
69 */
70
71#ifndef _VM_OBJECT_
72#define _VM_OBJECT_

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

158 if ((object->flags & OBJ_PIPWNT) && object->paging_in_progress == 0) {
159 object->flags &= ~OBJ_PIPWNT;
160 wakeup(object);
161 }
162}
163
164vm_object_t vm_object_allocate __P((objtype_t, vm_size_t));
165void vm_object_cache_clear __P((void));
166void vm_object_cache_trim __P((void));
167boolean_t vm_object_coalesce __P((vm_object_t, vm_pindex_t, vm_size_t, vm_size_t));
168void vm_object_collapse __P((vm_object_t));
169void vm_object_copy __P((vm_object_t, vm_pindex_t, vm_object_t *, vm_pindex_t *, boolean_t *));
166boolean_t vm_object_coalesce __P((vm_object_t, vm_pindex_t, vm_size_t, vm_size_t));
167void vm_object_collapse __P((vm_object_t));
168void vm_object_copy __P((vm_object_t, vm_pindex_t, vm_object_t *, vm_pindex_t *, boolean_t *));
170void vm_object_deactivate_pages __P((vm_object_t));
171void vm_object_deallocate __P((vm_object_t));
172void vm_object_init __P((void));
173void vm_object_page_clean __P((vm_object_t, vm_pindex_t, vm_pindex_t, boolean_t, boolean_t));
174void vm_object_page_remove __P((vm_object_t, vm_pindex_t, vm_pindex_t, boolean_t));
175void vm_object_pmap_copy __P((vm_object_t, vm_pindex_t, vm_pindex_t));
176void vm_object_pmap_remove __P((vm_object_t, vm_pindex_t, vm_pindex_t));
177void vm_object_reference __P((vm_object_t));
178void vm_object_shadow __P((vm_object_t *, vm_ooffset_t *, vm_size_t));
169void vm_object_deallocate __P((vm_object_t));
170void vm_object_init __P((void));
171void vm_object_page_clean __P((vm_object_t, vm_pindex_t, vm_pindex_t, boolean_t, boolean_t));
172void vm_object_page_remove __P((vm_object_t, vm_pindex_t, vm_pindex_t, boolean_t));
173void vm_object_pmap_copy __P((vm_object_t, vm_pindex_t, vm_pindex_t));
174void vm_object_pmap_remove __P((vm_object_t, vm_pindex_t, vm_pindex_t));
175void vm_object_reference __P((vm_object_t));
176void vm_object_shadow __P((vm_object_t *, vm_ooffset_t *, vm_size_t));
179void vm_object_terminate __P((vm_object_t));
180#endif /* KERNEL */
181
182#endif /* _VM_OBJECT_ */
177#endif /* KERNEL */
178
179#endif /* _VM_OBJECT_ */