Searched refs:PUD_SHIFT (Results 1 – 13 of 13) sorted by relevance
34 #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) macro35 #define PUD_SIZE (1UL << PUD_SHIFT)39 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE)110 (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
40 #define PUD_SHIFT 30 macro143 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)199 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
26 #define PUD_PAGE_SIZE (_AC(1, UL) << PUD_SHIFT)
555 puds = (end + PUD_SIZE - 1) >> PUD_SHIFT; in find_early_table_space()559 extra = end - ((end>>PUD_SHIFT) << PUD_SHIFT); in find_early_table_space()727 end_pfn = ((pos + (PUD_SIZE - 1))>>PUD_SHIFT) in init_memory_mapping()728 << (PUD_SHIFT - PAGE_SHIFT); in init_memory_mapping()738 start_pfn = ((pos + (PUD_SIZE - 1))>>PUD_SHIFT) in init_memory_mapping()739 << (PUD_SHIFT - PAGE_SHIFT); in init_memory_mapping()740 end_pfn = (end >> PUD_SHIFT) << (PUD_SHIFT - PAGE_SHIFT); in init_memory_mapping()
435 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
828 puds = (end + PUD_SIZE - 1) >> PUD_SHIFT; in find_early_table_space()
113 #define PUD_SHIFT (PMD_SHIFT + (PTRS_PER_PTD_SHIFT)) macro114 #define PUD_SIZE (1UL << PUD_SHIFT)125 #define PGDIR_SHIFT (PUD_SHIFT + (PTRS_PER_PTD_SHIFT))395 ((pud_t *) pgd_page_vaddr(*(dir)) + (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
133 if (huge_page_shift(hstate) < PUD_SHIFT) in hpud_offset()141 if (huge_page_shift(hstate) < PUD_SHIFT) in hpud_alloc()425 if (mmu_psize_to_shift(psize) < PUD_SHIFT) { in hugetlb_free_pgd_range()718 hugepte_shift[psize] = PUD_SHIFT; in set_huge_psize()
63 # define PUD_SHIFT 20 macro67 # define PUD_SHIFT 31 macro73 #define PUD_SIZE (1UL << PUD_SHIFT)994 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
35 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1))102 shrq $PUD_SHIFT, %rax
136 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
181 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
152 shr.u r28=r22,PUD_SHIFT // shift pud index into position482 shr.u r18=r22,PUD_SHIFT // shift pud index into position