Lines Matching refs:ptent
530 pte_t ptent = ptep_get(pte); in smaps_pte_entry() local
532 if (pte_present(ptent)) { in smaps_pte_entry()
533 page = vm_normal_page(vma, addr, ptent); in smaps_pte_entry()
534 young = pte_young(ptent); in smaps_pte_entry()
535 dirty = pte_dirty(ptent); in smaps_pte_entry()
536 } else if (is_swap_pte(ptent)) { in smaps_pte_entry()
537 swp_entry_t swpent = pte_to_swp_entry(ptent); in smaps_pte_entry()
727 pte_t ptent = ptep_get(pte); in smaps_hugetlb_range() local
729 if (pte_present(ptent)) { in smaps_hugetlb_range()
730 page = vm_normal_page(vma, addr, ptent); in smaps_hugetlb_range()
731 } else if (is_swap_pte(ptent)) { in smaps_hugetlb_range()
732 swp_entry_t swpent = pte_to_swp_entry(ptent); in smaps_hugetlb_range()
1104 pte_t ptent = ptep_get(pte); in clear_soft_dirty() local
1106 if (pte_present(ptent)) { in clear_soft_dirty()
1109 if (pte_is_pinned(vma, addr, ptent)) in clear_soft_dirty()
1112 ptent = pte_wrprotect(old_pte); in clear_soft_dirty()
1113 ptent = pte_clear_soft_dirty(ptent); in clear_soft_dirty()
1114 ptep_modify_prot_commit(vma, addr, pte, old_pte, ptent); in clear_soft_dirty()
1115 } else if (is_swap_pte(ptent)) { in clear_soft_dirty()
1116 ptent = pte_swp_clear_soft_dirty(ptent); in clear_soft_dirty()
1117 set_pte_at(vma->vm_mm, addr, pte, ptent); in clear_soft_dirty()
1162 pte_t *pte, ptent; in clear_refs_pte_range() local
1193 ptent = ptep_get(pte); in clear_refs_pte_range()
1200 if (!pte_present(ptent)) in clear_refs_pte_range()
1203 page = vm_normal_page(vma, addr, ptent); in clear_refs_pte_range()
1894 pte_t ptent = ptep_get(pte); in gather_pte_stats() local
1895 struct page *page = can_gather_numa_stats(ptent, vma, addr); in gather_pte_stats()
1898 gather_stats(page, md, pte_dirty(ptent), 1); in gather_pte_stats()