vm_object.c (43729) | vm_object.c (43748) |
---|---|
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.c,v 1.144 1999/02/04 17:47:52 dillon Exp $ | 64 * $Id: vm_object.c,v 1.145 1999/02/07 08:44:53 dillon Exp $ |
65 */ 66 67/* 68 * Virtual memory object module. 69 */ 70 71#include <sys/param.h> 72#include <sys/systm.h> --- 1491 unchanged lines hidden (view full) --- 1564 tmpe = map->header.next; 1565 entcount = map->nentries; 1566 while (entcount-- && (tmpe != &map->header)) { 1567 if( _vm_object_in_map(map, object, tmpe)) { 1568 return 1; 1569 } 1570 tmpe = tmpe->next; 1571 } | 65 */ 66 67/* 68 * Virtual memory object module. 69 */ 70 71#include <sys/param.h> 72#include <sys/systm.h> --- 1491 unchanged lines hidden (view full) --- 1564 tmpe = map->header.next; 1565 entcount = map->nentries; 1566 while (entcount-- && (tmpe != &map->header)) { 1567 if( _vm_object_in_map(map, object, tmpe)) { 1568 return 1; 1569 } 1570 tmpe = tmpe->next; 1571 } |
1572 } else if (entry->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) { 1573 tmpm = entry->object.share_map; | 1572 } else if (entry->eflags & MAP_ENTRY_IS_SUB_MAP) { 1573 tmpm = entry->object.sub_map; |
1574 tmpe = tmpm->header.next; 1575 entcount = tmpm->nentries; 1576 while (entcount-- && tmpe != &tmpm->header) { 1577 if( _vm_object_in_map(tmpm, object, tmpe)) { 1578 return 1; 1579 } 1580 tmpe = tmpe->next; 1581 } --- 224 unchanged lines hidden --- | 1574 tmpe = tmpm->header.next; 1575 entcount = tmpm->nentries; 1576 while (entcount-- && tmpe != &tmpm->header) { 1577 if( _vm_object_in_map(tmpm, object, tmpe)) { 1578 return 1; 1579 } 1580 tmpe = tmpe->next; 1581 } --- 224 unchanged lines hidden --- |