Home
last modified time | relevance | path

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

/fs/proc/
Dtask_mmu.c630 static void smaps_pmd_entry(pmd_t *pmd, unsigned long addr, in smaps_pmd_entry() argument
639 page = follow_trans_huge_pmd(vma, addr, pmd, FOLL_DUMP); in smaps_pmd_entry()
650 smaps_account(mss, page, true, pmd_young(*pmd), pmd_dirty(*pmd), locked); in smaps_pmd_entry()
653 static void smaps_pmd_entry(pmd_t *pmd, unsigned long addr, in smaps_pmd_entry() argument
659 static int smaps_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, in smaps_pte_range() argument
666 ptl = pmd_trans_huge_lock(pmd, vma); in smaps_pte_range()
668 if (pmd_present(*pmd)) in smaps_pte_range()
669 smaps_pmd_entry(pmd, addr, walk); in smaps_pte_range()
674 if (pmd_trans_unstable(pmd)) in smaps_pte_range()
681 pte = pte_offset_map_lock(vma->vm_mm, pmd, addr, &ptl); in smaps_pte_range()
[all …]
/fs/
Ddax.c814 pmd_t pmd; in dax_entry_mkclean() local
822 pmd = pmdp_invalidate(vma, address, pmdp); in dax_entry_mkclean()
823 pmd = pmd_wrprotect(pmd); in dax_entry_mkclean()
824 pmd = pmd_mkclean(pmd); in dax_entry_mkclean()
825 set_pmd_at(vma->vm_mm, address, pmdp, pmd); in dax_entry_mkclean()
1286 if (pmd_trans_huge(*vmf->pmd) || pmd_devmap(*vmf->pmd)) { in dax_iomap_pte_fault()
1439 ptl = pmd_lock(vmf->vma->vm_mm, vmf->pmd); in dax_pmd_load_hole()
1440 if (!pmd_none(*(vmf->pmd))) { in dax_pmd_load_hole()
1446 pgtable_trans_huge_deposit(vma->vm_mm, vmf->pmd, pgtable); in dax_pmd_load_hole()
1451 set_pmd_at(vmf->vma->vm_mm, pmd_addr, vmf->pmd, pmd_entry); in dax_pmd_load_hole()
[all …]
Duserfaultfd.c285 pmd_t *pmd, _pmd; in userfaultfd_must_wait() local
300 pmd = pmd_offset(pud, address); in userfaultfd_must_wait()
309 _pmd = READ_ONCE(*pmd); in userfaultfd_must_wait()
324 pte = pte_offset_map(pmd, address); in userfaultfd_must_wait()