Lines Matching refs:pteval

1402 	pte_t pteval;  in try_to_unmap_one()  local
1513 pteval = ptep_get_and_clear(mm, address, pvmw.pte); in try_to_unmap_one()
1515 set_tlb_ubc_flush_pending(mm, pte_dirty(pteval)); in try_to_unmap_one()
1517 pteval = ptep_clear_flush(vma, address, pvmw.pte); in try_to_unmap_one()
1521 if (pte_dirty(pteval)) in try_to_unmap_one()
1528 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_unmap_one()
1532 pvmw.pte, pteval, in try_to_unmap_one()
1536 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
1539 } else if (pte_unused(pteval) && !userfaultfd_armed(vma)) { in try_to_unmap_one()
1585 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
1593 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
1598 if (arch_unmap_one(mm, vma, address, pteval) < 0) { in try_to_unmap_one()
1599 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_unmap_one()
1613 if (pte_soft_dirty(pteval)) in try_to_unmap_one()
1615 if (pte_uffd_wp(pteval)) in try_to_unmap_one()
1702 pte_t pteval; in try_to_migrate_one() local
1800 pteval = ptep_clear_flush(vma, address, pvmw.pte); in try_to_migrate_one()
1803 if (pte_dirty(pteval)) in try_to_migrate_one()
1826 if (pte_swp_soft_dirty(pteval)) in try_to_migrate_one()
1828 if (pte_swp_uffd_wp(pteval)) in try_to_migrate_one()
1844 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_migrate_one()
1848 pvmw.pte, pteval, in try_to_migrate_one()
1852 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_migrate_one()
1855 } else if (pte_unused(pteval) && !userfaultfd_armed(vma)) { in try_to_migrate_one()
1874 if (arch_unmap_one(mm, vma, address, pteval) < 0) { in try_to_migrate_one()
1875 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_migrate_one()
1886 if (pte_write(pteval)) in try_to_migrate_one()
1894 if (pte_soft_dirty(pteval)) in try_to_migrate_one()
1896 if (pte_uffd_wp(pteval)) in try_to_migrate_one()
2054 pte_t pteval; in page_make_device_exclusive_one() local
2081 pteval = ptep_clear_flush(vma, address, pvmw.pte); in page_make_device_exclusive_one()
2084 if (pte_dirty(pteval)) in page_make_device_exclusive_one()
2092 pte_write(pteval)) in page_make_device_exclusive_one()
2100 if (pte_write(pteval)) in page_make_device_exclusive_one()
2107 if (pte_soft_dirty(pteval)) in page_make_device_exclusive_one()
2109 if (pte_uffd_wp(pteval)) in page_make_device_exclusive_one()