Lines Matching refs:entry
2605 unsigned int entry;
2734 entry = 0;
2786 user_page_list[entry].phys_addr = 0;
2847 user_page_list[entry].phys_addr = 0;
2855 user_page_list[entry].phys_addr = 0;
2875 user_page_list[entry].phys_addr = 0;
3078 user_page_list[entry].phys_addr = 0;
3126 user_page_list[entry].phys_addr = 0;
3143 user_page_list[entry].phys_addr = 0;
3322 user_page_list[entry].phys_addr = dst_page->phys_page;
3323 user_page_list[entry].pageout = dst_page->pageout;
3324 user_page_list[entry].absent = dst_page->absent;
3325 user_page_list[entry].dirty = dst_page->dirty;
3326 user_page_list[entry].precious = dst_page->precious;
3327 user_page_list[entry].device = FALSE;
3329 user_page_list[entry].speculative = dst_page->speculative;
3331 user_page_list[entry].speculative = FALSE;
3332 user_page_list[entry].cs_validated = dst_page->cs_validated;
3333 user_page_list[entry].cs_tainted = dst_page->cs_tainted;
3378 entry++;
3395 else if (*page_list_count > entry)
3396 *page_list_count = entry;
3522 vm_map_entry_t entry;
3549 if (vm_map_lookup_entry(map, offset, &entry)) {
3551 if ((entry->vme_end - offset) < *upl_size)
3552 *upl_size = entry->vme_end - offset;
3557 if (entry->object.vm_object != VM_OBJECT_NULL) {
3558 if (entry->object.vm_object->private)
3561 if (entry->object.vm_object->phys_contiguous)
3568 if (entry->object.vm_object == VM_OBJECT_NULL || !entry->object.vm_object->phys_contiguous) {
3575 if (entry->object.vm_object == VM_OBJECT_NULL) {
3576 entry->object.vm_object = vm_object_allocate((vm_size_t)(entry->vme_end - entry->vme_start));
3577 entry->offset = 0;
3580 if (!(entry->protection & VM_PROT_WRITE)) {
3584 if (entry->needs_copy) {
3614 if (entry->is_sub_map) {
3617 submap = entry->object.sub_map;
3618 local_start = entry->vme_start;
3619 local_offset = entry->offset;
3632 if (entry->object.vm_object->shadow || entry->object.vm_object->copy) {
3633 local_object = entry->object.vm_object;
3634 local_start = entry->vme_start;
3635 local_offset = entry->offset;
3640 if (entry->object.vm_object->shadow && entry->object.vm_object->copy) {
3658 local_object = entry->object.vm_object;
3659 local_start = entry->vme_start;
3660 local_offset = entry->offset;
3678 if (entry->object.vm_object->private)
3683 if (entry->object.vm_object->phys_contiguous)
3686 local_object = entry->object.vm_object;
3687 local_offset = entry->offset;
3688 local_start = entry->vme_start;
3945 int entry;
3995 entry = offset/PAGE_SIZE;
4077 m->cs_validated = page_list[entry].cs_validated;
4078 m->cs_tainted = page_list[entry].cs_tainted;
4085 page_list[entry].phys_addr = 0;
4154 p = &(page_list[entry]);
4170 page_list[entry].phys_addr = 0;
4236 if (page_list[entry].dirty) {
4331 entry++;
4429 int entry;
4468 entry = offset/PAGE_SIZE;
4632 entry++;
4726 unsigned int entry;
4867 entry = 0;
5072 user_page_list[entry].phys_addr = dst_page->phys_page;
5073 user_page_list[entry].pageout = dst_page->pageout;
5074 user_page_list[entry].absent = dst_page->absent;
5075 user_page_list[entry].dirty = dst_page->dirty;
5076 user_page_list[entry].precious = dst_page->precious;
5077 user_page_list[entry].device = FALSE;
5079 user_page_list[entry].speculative = dst_page->speculative;
5081 user_page_list[entry].speculative = FALSE;
5082 user_page_list[entry].cs_validated = dst_page->cs_validated;
5083 user_page_list[entry].cs_tainted = dst_page->cs_tainted;
5096 entry++;
5106 else if (*page_list_count > entry)
5107 *page_list_count = entry;
5452 vm_object_reference_locked(object); /* for the map entry */
5469 vm_object_deallocate(object); /* for the map entry */