Home
last modified time | relevance | path

Searched refs:hpdp (Results 1 – 5 of 5) sorted by relevance

/arch/powerpc/mm/
Dhugetlbpage.c44 static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp, in __hugepte_alloc() argument
88 for (i = 0; i < num_hugepd; i++, hpdp++) { in __hugepte_alloc()
89 if (unlikely(!hugepd_none(*hpdp))) in __hugepte_alloc()
91 hugepd_populate(hpdp, new, pshift); in __hugepte_alloc()
95 for (i = i - 1 ; i >= 0; i--, hpdp--) in __hugepte_alloc()
96 *hpdp = __hugepd(0); in __hugepte_alloc()
116 hugepd_t *hpdp = NULL; in huge_pte_alloc() local
134 hpdp = (hugepd_t *)p4; in huge_pte_alloc()
144 hpdp = (hugepd_t *)pu; in huge_pte_alloc()
155 hpdp = (hugepd_t *)pm; in huge_pte_alloc()
[all …]
Dpgtable.c354 hugepd_t *hpdp = NULL; in __find_linux_pte() local
384 hpdp = (hugepd_t *)&p4d; in __find_linux_pte()
406 hpdp = (hugepd_t *)&pud; in __find_linux_pte()
445 hpdp = (hugepd_t *)&pmd; in __find_linux_pte()
452 if (!hpdp) in __find_linux_pte()
455 ret_pte = hugepte_offset(*hpdp, ea, pdshift); in __find_linux_pte()
456 pdshift = hugepd_shift(*hpdp); in __find_linux_pte()
/arch/powerpc/include/asm/nohash/32/
Dhugetlb-8xx.h33 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate() argument
35 *hpdp = __hugepd(__pa(new) | _PMD_USER | _PMD_PRESENT | _PMD_PAGE_8M); in hugepd_populate()
38 static inline void hugepd_populate_kernel(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate_kernel() argument
40 *hpdp = __hugepd(__pa(new) | _PMD_PRESENT | _PMD_PAGE_8M); in hugepd_populate_kernel()
/arch/powerpc/include/asm/nohash/
Dhugetlb-book3e.h31 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate() argument
34 *hpdp = __hugepd(((unsigned long)new & ~PD_HUGE) | pshift); in hugepd_populate()
/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h102 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate() argument
104 *hpdp = __hugepd(__pa(new) | HUGEPD_VAL_BITS | (shift_to_mmu_psize(pshift) << 2)); in hugepd_populate()