Home
last modified time | relevance | path

Searched refs:PUD_SHIFT (Results 1 – 13 of 13) sorted by relevance

/arch/powerpc/include/asm/
Dpgtable-4k.h34 #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) macro
35 #define PUD_SIZE (1UL << PUD_SHIFT)
39 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE)
110 (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
/arch/x86/include/asm/
Dpgtable_64.h40 #define PUD_SHIFT 30 macro
143 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
199 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
Dpage_64.h26 #define PUD_PAGE_SIZE (_AC(1, UL) << PUD_SHIFT)
/arch/x86/mm/
Dinit_64.c555 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()
Dhugetlbpage.c435 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
Dinit_32.c828 puds = (end + PUD_SIZE - 1) >> PUD_SHIFT; in find_early_table_space()
/arch/ia64/include/asm/
Dpgtable.h113 #define PUD_SHIFT (PMD_SHIFT + (PTRS_PER_PTD_SHIFT)) macro
114 #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)))
/arch/powerpc/mm/
Dhugetlbpage.c133 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()
/arch/s390/include/asm/
Dpgtable.h63 # define PUD_SHIFT 20 macro
67 # define PUD_SHIFT 31 macro
73 #define PUD_SIZE (1UL << PUD_SHIFT)
994 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/x86/kernel/
Dhead_64.S35 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
102 shrq $PUD_SHIFT, %rax
/arch/mips/include/asm/
Dpgtable-32.h136 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
Dpgtable-64.h181 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/ia64/kernel/
Divt.S152 shr.u r28=r22,PUD_SHIFT // shift pud index into position
482 shr.u r18=r22,PUD_SHIFT // shift pud index into position