Deleted Added
full compact
vm_object.h (6816) vm_object.h (6897)
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.8 1995/02/22 10:06:43 davidg Exp $
64 * $Id: vm_object.h,v 1.9 1995/03/01 23:29:58 davidg Exp $
65 */
66
67/*
68 * Virtual memory object module definitions.
69 */
70
71#ifndef _VM_OBJECT_
72#define _VM_OBJECT_

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

147#endif
148
149__inline static void
150vm_object_pip_wakeup( vm_object_t object) {
151 object->paging_in_progress--;
152 if ((object->flags & OBJ_PIPWNT) &&
153 object->paging_in_progress == 0) {
154 object->flags &= ~OBJ_PIPWNT;
65 */
66
67/*
68 * Virtual memory object module definitions.
69 */
70
71#ifndef _VM_OBJECT_
72#define _VM_OBJECT_

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

147#endif
148
149__inline static void
150vm_object_pip_wakeup( vm_object_t object) {
151 object->paging_in_progress--;
152 if ((object->flags & OBJ_PIPWNT) &&
153 object->paging_in_progress == 0) {
154 object->flags &= ~OBJ_PIPWNT;
155 wakeup((caddr_t) object);
155 wakeup(object);
156 }
157}
158
159#ifdef KERNEL
160vm_object_t vm_object_allocate __P((vm_size_t));
161void vm_object_cache_clear __P((void));
162void vm_object_cache_trim __P((void));
163boolean_t vm_object_coalesce __P((vm_object_t, vm_object_t, vm_offset_t, vm_offset_t, vm_offset_t, vm_size_t));

--- 20 unchanged lines hidden ---
156 }
157}
158
159#ifdef KERNEL
160vm_object_t vm_object_allocate __P((vm_size_t));
161void vm_object_cache_clear __P((void));
162void vm_object_cache_trim __P((void));
163boolean_t vm_object_coalesce __P((vm_object_t, vm_object_t, vm_offset_t, vm_offset_t, vm_offset_t, vm_size_t));

--- 20 unchanged lines hidden ---