Home
last modified time | relevance | path

Searched refs:PGDIR_SHIFT (Results 1 – 25 of 46) sorted by relevance

12

/linux/arch/arc/include/asm/
H A Dpgtable-levels.h34 #define PGDIR_SHIFT 24 macro
36 #define PGDIR_SHIFT 21 macro
45 #define PGDIR_SHIFT 22 macro
47 #define PGDIR_SHIFT 21 macro
60 #define PGDIR_SHIFT 28 macro
70 #define PGDIR_SIZE BIT(PGDIR_SHIFT)
72 #define PTRS_PER_PGD BIT(32 - PGDIR_SHIFT)
77 #define PTRS_PER_PUD BIT(PGDIR_SHIFT - PUD_SHIFT)
/linux/arch/m68k/include/asm/
H A Dpgtable_mm.h44 #define PGDIR_SHIFT 17 macro
46 #define PGDIR_SHIFT 22 macro
48 #define PGDIR_SHIFT 25 macro
50 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
H A Dsun3_pgalloc.h49 memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT)); in pgd_alloc()
/linux/arch/powerpc/include/asm/nohash/32/
H A Dmmu-44x.h151 #define PPC44x_PGD_OFF_SHIFT (32 - PGDIR_SHIFT + PGD_T_LOG2)
152 #define PPC44x_PGD_OFF_MASK_BIT (PGDIR_SHIFT - PGD_T_LOG2)
153 #define PPC44x_PTE_ADD_SHIFT (32 - PGDIR_SHIFT + PTE_SHIFT + PTE_T_LOG2)
H A Dpgtable.h17 #define PGD_INDEX_SIZE (32 - PGDIR_SHIFT)
45 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) macro
46 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux/arch/x86/include/asm/
H A Dpgtable-2level_types.h29 #define PGDIR_SHIFT 22 macro
41 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
H A Dpgtable-3level_types.h37 #define PGDIR_SHIFT 30 macro
53 #define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
H A Dpgtable_32_types.h20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux/arch/riscv/include/asm/
H A Dpgtable-32.h14 #define PGDIR_SHIFT 22 macro
15 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
/linux/arch/xtensa/include/asm/
H A Dpgtable.h49 #define PGDIR_SHIFT 22 macro
50 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
61 #define FIRST_USER_PGD_NR (FIRST_USER_ADDRESS >> PGDIR_SHIFT)
391 #define _PGD_INDEX(rt,rs) extui rt, rs, PGDIR_SHIFT, 32-PGDIR_SHIFT
/linux/arch/arm/include/asm/
H A Dpgtable-nommu.h28 #define PGDIR_SHIFT 21 macro
30 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux/arch/um/include/asm/
H A Dpgtable-2level.h15 #define PGDIR_SHIFT 22 macro
16 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
H A Dpgtable-4level.h14 #define PGDIR_SHIFT 39 macro
15 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux/arch/sh/include/asm/
H A Dpgtable-3level.h16 #define PGDIR_SHIFT 30 macro
26 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE)
H A Dpgtable-2level.h19 #define PGDIR_SHIFT (PTE_SHIFT + PTE_BITS) macro
/linux/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h40 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE) macro
41 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux/arch/microblaze/include/asm/
H A Dpgtable.h89 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_SHIFT) macro
90 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
99 #define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT))
104 #define USER_PGD_PTRS (PAGE_OFFSET >> PGDIR_SHIFT)
/linux/arch/x86/kernel/
H A Dhead32.c45 *(pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = (pte_t) {.pte = 0}; in zap_early_initrd_mapping()
115 *(*pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = pl2; in init_map()
/linux/arch/openrisc/include/asm/
H A Dpgtable.h56 #define PGDIR_SHIFT (PAGE_SHIFT + (PAGE_SHIFT-2)) macro
57 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
68 #define PTRS_PER_PGD (1UL << (32-PGDIR_SHIFT))
/linux/arch/hexagon/include/asm/
H A Dpgtable.h73 #define PGDIR_SHIFT 22 macro
76 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
H A Dmem-layout.h54 #define MIN_KERNEL_SEG (PAGE_OFFSET >> PGDIR_SHIFT) /* L1 shift is 22 bits */
/linux/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h100 #define PGD_INDEX_SIZE (32 - PGDIR_SHIFT)
129 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) macro
130 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux/arch/nios2/include/asm/
H A Dpgtable.h64 #define PGDIR_SHIFT 22 macro
65 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux/arch/csky/include/asm/
H A Dpgtable.h12 #define PGDIR_SHIFT 22 macro
13 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux/include/asm-generic/
H A Dpgtable-nop4d.h11 #define P4D_SHIFT PGDIR_SHIFT

12