Home
last modified time | relevance | path

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

/fs/proc/
Dtask_mmu.c606 static void smaps_pmd_entry(pmd_t *pmd, unsigned long addr, in smaps_pmd_entry() argument
615 if (pmd_present(*pmd)) { in smaps_pmd_entry()
617 page = follow_trans_huge_pmd(vma, addr, pmd, FOLL_DUMP); in smaps_pmd_entry()
618 } else if (unlikely(thp_migration_supported() && is_swap_pmd(*pmd))) { in smaps_pmd_entry()
619 swp_entry_t entry = pmd_to_swp_entry(*pmd); in smaps_pmd_entry()
637 smaps_account(mss, page, true, pmd_young(*pmd), pmd_dirty(*pmd), in smaps_pmd_entry()
641 static void smaps_pmd_entry(pmd_t *pmd, unsigned long addr, in smaps_pmd_entry() argument
647 static int smaps_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, in smaps_pte_range() argument
654 ptl = pmd_trans_huge_lock(pmd, vma); in smaps_pte_range()
656 smaps_pmd_entry(pmd, addr, walk); in smaps_pte_range()
[all …]
/fs/
Ddax.c842 pmd_t pmd; in dax_entry_mkclean() local
851 pmd = pmdp_invalidate(vma, address, pmdp); in dax_entry_mkclean()
852 pmd = pmd_wrprotect(pmd); in dax_entry_mkclean()
853 pmd = pmd_mkclean(pmd); in dax_entry_mkclean()
854 set_pmd_at(vma->vm_mm, address, pmdp, pmd); in dax_entry_mkclean()
1305 if (pmd_trans_huge(*vmf->pmd) || pmd_devmap(*vmf->pmd)) { in dax_iomap_pte_fault()
1458 ptl = pmd_lock(vmf->vma->vm_mm, vmf->pmd); in dax_pmd_load_hole()
1459 if (!pmd_none(*(vmf->pmd))) { in dax_pmd_load_hole()
1465 pgtable_trans_huge_deposit(vma->vm_mm, vmf->pmd, pgtable); in dax_pmd_load_hole()
1470 set_pmd_at(vmf->vma->vm_mm, pmd_addr, vmf->pmd, pmd_entry); in dax_pmd_load_hole()
[all …]
Duserfaultfd.c292 pmd_t *pmd, _pmd; in userfaultfd_must_wait() local
307 pmd = pmd_offset(pud, address); in userfaultfd_must_wait()
316 _pmd = READ_ONCE(*pmd); in userfaultfd_must_wait()
334 pte = pte_offset_map(pmd, address); in userfaultfd_must_wait()