Lines Matching refs:hugepd_t
115 static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp, in __hugepte_alloc()
196 hugepd_t *hpdp = NULL; in huge_pte_alloc()
210 hpdp = (hugepd_t *)pg; in huge_pte_alloc()
217 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
225 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
246 hugepd_t *hpdp = NULL; in huge_pte_alloc()
255 hpdp = (hugepd_t *)pg; in huge_pte_alloc()
260 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
264 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
499 static void free_hugepd_range(struct mmu_gather *tlb, hugepd_t *hpdp, int pdshift, in free_hugepd_range()
564 next = addr + (1 << hugepd_shift(*(hugepd_t *)pmd)); in hugetlb_free_pmd_range()
566 free_hugepd_range(tlb, (hugepd_t *)pmd, PMD_SHIFT, in hugetlb_free_pmd_range()
612 next = addr + (1 << hugepd_shift(*(hugepd_t *)pud)); in hugetlb_free_pud_range()
614 free_hugepd_range(tlb, (hugepd_t *)pud, PUD_SHIFT, in hugetlb_free_pud_range()
677 next = addr + (1 << hugepd_shift(*(hugepd_t *)pgd)); in hugetlb_free_pgd_range()
679 free_hugepd_range(tlb, (hugepd_t *)pgd, PGDIR_SHIFT, in hugetlb_free_pgd_range()
747 int gup_huge_pd(hugepd_t hugepd, unsigned long addr, unsigned pdshift, in gup_huge_pd()
978 hugepd_t *hpdp = NULL; in __find_linux_pte_or_hugepte()
998 hpdp = (hugepd_t *)&pgd; in __find_linux_pte_or_hugepte()
1015 hpdp = (hugepd_t *)&pud; in __find_linux_pte_or_hugepte()
1035 hpdp = (hugepd_t *)&pmd; in __find_linux_pte_or_hugepte()