vm_mmap.c (43209) | vm_mmap.c (43748) |
---|---|
1/* 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1991, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. --- 24 unchanged lines hidden (view full) --- 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * from: Utah $Hdr: vm_mmap.c 1.6 91/10/21$ 39 * 40 * @(#)vm_mmap.c 8.4 (Berkeley) 1/12/94 | 1/* 2 * Copyright (c) 1988 University of Utah. 3 * Copyright (c) 1991, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * the Systems Programming Group of the University of Utah Computer 8 * Science Department. --- 24 unchanged lines hidden (view full) --- 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * from: Utah $Hdr: vm_mmap.c 1.6 91/10/21$ 39 * 40 * @(#)vm_mmap.c 8.4 (Berkeley) 1/12/94 |
41 * $Id: vm_mmap.c,v 1.87 1999/01/21 08:29:11 dillon Exp $ | 41 * $Id: vm_mmap.c,v 1.88 1999/01/26 02:49:52 julian Exp $ |
42 */ 43 44/* 45 * Mapped file (mmap) interface to VM 46 */ 47 48#include "opt_compat.h" 49#include "opt_rlimit.h" --- 658 unchanged lines hidden (view full) --- 708 lastvecindex = -1; 709 for(current = entry; 710 (current != &map->header) && (current->start < end); 711 current = current->next) { 712 713 /* 714 * ignore submaps (for now) or null objects 715 */ | 42 */ 43 44/* 45 * Mapped file (mmap) interface to VM 46 */ 47 48#include "opt_compat.h" 49#include "opt_rlimit.h" --- 658 unchanged lines hidden (view full) --- 708 lastvecindex = -1; 709 for(current = entry; 710 (current != &map->header) && (current->start < end); 711 current = current->next) { 712 713 /* 714 * ignore submaps (for now) or null objects 715 */ |
716 if ((current->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) || | 716 if ((current->eflags & MAP_ENTRY_IS_SUB_MAP) || |
717 current->object.vm_object == NULL) 718 continue; 719 720 /* 721 * limit this scan to the current map entry and the 722 * limits for the mincore call 723 */ 724 if (addr < current->start) --- 357 unchanged lines hidden --- | 717 current->object.vm_object == NULL) 718 continue; 719 720 /* 721 * limit this scan to the current map entry and the 722 * limits for the mincore call 723 */ 724 if (addr < current->start) --- 357 unchanged lines hidden --- |