Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/mm/
Dhugetlbpage.c45 static int __hugepte_alloc(struct mm_struct *mm, hugepd_t *hpdp, in __hugepte_alloc() argument
89 for (i = 0; i < num_hugepd; i++, hpdp++) { in __hugepte_alloc()
90 if (unlikely(!hugepd_none(*hpdp))) in __hugepte_alloc()
92 hugepd_populate(hpdp, new, pshift); in __hugepte_alloc()
96 for (i = i - 1 ; i >= 0; i--, hpdp--) in __hugepte_alloc()
97 *hpdp = __hugepd(0); in __hugepte_alloc()
117 hugepd_t *hpdp = NULL; in huge_pte_alloc() local
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()
[all …]
Dpgtable.c366 hugepd_t *hpdp = NULL; in __find_linux_pte() local
396 hpdp = (hugepd_t *)&p4d; in __find_linux_pte()
418 hpdp = (hugepd_t *)&pud; in __find_linux_pte()
457 hpdp = (hugepd_t *)&pmd; in __find_linux_pte()
464 if (!hpdp) in __find_linux_pte()
467 ret_pte = hugepte_offset(*hpdp, ea, pdshift); in __find_linux_pte()
468 pdshift = hugepd_shift(*hpdp); in __find_linux_pte()
/Linux-v6.1/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()
/Linux-v6.1/arch/powerpc/include/asm/nohash/
Dhugetlb-e500.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()
/Linux-v6.1/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h101 static inline void hugepd_populate(hugepd_t *hpdp, pte_t *new, unsigned int pshift) in hugepd_populate() argument
103 *hpdp = __hugepd(__pa(new) | HUGEPD_VAL_BITS | (shift_to_mmu_psize(pshift) << 2)); in hugepd_populate()