Lines Matching refs:hugepd_t
98 int hugepd_ok(hugepd_t hpd) in hugepd_ok()
134 static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp, in __hugepte_alloc()
215 hugepd_t *hpdp = NULL; in huge_pte_alloc()
229 hpdp = (hugepd_t *)pg; in huge_pte_alloc()
236 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
244 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
265 hugepd_t *hpdp = NULL; in huge_pte_alloc()
274 hpdp = (hugepd_t *)pg; in huge_pte_alloc()
279 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
283 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
513 static void free_hugepd_range(struct mmu_gather *tlb, hugepd_t *hpdp, int pdshift, in free_hugepd_range()
578 next = addr + (1 << hugepd_shift(*(hugepd_t *)pmd)); in hugetlb_free_pmd_range()
580 free_hugepd_range(tlb, (hugepd_t *)pmd, PMD_SHIFT, in hugetlb_free_pmd_range()
626 next = addr + (1 << hugepd_shift(*(hugepd_t *)pud)); in hugetlb_free_pud_range()
628 free_hugepd_range(tlb, (hugepd_t *)pud, PUD_SHIFT, in hugetlb_free_pud_range()
691 next = addr + (1 << hugepd_shift(*(hugepd_t *)pgd)); in hugetlb_free_pgd_range()
693 free_hugepd_range(tlb, (hugepd_t *)pgd, PGDIR_SHIFT, in hugetlb_free_pgd_range()
762 int gup_huge_pd(hugepd_t hugepd, unsigned long addr, unsigned pdshift, in gup_huge_pd()
985 hugepd_t *hpdp = NULL; in __find_linux_pte_or_hugepte()
1008 hpdp = (hugepd_t *)&pgd; in __find_linux_pte_or_hugepte()
1025 hpdp = (hugepd_t *)&pud; in __find_linux_pte_or_hugepte()
1052 hpdp = (hugepd_t *)&pmd; in __find_linux_pte_or_hugepte()