Lines Matching refs:first_page

111 	vm_page_t	first_page;  member
594 seg->first_page = &vm_page_array[npages]; in vm_phys_init()
597 seg->first_page = PHYS_TO_VM_PAGE(seg->start); in vm_phys_init()
1020 return (&seg->first_page[atop(pa - seg->start)]); in vm_phys_seg_paddr_to_vm_page()
1052 m = &seg->first_page[atop(pa - seg->start)]; in vm_phys_fictitious_to_vm_page()
1093 if (pi >= first_page && (pi - first_page) < vm_page_array_size) { in vm_phys_fictitious_reg_range()
1094 fp = &vm_page_array[pi - first_page]; in vm_phys_fictitious_reg_range()
1095 if ((pe - first_page) > vm_page_array_size) { in vm_phys_fictitious_reg_range()
1104 dpage_count = vm_page_array_size - (pi - first_page); in vm_phys_fictitious_reg_range()
1117 } else if (pe > first_page && (pe - first_page) < vm_page_array_size) { in vm_phys_fictitious_reg_range()
1123 dpage_count = pe - first_page; in vm_phys_fictitious_reg_range()
1124 vm_phys_fictitious_init_range(fp, ptoa(first_page), dpage_count, in vm_phys_fictitious_reg_range()
1129 } else if (pi < first_page && pe > (first_page + vm_page_array_size)) { in vm_phys_fictitious_reg_range()
1148 seg->first_page = fp; in vm_phys_fictitious_reg_range()
1172 if (pi >= first_page && (pi - first_page) < vm_page_array_size) { in vm_phys_fictitious_unreg_range()
1173 if ((pe - first_page) <= vm_page_array_size) { in vm_phys_fictitious_unreg_range()
1188 start = ptoa(first_page + vm_page_array_size); in vm_phys_fictitious_unreg_range()
1189 } else if (pe > first_page && (pe - first_page) < vm_page_array_size) { in vm_phys_fictitious_unreg_range()
1194 end = ptoa(first_page); in vm_phys_fictitious_unreg_range()
1195 } else if (pi < first_page && pe > (first_page + vm_page_array_size)) { in vm_phys_fictitious_unreg_range()
1215 free(seg->first_page, M_FICT_PAGES); in vm_phys_fictitious_unreg_range()
1480 bounds[1] = &seg->first_page[atop(pa_end - seg->start)]; in vm_phys_find_range()