Lines Matching refs:pteval

507 		pte_t pteval = ptep_get(_pte);  in release_pte_pages()  local
510 if (pte_none(pteval)) in release_pte_pages()
512 pfn = pte_pfn(pteval); in release_pte_pages()
551 pte_t pteval = ptep_get(_pte); in __collapse_huge_page_isolate() local
552 if (pte_none(pteval) || (pte_present(pteval) && in __collapse_huge_page_isolate()
553 is_zero_pfn(pte_pfn(pteval)))) { in __collapse_huge_page_isolate()
565 if (!pte_present(pteval)) { in __collapse_huge_page_isolate()
569 if (pte_uffd_wp(pteval)) { in __collapse_huge_page_isolate()
573 page = vm_normal_page(vma, address, pteval); in __collapse_huge_page_isolate()
656 (pte_young(pteval) || page_is_young(page) || in __collapse_huge_page_isolate()
661 if (pte_write(pteval)) in __collapse_huge_page_isolate()
691 pte_t pteval; in __collapse_huge_page_copy_succeeded() local
695 pteval = ptep_get(_pte); in __collapse_huge_page_copy_succeeded()
696 if (pte_none(pteval) || is_zero_pfn(pte_pfn(pteval))) { in __collapse_huge_page_copy_succeeded()
698 if (is_zero_pfn(pte_pfn(pteval))) { in __collapse_huge_page_copy_succeeded()
705 ksm_might_unmap_zero_page(vma->vm_mm, pteval); in __collapse_huge_page_copy_succeeded()
708 src_page = pte_page(pteval); in __collapse_huge_page_copy_succeeded()
785 pte_t pteval; in __collapse_huge_page_copy() local
794 pteval = ptep_get(_pte); in __collapse_huge_page_copy()
795 if (pte_none(pteval) || is_zero_pfn(pte_pfn(pteval))) { in __collapse_huge_page_copy()
799 src_page = pte_page(pteval); in __collapse_huge_page_copy()
1271 pte_t pteval = ptep_get(_pte); in hpage_collapse_scan_pmd() local
1272 if (is_swap_pte(pteval)) { in hpage_collapse_scan_pmd()
1281 if (pte_swp_uffd_wp_any(pteval)) { in hpage_collapse_scan_pmd()
1292 if (pte_none(pteval) || is_zero_pfn(pte_pfn(pteval))) { in hpage_collapse_scan_pmd()
1304 if (pte_uffd_wp(pteval)) { in hpage_collapse_scan_pmd()
1317 if (pte_write(pteval)) in hpage_collapse_scan_pmd()
1320 page = vm_normal_page(vma, _address, pteval); in hpage_collapse_scan_pmd()
1383 (pte_young(pteval) || page_is_young(page) || in hpage_collapse_scan_pmd()