Lines Matching refs:ptent
753 pte_t ptent = *pte; in clear_soft_dirty() local
755 if (pte_present(ptent)) { in clear_soft_dirty()
756 ptent = pte_wrprotect(ptent); in clear_soft_dirty()
757 ptent = pte_clear_flags(ptent, _PAGE_SOFT_DIRTY); in clear_soft_dirty()
758 } else if (is_swap_pte(ptent)) { in clear_soft_dirty()
759 ptent = pte_swp_clear_soft_dirty(ptent); in clear_soft_dirty()
762 set_pte_at(vma->vm_mm, addr, pte, ptent); in clear_soft_dirty()
797 pte_t *pte, ptent; in clear_refs_pte_range() local
822 ptent = *pte; in clear_refs_pte_range()
829 if (!pte_present(ptent)) in clear_refs_pte_range()
832 page = vm_normal_page(vma, addr, ptent); in clear_refs_pte_range()