Deleted Added
full compact
vm_object.c (21673) vm_object.c (21754)
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 * $FreeBSD: head/sys/vm/vm_object.c 21673 1997-01-14 07:20:47Z jkh $
64 * $FreeBSD: head/sys/vm/vm_object.c 21754 1997-01-16 04:16:22Z dyson $
65 */
66
67/*
68 * Virtual memory object module.
69 */
70
71#include <sys/param.h>
72#include <sys/systm.h>

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

1360 tmpe = map->header.next;
1361 entcount = map->nentries;
1362 while (entcount-- && (tmpe != &map->header)) {
1363 if( _vm_object_in_map(map, object, tmpe)) {
1364 return 1;
1365 }
1366 tmpe = tmpe->next;
1367 }
65 */
66
67/*
68 * Virtual memory object module.
69 */
70
71#include <sys/param.h>
72#include <sys/systm.h>

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

1360 tmpe = map->header.next;
1361 entcount = map->nentries;
1362 while (entcount-- && (tmpe != &map->header)) {
1363 if( _vm_object_in_map(map, object, tmpe)) {
1364 return 1;
1365 }
1366 tmpe = tmpe->next;
1367 }
1368 } else if (entry->is_sub_map || entry->is_a_map) {
1368 } else if (entry->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) {
1369 tmpm = entry->object.share_map;
1370 tmpe = tmpm->header.next;
1371 entcount = tmpm->nentries;
1372 while (entcount-- && tmpe != &tmpm->header) {
1373 if( _vm_object_in_map(tmpm, object, tmpe)) {
1374 return 1;
1375 }
1376 tmpe = tmpe->next;

--- 220 unchanged lines hidden ---
1369 tmpm = entry->object.share_map;
1370 tmpe = tmpm->header.next;
1371 entcount = tmpm->nentries;
1372 while (entcount-- && tmpe != &tmpm->header) {
1373 if( _vm_object_in_map(tmpm, object, tmpe)) {
1374 return 1;
1375 }
1376 tmpe = tmpe->next;

--- 220 unchanged lines hidden ---