Home
last modified time | relevance | path

Searched refs:hugepd_shift (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/arch/powerpc/include/asm/book3s/64/
H A Dhugetlb.h82 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function
96 unsigned long idx = (addr & ((1UL << pdshift) - 1)) >> hugepd_shift(hpd); in hugepte_offset()
/openbmc/linux/arch/powerpc/mm/
H A Dhugetlbpage.c328 unsigned int shift = hugepd_shift(*hpdp); in free_hugepd_range()
395 more = addr + (1UL << hugepd_shift(*(hugepd_t *)pmd)); in hugetlb_free_pmd_range()
437 more = addr + (1UL << hugepd_shift(*(hugepd_t *)pud)); in hugetlb_free_pud_range()
499 more = addr + (1UL << hugepd_shift(*(hugepd_t *)pgd)); in hugetlb_free_pgd_range()
H A Dpgtable.c494 pdshift = hugepd_shift(*hpdp); in __find_linux_pte()
/openbmc/linux/arch/powerpc/include/asm/nohash/
H A Dhugetlb-e500.h13 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function
/openbmc/linux/arch/powerpc/include/asm/
H A Dhugetlb.h79 #define hugepd_shift(x) 0 macro
/openbmc/linux/arch/powerpc/include/asm/nohash/32/
H A Dhugetlb-8xx.h14 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function
/openbmc/linux/mm/
H A Dpagewalk.c82 int shift = hugepd_shift(*phpd); in walk_hugepd_range()
H A Dgup.c2847 unsigned long sz = 1UL << hugepd_shift(hugepd); in gup_huge_pd()