Searched refs:__hugepd (Results 1 – 10 of 10) sorted by relevance
35 *hpdp = __hugepd(__pa(new) | _PMD_USER | _PMD_PRESENT | _PMD_PAGE_8M); in hugepd_populate()40 *hpdp = __hugepd(__pa(new) | _PMD_PRESENT | _PMD_PAGE_8M); in hugepd_populate_kernel()
97 *hpdp = __hugepd(0); in __hugepte_alloc()338 *hpdp = __hugepd(0); in free_hugepd_range()375 if (!is_hugepd(__hugepd(pmd_val(*pmd)))) { in hugetlb_free_pmd_range()424 if (!is_hugepd(__hugepd(pud_val(*pud)))) { in hugetlb_free_pud_range()487 if (!is_hugepd(__hugepd(pgd_val(*pgd)))) { in hugetlb_free_pgd_range()
421 if (is_hugepd(__hugepd(p4d_val(p4d)))) { in __find_linux_pte()443 if (is_hugepd(__hugepd(pud_val(pud)))) { in __find_linux_pte()482 if (is_hugepd(__hugepd(pmd_val(pmd)))) { in __find_linux_pte()
34 *hpdp = __hugepd(((unsigned long)new & ~PD_HUGE) | pshift); in hugepd_populate()
162 if (is_hugepd(__hugepd(pmd_val(*pmd)))) in walk_pmd_range()218 if (is_hugepd(__hugepd(pud_val(*pud)))) in walk_pud_range()253 if (is_hugepd(__hugepd(p4d_val(*p4d)))) in walk_p4d_range()290 if (is_hugepd(__hugepd(pgd_val(*pgd)))) in walk_pgd_range()
3005 } else if (unlikely(is_hugepd(__hugepd(pmd_val(pmd))))) { in gup_pmd_range()3010 if (!gup_huge_pd(__hugepd(pmd_val(pmd)), addr, in gup_pmd_range()3037 } else if (unlikely(is_hugepd(__hugepd(pud_val(pud))))) { in gup_pud_range()3038 if (!gup_huge_pd(__hugepd(pud_val(pud)), addr, in gup_pud_range()3062 if (unlikely(is_hugepd(__hugepd(p4d_val(p4d))))) { in gup_p4d_range()3063 if (!gup_huge_pd(__hugepd(p4d_val(p4d)), addr, in gup_p4d_range()3090 } else if (unlikely(is_hugepd(__hugepd(pgd_val(pgd))))) { in gup_pgd_range()3091 if (!gup_huge_pd(__hugepd(pgd_val(pgd)), addr, in gup_pgd_range()
88 #define __hugepd(x) ((hugepd_t) { (x) }) macro
106 #define __hugepd(x) ((hugepd_t) { cpu_to_be64(x) }) macro
103 *hpdp = __hugepd(__pa(new) | HUGEPD_VAL_BITS | (shift_to_mmu_psize(pshift) << 2)); in hugepd_populate()
26 #define __hugepd(x) ((hugepd_t) { (x) }) macro