Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/powerpc/include/asm/nohash/64/
Dpgtable-4k.h35 #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) macro
36 #define PUD_SIZE (1UL << PUD_SHIFT)
40 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE)
83 (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
/Linux-v4.19/arch/arm64/include/asm/
Dkernel-pgtable.h85 #define EARLY_PUDS(vstart, vend) (EARLY_ENTRIES(vstart, vend, PUD_SHIFT))
113 #define SWAPPER_TABLE_SHIFT PUD_SHIFT
143 #define ARM64_MEMSTART_SHIFT PUD_SHIFT
Dpgtable-hwdef.h70 #define PUD_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(1) macro
71 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
Dmemory.h166 #define IOREMAP_MAX_ORDER (PUD_SHIFT)
/Linux-v4.19/arch/powerpc/mm/
Dhugetlbpage.c141 else if (pshift > PUD_SHIFT) { in huge_pte_alloc()
148 pdshift = PUD_SHIFT; in huge_pte_alloc()
150 if (pshift == PUD_SHIFT) in huge_pte_alloc()
172 pdshift = PUD_SHIFT; in huge_pte_alloc()
174 if (pshift >= PUD_SHIFT) { in huge_pte_alloc()
417 free_hugepd_range(tlb, (hugepd_t *)pud, PUD_SHIFT, in hugetlb_free_pud_range()
679 else if (shift > PUD_SHIFT) in hugetlbpage_init()
682 pdshift = PUD_SHIFT; in hugetlbpage_init()
686 if (shift < PUD_SHIFT) in hugetlbpage_init()
689 pdshift = PUD_SHIFT; in hugetlbpage_init()
[all …]
Dtlb_low_64e.S164 rldicl r15,r16,64-PUD_SHIFT+3,64-PUD_INDEX_SIZE-3
409 rldicl r15,r16,64-PUD_SHIFT+3,64-PUD_INDEX_SIZE-3
1104 rldicl r11,r16,64-(PUD_SHIFT-3),64-PUD_INDEX_SIZE-3
/Linux-v4.19/arch/mips/include/asm/
Dpgtable-64.h58 #define PUD_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_ORDER - 3)) macro
59 #define PUD_SIZE (1UL << PUD_SHIFT)
61 #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT + PUD_ORDER - 3))
212 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
313 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
Dpgtable-32.h155 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/Linux-v4.19/include/asm-generic/
Dpgtable-nop4d-hack.h17 #define PUD_SHIFT PGDIR_SHIFT macro
19 #define PUD_SIZE (1UL << PUD_SHIFT)
Dpgtable-nopud.h21 #define PUD_SHIFT P4D_SHIFT macro
23 #define PUD_SIZE (1UL << PUD_SHIFT)
D4level-fixup.h8 #define PUD_SHIFT PGDIR_SHIFT macro
Dpgtable-nopmd.h20 #define PMD_SHIFT PUD_SHIFT
/Linux-v4.19/arch/x86/include/asm/
Dpage_types.h17 #define PUD_PAGE_SIZE (_AC(1, UL) << PUD_SHIFT)
49 #define IOREMAP_MAX_ORDER (PUD_SHIFT)
Dpgtable_64_types.h83 #define PUD_SHIFT 30 macro
100 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
/Linux-v4.19/arch/x86/mm/
Dhugetlbpage.c195 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
210 if (boot_cpu_has(X86_FEATURE_GBPAGES) && !size_to_hstate(1UL << PUD_SHIFT)) in gigantic_pages_init()
211 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in gigantic_pages_init()
/Linux-v4.19/arch/ia64/include/asm/
Dpgtable.h110 #define PUD_SHIFT (PMD_SHIFT + (PTRS_PER_PTD_SHIFT)) macro
111 #define PUD_SIZE (1UL << PUD_SHIFT)
122 #define PGDIR_SHIFT (PUD_SHIFT + (PTRS_PER_PTD_SHIFT))
391 ((pud_t *) pgd_page_vaddr(*(dir)) + (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
/Linux-v4.19/arch/sparc/include/asm/
Dpgtable_64.h59 #define PUD_SHIFT (PMD_SHIFT + PMD_BITS) macro
60 #define PUD_SIZE (_AC(1,UL) << PUD_SHIFT)
65 #define PGDIR_SHIFT (PUD_SHIFT + PUD_BITS)
925 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
Dtsb.h164 sllx VADDR, 64 - (PUD_SHIFT + PUD_BITS), REG2; \
277 sllx VADDR, 64 - (PUD_SHIFT + PUD_BITS), REG2; \
/Linux-v4.19/arch/powerpc/include/asm/book3s/64/
Dpgtable.h276 #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) macro
277 #define PUD_SIZE (1UL << PUD_SHIFT)
281 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE)
989 #define pud_index(address) (((address) >> (PUD_SHIFT)) & (PTRS_PER_PUD - 1))
/Linux-v4.19/arch/sparc/mm/
Dhugetlbpage.c331 shift = PUD_SHIFT; in set_huge_pte_at()
368 shift = PUD_SHIFT; in huge_ptep_get_and_clear()
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c413 0, pte_val(pte), hgpa, PUD_SHIFT); in kvmppc_create_pte()
426 kvmppc_unmap_pte(kvm, (pte_t *)pud, hgpa, PUD_SHIFT); in kvmppc_create_pte()
663 if (shift == PUD_SHIFT && in kvmppc_book3s_radix_page_fault()
/Linux-v4.19/arch/s390/mm/
Dhugetlbpage.c260 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
/Linux-v4.19/arch/sh/include/asm/
Dpgtable_64.h58 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/Linux-v4.19/arch/x86/kernel/
Dhead_64.S44 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
Dhead64.c202 i = (physaddr >> PUD_SHIFT) % PTRS_PER_PUD; in __startup_64()

12