Lines Matching refs:ptent
792 pte_t ptent = *pte; in clear_soft_dirty() local
794 if (pte_present(ptent)) { in clear_soft_dirty()
795 ptent = ptep_modify_prot_start(vma->vm_mm, addr, pte); in clear_soft_dirty()
796 ptent = pte_wrprotect(ptent); in clear_soft_dirty()
797 ptent = pte_clear_soft_dirty(ptent); in clear_soft_dirty()
798 ptep_modify_prot_commit(vma->vm_mm, addr, pte, ptent); in clear_soft_dirty()
799 } else if (is_swap_pte(ptent)) { in clear_soft_dirty()
800 ptent = pte_swp_clear_soft_dirty(ptent); in clear_soft_dirty()
801 set_pte_at(vma->vm_mm, addr, pte, ptent); in clear_soft_dirty()
837 pte_t *pte, ptent; in clear_refs_pte_range() local
863 ptent = *pte; in clear_refs_pte_range()
870 if (!pte_present(ptent)) in clear_refs_pte_range()
873 page = vm_normal_page(vma, addr, ptent); in clear_refs_pte_range()