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()
1819 entry = pte_to_swp_entry(pteval); in try_to_migrate_one()
1830 if (pte_swp_soft_dirty(pteval)) in try_to_migrate_one()
1832 if (pte_swp_uffd_wp(pteval)) in try_to_migrate_one()
1848 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_migrate_one()
1852 pvmw.pte, pteval, in try_to_migrate_one()
1856 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_migrate_one()
1859 } else if (pte_unused(pteval) && !userfaultfd_armed(vma)) { in try_to_migrate_one()
1878 if (arch_unmap_one(mm, vma, address, pteval) < 0) { in try_to_migrate_one()
1879 set_pte_at(mm, address, pvmw.pte, pteval); in try_to_migrate_one()
1890 if (pte_write(pteval)) in try_to_migrate_one()
1898 if (pte_soft_dirty(pteval)) in try_to_migrate_one()
1900 if (pte_uffd_wp(pteval)) in try_to_migrate_one()
2058 pte_t pteval; in page_make_device_exclusive_one() local
2085 pteval = ptep_clear_flush(vma, address, pvmw.pte); in page_make_device_exclusive_one()
2088 if (pte_dirty(pteval)) in page_make_device_exclusive_one()
2096 pte_write(pteval)) in page_make_device_exclusive_one()
2104 if (pte_write(pteval)) in page_make_device_exclusive_one()
2111 if (pte_soft_dirty(pteval)) in page_make_device_exclusive_one()
2113 if (pte_uffd_wp(pteval)) in page_make_device_exclusive_one()