Searched refs:hugepd_shift (Results 1 – 2 of 2) sorted by relevance
30 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function43 static inline unsigned int hugepd_shift(hugepd_t hpd) in hugepd_shift() function63 idx = (addr & ((1UL << pdshift) - 1)) >> hugepd_shift(hpd); in hugepte_offset()181 #define hugepd_shift(x) 0 macro
525 num_hugepd = (1 << (hugepd_shift(*hpdp) - pdshift)); in free_hugepd_range()527 unsigned int shift = hugepd_shift(*hpdp); in free_hugepd_range()578 next = addr + (1 << hugepd_shift(*(hugepd_t *)pmd)); in hugetlb_free_pmd_range()626 next = addr + (1 << hugepd_shift(*(hugepd_t *)pud)); in hugetlb_free_pud_range()691 next = addr + (1 << hugepd_shift(*(hugepd_t *)pgd)); in hugetlb_free_pgd_range()766 unsigned long sz = 1UL << hugepd_shift(hugepd); in gup_huge_pd()1061 pdshift = hugepd_shift(*hpdp); in __find_linux_pte_or_hugepte()