Lines Matching refs:pud
4389 pte_t *huge_pmd_share(struct mm_struct *mm, unsigned long addr, pud_t *pud) in huge_pmd_share() argument
4402 return (pte_t *)pmd_alloc(mm, pud, addr); in huge_pmd_share()
4424 if (pud_none(*pud)) { in huge_pmd_share()
4425 pud_populate(mm, pud, in huge_pmd_share()
4433 pte = (pte_t *)pmd_alloc(mm, pud, addr); in huge_pmd_share()
4453 pud_t *pud = pud_offset(pgd, *addr); in huge_pmd_unshare() local
4459 pud_clear(pud); in huge_pmd_unshare()
4467 pte_t *huge_pmd_share(struct mm_struct *mm, unsigned long addr, pud_t *pud) in huge_pmd_share() argument
4489 pud_t *pud; in huge_pte_alloc() local
4493 pud = pud_alloc(mm, pgd, addr); in huge_pte_alloc()
4494 if (pud) { in huge_pte_alloc()
4496 pte = (pte_t *)pud; in huge_pte_alloc()
4499 if (want_pmd_share() && pud_none(*pud)) in huge_pte_alloc()
4500 pte = huge_pmd_share(mm, addr, pud); in huge_pte_alloc()
4502 pte = (pte_t *)pmd_alloc(mm, pud, addr); in huge_pte_alloc()
4513 pud_t *pud; in huge_pte_offset() local
4518 pud = pud_offset(pgd, addr); in huge_pte_offset()
4519 if (pud_present(*pud)) { in huge_pte_offset()
4520 if (pud_huge(*pud)) in huge_pte_offset()
4521 return (pte_t *)pud; in huge_pte_offset()
4522 pmd = pmd_offset(pud, addr); in huge_pte_offset()
4580 pud_t *pud, int flags) in follow_huge_pud() argument
4585 return pte_page(*(pte_t *)pud) + ((address & ~PUD_MASK) >> PAGE_SHIFT); in follow_huge_pud()