Lines Matching refs:hugepd_t
52 static inline pte_t *hugepd_page(hugepd_t hpd)
58 static inline unsigned int hugepd_shift(hugepd_t hpd)
63 static inline pte_t *hugepte_offset(hugepd_t *hpdp, unsigned long addr, unsigned pdshift)
76 hugepd_t *hpdp = NULL;
84 hpdp = (hugepd_t *)pg;
89 hpdp = (hugepd_t *)pu;
94 hpdp = (hugepd_t *)pm;
114 static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp,
140 hugepd_t *hpdp = NULL;
148 hpdp = (hugepd_t *)pg;
153 hpdp = (hugepd_t *)pu;
157 hpdp = (hugepd_t *)pm;
208 static void free_hugepd_range(struct mmu_gather *tlb, hugepd_t *hpdp, int pdshift,
246 free_hugepd_range(tlb, (hugepd_t *)pmd, PMD_SHIFT,
284 free_hugepd_range(tlb, (hugepd_t *)pud, PUD_SHIFT,
342 free_hugepd_range(tlb, (hugepd_t *)pgd, PGDIR_SHIFT,
447 int gup_hugepd(hugepd_t *hugepd, unsigned pdshift,