Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/include/asm/
Dpgtable-ppc64-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)
64 (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
/linux-3.4.99/arch/x86/mm/
Dinit.c58 puds += (range + PUD_SIZE - 1) >> PUD_SHIFT; in find_early_table_space()
61 extra = range - ((range >> PUD_SHIFT) << PUD_SHIFT); in find_early_table_space()
210 end_pfn = ((pos + (PUD_SIZE - 1))>>PUD_SHIFT) in init_memory_mapping()
211 << (PUD_SHIFT - PAGE_SHIFT); in init_memory_mapping()
224 start_pfn = ((pos + (PUD_SIZE - 1))>>PUD_SHIFT) in init_memory_mapping()
225 << (PUD_SHIFT - PAGE_SHIFT); in init_memory_mapping()
226 end_pfn = (end >> PUD_SHIFT) << (PUD_SHIFT - PAGE_SHIFT); in init_memory_mapping()
Dhugetlbpage.c445 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
/linux-3.4.99/arch/x86/include/asm/
Dpgtable_64_types.h32 #define PUD_SHIFT 30 macro
49 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
Dpage_64_types.h24 #define PUD_PAGE_SIZE (_AC(1, UL) << PUD_SHIFT)
Dpgtable.h563 return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1); in pud_index()
/linux-3.4.99/include/asm-generic/
Dpgtable-nopud.h15 #define PUD_SHIFT PGDIR_SHIFT macro
17 #define PUD_SIZE (1UL << PUD_SHIFT)
Dpgtable-nopmd.h19 #define PMD_SHIFT PUD_SHIFT
/linux-3.4.99/arch/powerpc/mm/
Dhugetlbpage.c85 pdshift = PUD_SHIFT; in find_linux_pte_or_hugepte()
172 #define HUGEPD_PUD_SHIFT PUD_SHIFT
174 #define HUGEPD_PGD_SHIFT PUD_SHIFT
194 pdshift = PUD_SHIFT; in huge_pte_alloc()
535 free_hugepd_range(tlb, (hugepd_t *)pud, PUD_SHIFT, in hugetlb_free_pud_range()
881 else if (shift < PUD_SHIFT) in hugetlbpage_init()
882 pdshift = PUD_SHIFT; in hugetlbpage_init()
Dgup.c96 if (!gup_hugepd((hugepd_t *)pudp, PUD_SHIFT, in gup_pud_range()
Dtlb_low_64e.S137 rldicl r15,r16,64-PUD_SHIFT+3,64-PUD_INDEX_SIZE-3
804 rldicl r11,r16,64-(PUD_SHIFT-3),64-PUD_INDEX_SIZE-3
/linux-3.4.99/arch/ia64/include/asm/
Dpgtable.h112 #define PUD_SHIFT (PMD_SHIFT + (PTRS_PER_PTD_SHIFT)) macro
113 #define PUD_SIZE (1UL << PUD_SHIFT)
124 #define PGDIR_SHIFT (PUD_SHIFT + (PTRS_PER_PTD_SHIFT))
394 ((pud_t *) pgd_page_vaddr(*(dir)) + (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
/linux-3.4.99/arch/x86/kernel/
Dhead_64.S35 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
102 shrq $PUD_SHIFT, %rax
/linux-3.4.99/arch/s390/include/asm/
Dpgtable.h83 # define PUD_SHIFT 20 macro
87 # define PUD_SHIFT 31 macro
93 #define PUD_SIZE (1UL << PUD_SHIFT)
1116 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/linux-3.4.99/arch/tile/include/asm/
Dpgtable_64.h105 return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1); in pud_index()
/linux-3.4.99/arch/frv/include/asm/
Dpgtable.h130 #define PUD_SHIFT 26 macro
132 #define PUD_SIZE (1UL << PUD_SHIFT)
/linux-3.4.99/arch/mips/include/asm/
Dpgtable-32.h120 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
Dpgtable-64.h224 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/linux-3.4.99/arch/tile/mm/
Dhugetlbpage.c332 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
/linux-3.4.99/arch/sh/include/asm/
Dpgtable_64.h58 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
Dpgtable_32.h419 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/linux-3.4.99/arch/score/include/asm/
Dpgtable.h71 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/linux-3.4.99/arch/ia64/kernel/
Divt.S150 shr.u r28=r22,PUD_SHIFT // shift pud index into position
480 shr.u r18=r22,PUD_SHIFT // shift pud index into position