Lines Matching refs:hugepd_t
45 static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp, in __hugepte_alloc()
117 hugepd_t *hpdp = NULL; in huge_pte_alloc()
135 hpdp = (hugepd_t *)p4; in huge_pte_alloc()
145 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
156 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
163 hpdp = (hugepd_t *)p4; in huge_pte_alloc()
171 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
178 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
319 static void free_hugepd_range(struct mmu_gather *tlb, hugepd_t *hpdp, int pdshift, in free_hugepd_range()
395 more = addr + (1UL << hugepd_shift(*(hugepd_t *)pmd)); in hugetlb_free_pmd_range()
399 free_hugepd_range(tlb, (hugepd_t *)pmd, PMD_SHIFT, in hugetlb_free_pmd_range()
437 more = addr + (1UL << hugepd_shift(*(hugepd_t *)pud)); in hugetlb_free_pud_range()
441 free_hugepd_range(tlb, (hugepd_t *)pud, PUD_SHIFT, in hugetlb_free_pud_range()
499 more = addr + (1UL << hugepd_shift(*(hugepd_t *)pgd)); in hugetlb_free_pgd_range()
503 free_hugepd_range(tlb, (hugepd_t *)p4d, PGDIR_SHIFT, in hugetlb_free_pgd_range()