Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h83 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function
97 unsigned long idx = (addr & ((1UL << pdshift) - 1)) >> hugepd_shift(hpd); in hugepte_offset()
/Linux-v5.4/arch/powerpc/mm/
Dhugetlbpage.c304 unsigned int shift = hugepd_shift(*hpdp); in free_hugepd_range()
362 more = addr + (1 << hugepd_shift(*(hugepd_t *)pmd)); in hugetlb_free_pmd_range()
412 more = addr + (1 << hugepd_shift(*(hugepd_t *)pud)); in hugetlb_free_pud_range()
480 more = addr + (1 << hugepd_shift(*(hugepd_t *)pgd)); in hugetlb_free_pgd_range()
498 int shift = hugepd_shift(hpd); in follow_huge_pd()
Dpgtable.c417 pdshift = hugepd_shift(*hpdp); in __find_linux_pte()
/Linux-v5.4/arch/powerpc/include/asm/nohash/
Dhugetlb-book3e.h13 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function
/Linux-v5.4/arch/powerpc/include/asm/nohash/32/
Dhugetlb-8xx.h14 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function
/Linux-v5.4/arch/powerpc/include/asm/
Dhugetlb.h75 #define hugepd_shift(x) 0 macro
/Linux-v5.4/mm/
Dgup.c2031 unsigned long sz = 1UL << hugepd_shift(hugepd); in gup_huge_pd()