Home
last modified time | relevance | path

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

/fs/proc/
Dtask_mmu.c578 static void smaps_pte_entry(pte_t *pte, unsigned long addr, in smaps_pte_entry() argument
586 if (pte_present(*pte)) { in smaps_pte_entry()
587 page = vm_normal_page(vma, addr, *pte); in smaps_pte_entry()
588 } else if (is_swap_pte(*pte)) { in smaps_pte_entry()
589 swp_entry_t swpent = pte_to_swp_entry(*pte); in smaps_pte_entry()
609 && pte_none(*pte))) { in smaps_pte_entry()
626 smaps_account(mss, page, false, pte_young(*pte), pte_dirty(*pte), locked); in smaps_pte_entry()
663 pte_t *pte; in smaps_pte_range() local
681 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in smaps_pte_range()
682 for (; addr != end; pte++, addr += PAGE_SIZE) in smaps_pte_range()
[all …]
/fs/
Duserfaultfd.c234 pte_t *ptep, pte; in userfaultfd_huge_must_wait() local
245 pte = huge_ptep_get(ptep); in userfaultfd_huge_must_wait()
251 if (huge_pte_none(pte)) in userfaultfd_huge_must_wait()
253 if (!huge_pte_write(pte) && (reason & VM_UFFD_WP)) in userfaultfd_huge_must_wait()
286 pte_t *pte; in userfaultfd_must_wait() local
324 pte = pte_offset_map(pmd, address); in userfaultfd_must_wait()
329 if (pte_none(*pte)) in userfaultfd_must_wait()
331 pte_unmap(pte); in userfaultfd_must_wait()
Ddax.c780 pte_t pte, *ptep = NULL; in dax_entry_mkclean() local
836 pte = ptep_clear_flush(vma, address, ptep); in dax_entry_mkclean()
837 pte = pte_wrprotect(pte); in dax_entry_mkclean()
838 pte = pte_mkclean(pte); in dax_entry_mkclean()
839 set_pte_at(vma->vm_mm, address, ptep, pte); in dax_entry_mkclean()