vm_mmap.c (21673) | vm_mmap.c (21754) |
---|---|
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 * $FreeBSD: head/sys/vm/vm_mmap.c 21673 1997-01-14 07:20:47Z jkh $ | 41 * $FreeBSD: head/sys/vm/vm_mmap.c 21754 1997-01-16 04:16:22Z dyson $ |
42 */ 43 44/* 45 * Mapped file (mmap) interface to VM 46 */ 47 48#include "opt_rlimit.h" 49 --- 597 unchanged lines hidden (view full) --- 647 lastvecindex = -1; 648 for(current = entry; 649 (current != &map->header) && (current->start < end); 650 current = current->next) { 651 652 /* 653 * ignore submaps (for now) or null objects 654 */ | 42 */ 43 44/* 45 * Mapped file (mmap) interface to VM 46 */ 47 48#include "opt_rlimit.h" 49 --- 597 unchanged lines hidden (view full) --- 647 lastvecindex = -1; 648 for(current = entry; 649 (current != &map->header) && (current->start < end); 650 current = current->next) { 651 652 /* 653 * ignore submaps (for now) or null objects 654 */ |
655 if (current->is_a_map || current->is_sub_map || | 655 if ((current->eflags & (MAP_ENTRY_IS_A_MAP|MAP_ENTRY_IS_SUB_MAP)) || |
656 current->object.vm_object == NULL) 657 continue; 658 659 /* 660 * limit this scan to the current map entry and the 661 * limits for the mincore call 662 */ 663 if (addr < current->start) --- 325 unchanged lines hidden --- | 656 current->object.vm_object == NULL) 657 continue; 658 659 /* 660 * limit this scan to the current map entry and the 661 * limits for the mincore call 662 */ 663 if (addr < current->start) --- 325 unchanged lines hidden --- |