Home
last modified time | relevance | path

Searched refs:pte (Results 1 – 3 of 3) sorted by relevance

/fs/proc/
Dtask_mmu.c556 static void smaps_pte_entry(pte_t *pte, unsigned long addr, in smaps_pte_entry() argument
565 if (pte_present(*pte)) { in smaps_pte_entry()
566 page = vm_normal_page(vma, addr, *pte); in smaps_pte_entry()
567 young = pte_young(*pte); in smaps_pte_entry()
568 dirty = pte_dirty(*pte); in smaps_pte_entry()
569 } else if (is_swap_pte(*pte)) { in smaps_pte_entry()
570 swp_entry_t swpent = pte_to_swp_entry(*pte); in smaps_pte_entry()
591 && pte_none(*pte))) { in smaps_pte_entry()
651 pte_t *pte; in smaps_pte_range() local
668 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in smaps_pte_range()
[all …]
/fs/
Duserfaultfd.c241 pte_t *ptep, pte; in userfaultfd_huge_must_wait() local
252 pte = huge_ptep_get(ptep); in userfaultfd_huge_must_wait()
258 if (huge_pte_none(pte)) in userfaultfd_huge_must_wait()
260 if (!huge_pte_write(pte) && (reason & VM_UFFD_WP)) in userfaultfd_huge_must_wait()
293 pte_t *pte; in userfaultfd_must_wait() local
334 pte = pte_offset_map(pmd, address); in userfaultfd_must_wait()
339 if (pte_none(*pte)) in userfaultfd_must_wait()
341 if (!pte_write(*pte) && (reason & VM_UFFD_WP)) in userfaultfd_must_wait()
343 pte_unmap(pte); in userfaultfd_must_wait()
Ddax.c808 pte_t pte, *ptep = NULL; in dax_entry_mkclean() local
865 pte = ptep_clear_flush(vma, address, ptep); in dax_entry_mkclean()
866 pte = pte_wrprotect(pte); in dax_entry_mkclean()
867 pte = pte_mkclean(pte); in dax_entry_mkclean()
868 set_pte_at(vma->vm_mm, address, ptep, pte); in dax_entry_mkclean()