Lines Matching refs:pmd
4749 pmd_t *pmd; in huge_pte_offset() local
4765 pmd = pmd_offset(pud, addr); in huge_pte_offset()
4766 if (sz != PMD_SIZE && pmd_none(*pmd)) in huge_pte_offset()
4769 if (pmd_huge(*pmd) || !pmd_present(*pmd)) in huge_pte_offset()
4770 return (pte_t *)pmd; in huge_pte_offset()
4798 pmd_t *pmd, int flags) in follow_huge_pmd() argument
4804 ptl = pmd_lockptr(mm, pmd); in follow_huge_pmd()
4810 if (!pmd_huge(*pmd)) in follow_huge_pmd()
4812 pte = huge_ptep_get((pte_t *)pmd); in follow_huge_pmd()
4814 page = pmd_page(*pmd) + ((address & ~PMD_MASK) >> PAGE_SHIFT); in follow_huge_pmd()
4820 __migration_entry_wait(mm, (pte_t *)pmd, ptl); in follow_huge_pmd()