Lines Matching refs:pte
18 pvmw->pte = pte_offset_map(pvmw->pmd, pvmw->address); in map_pte()
21 if (!is_swap_pte(*pvmw->pte)) in map_pte()
39 if (is_swap_pte(*pvmw->pte)) { in map_pte()
43 entry = pte_to_swp_entry(*pvmw->pte); in map_pte()
46 } else if (!pte_present(*pvmw->pte)) in map_pte()
87 if (!is_swap_pte(*pvmw->pte)) in check_pte()
89 entry = pte_to_swp_entry(*pvmw->pte); in check_pte()
95 } else if (is_swap_pte(*pvmw->pte)) { in check_pte()
99 entry = pte_to_swp_entry(*pvmw->pte); in check_pte()
105 if (!pte_present(*pvmw->pte)) in check_pte()
108 pfn = pte_pfn(*pvmw->pte); in check_pte()
148 if (pvmw->pmd && !pvmw->pte) in page_vma_mapped_walk()
151 if (pvmw->pte) in page_vma_mapped_walk()
156 pvmw->pte = huge_pte_offset(mm, pvmw->address, page_size(page)); in page_vma_mapped_walk()
157 if (!pvmw->pte) in page_vma_mapped_walk()
160 pvmw->ptl = huge_pte_lockptr(page_hstate(page), mm, pvmw->pte); in page_vma_mapped_walk()
230 pte_unmap(pvmw->pte); in page_vma_mapped_walk()
237 pvmw->pte++; in page_vma_mapped_walk()
239 } while (pte_none(*pvmw->pte)); in page_vma_mapped_walk()