Searched refs:hugepd_shift (Results 1 – 7 of 7) sorted by relevance
83 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function97 unsigned long idx = (addr & ((1UL << pdshift) - 1)) >> hugepd_shift(hpd); in hugepte_offset()
304 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()
417 pdshift = hugepd_shift(*hpdp); in __find_linux_pte()
13 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function
14 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function
75 #define hugepd_shift(x) 0 macro
2031 unsigned long sz = 1UL << hugepd_shift(hugepd); in gup_huge_pd()