Lines Matching refs:pte
34 pte_t pte = *ptep; in zap_pte() local
38 if (pte_present(pte)) { in zap_pte()
39 flush_cache_page(vma, addr, pte_pfn(pte)); in zap_pte()
40 pte = ptep_clear_flush(vma, addr, ptep); in zap_pte()
41 page = vm_normal_page(vma, addr, pte); in zap_pte()
43 if (pte_dirty(pte)) in zap_pte()
51 if (!pte_file(pte)) { in zap_pte()
53 entry = pte_to_swp_entry(pte); in zap_pte()
76 pte_t *pte, ptfile; in install_file_pte() local
79 pte = get_locked_pte(mm, addr, &ptl); in install_file_pte()
80 if (!pte) in install_file_pte()
85 if (!pte_none(*pte)) in install_file_pte()
86 zap_pte(mm, vma, addr, pte); in install_file_pte()
88 set_pte_at(mm, addr, pte, pte_file_mksoft_dirty(ptfile)); in install_file_pte()
96 pte_unmap_unlock(pte, ptl); in install_file_pte()