Lines Matching refs:pvmw
1020 DEFINE_PAGE_VMA_WALK(pvmw, page, vma, 0, 0); in write_protect_page()
1026 pvmw.address = page_address_in_vma(page, vma); in write_protect_page()
1027 if (pvmw.address == -EFAULT) in write_protect_page()
1033 pvmw.address, in write_protect_page()
1034 pvmw.address + PAGE_SIZE); in write_protect_page()
1037 if (!page_vma_mapped_walk(&pvmw)) in write_protect_page()
1039 if (WARN_ONCE(!pvmw.pte, "Unexpected PMD mapping?")) in write_protect_page()
1043 if (pte_write(*pvmw.pte) || pte_dirty(*pvmw.pte) || in write_protect_page()
1044 (pte_protnone(*pvmw.pte) && pte_savedwrite(*pvmw.pte)) || in write_protect_page()
1049 flush_cache_page(vma, pvmw.address, page_to_pfn(page)); in write_protect_page()
1064 entry = ptep_clear_flush(vma, pvmw.address, pvmw.pte); in write_protect_page()
1070 set_pte_at(mm, pvmw.address, pvmw.pte, entry); in write_protect_page()
1076 set_pte_at(mm, pvmw.address, pvmw.pte, entry); in write_protect_page()
1087 set_pte_at_notify(mm, pvmw.address, pvmw.pte, entry); in write_protect_page()
1089 *orig_pte = *pvmw.pte; in write_protect_page()
1093 page_vma_mapped_walk_done(&pvmw); in write_protect_page()