Symbol: PGDIR_SHIFT
arch/alpha/include/asm/pgtable.h
38
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/arc/include/asm/pgtable-levels.h
70
#define PGDIR_SIZE BIT(PGDIR_SHIFT)
arch/arc/include/asm/pgtable-levels.h
72
#define PTRS_PER_PGD BIT(32 - PGDIR_SHIFT)
arch/arc/include/asm/pgtable-levels.h
77
#define PTRS_PER_PUD BIT(PGDIR_SHIFT - PUD_SHIFT)
arch/arm/include/asm/pgtable-2level.h
89
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/arm/include/asm/pgtable-3level.h
42
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/arm/include/asm/pgtable-3level.h
43
#define PGDIR_MASK (~((1 << PGDIR_SHIFT) - 1))
arch/arm/include/asm/pgtable-nommu.h
30
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/arm/mm/mmu.c
922
pgd += SUPERSECTION_SIZE >> PGDIR_SHIFT;
arch/arm64/include/asm/pgtable-hwdef.h
291
#define TTBR1_BADDR_4852_OFFSET (((UL(1) << (52 - PGDIR_SHIFT)) - \
arch/arm64/include/asm/pgtable-hwdef.h
292
(UL(1) << (48 - PGDIR_SHIFT))) * 8)
arch/arm64/include/asm/pgtable-hwdef.h
83
#define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
arch/arm64/include/asm/pgtable-hwdef.h
85
#define PTRS_PER_PGD (1 << (VA_BITS - PGDIR_SHIFT))
arch/arm64/include/asm/pgtable.h
1122
VM_BUG_ON(((addr >> PGDIR_SHIFT) ^ ((u64)pgdp >> 3)) % PTRS_PER_PGD);
arch/csky/include/asm/pgtable.h
13
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/hexagon/include/asm/mem-layout.h
54
#define MIN_KERNEL_SEG (PAGE_OFFSET >> PGDIR_SHIFT) /* L1 shift is 22 bits */
arch/hexagon/include/asm/pgtable.h
76
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/loongarch/include/asm/pgtable.h
43
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/loongarch/include/asm/pgtable.h
49
#define VA_BITS (PGDIR_SHIFT + (PAGE_SHIFT - PTRLOG))
arch/loongarch/kernel/asm-offsets.c
208
DEFINE(_PGDIR_SHIFT, PGDIR_SHIFT);
arch/loongarch/mm/tlb.c
213
pgd_i = PGDIR_SHIFT;
arch/m68k/include/asm/mcf_pgalloc.h
95
memset(new_pgd, 0, PAGE_OFFSET >> PGDIR_SHIFT);
arch/m68k/include/asm/pgtable_mm.h
50
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/m68k/include/asm/sun3_pgalloc.h
46
memset(new_pgd, 0, (PAGE_OFFSET >> PGDIR_SHIFT));
arch/m68k/mm/mcfmmu.c
53
pg_dir += PAGE_OFFSET >> PGDIR_SHIFT;
arch/m68k/mm/sun3mmu.c
60
pg_dir += PAGE_OFFSET >> PGDIR_SHIFT;
arch/microblaze/include/asm/pgtable.h
103
#define USER_PGD_PTRS (PAGE_OFFSET >> PGDIR_SHIFT)
arch/microblaze/include/asm/pgtable.h
90
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/microblaze/include/asm/pgtable.h
99
#define PTRS_PER_PGD (1 << (32 - PGDIR_SHIFT))
arch/mips/include/asm/pgtable-32.h
70
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/mips/include/asm/pgtable-64.h
65
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/mips/kernel/asm-offsets.c
216
DEFINE(_PGDIR_SHIFT, PGDIR_SHIFT);
arch/mips/mm/tlbex.c
1076
PGDIR_SHIFT + PGD_TABLE_ORDER + PAGE_SHIFT - 3);
arch/mips/mm/tlbex.c
1120
uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3);
arch/mips/mm/tlbex.c
1132
uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3);
arch/mips/mm/tlbex.c
1440
pgd_i = PGDIR_SHIFT; /* 1st level PGD */
arch/mips/mm/tlbex.c
1442
pgd_w = PGDIR_SHIFT - PMD_SHIFT + PGD_TABLE_ORDER;
arch/mips/mm/tlbex.c
1447
pgd_w = PGDIR_SHIFT - PAGE_SHIFT + PGD_TABLE_ORDER;
arch/mips/mm/tlbex.c
1486
PGDIR_SHIFT + PGD_TABLE_ORDER + PAGE_SHIFT - 3);
arch/mips/mm/tlbex.c
2415
pwfield |= PGDIR_SHIFT << MIPS_PWFIELD_GDI_SHIFT;
arch/mips/mm/tlbex.c
2545
check_for_high_segbits = current_cpu_data.vmbits > (PGDIR_SHIFT + PGD_TABLE_ORDER + PAGE_SHIFT - 3);
arch/mips/mm/tlbex.c
783
uasm_i_dsrl_safe(p, ptr, tmp, PGDIR_SHIFT + PGD_TABLE_ORDER + PAGE_SHIFT - 3);
arch/mips/mm/tlbex.c
825
uasm_i_dsrl_safe(p, tmp, tmp, PGDIR_SHIFT - 3);
arch/mips/mm/tlbex.c
947
uasm_i_srl(p, tmp, tmp, PGDIR_SHIFT); /* get pgd only bits */
arch/nios2/include/asm/pgtable.h
65
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/openrisc/include/asm/pgtable.h
57
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/openrisc/include/asm/pgtable.h
68
#define PTRS_PER_PGD (1UL << (32-PGDIR_SHIFT))
arch/parisc/include/asm/pgtable.h
123
#if (PGDIR_SHIFT + PAGE_SHIFT + PGD_TABLE_ORDER - BITS_PER_PGD_ENTRY) > BITS_PER_LONG
arch/parisc/include/asm/pgtable.h
124
#define BITS_PER_PGD (BITS_PER_LONG - PGDIR_SHIFT)
arch/parisc/include/asm/pgtable.h
128
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/parisc/include/asm/pgtable.h
134
#define MAX_ADDRBITS (PGDIR_SHIFT + BITS_PER_PGD)
arch/parisc/kernel/asm-offsets.c
265
DEFINE(ASM_PGDIR_SHIFT, PGDIR_SHIFT);
arch/parisc/kernel/asm-offsets.c
270
DEFINE(ASM_PGD_ENTRY, PAGE_OFFSET >> PGDIR_SHIFT);
arch/powerpc/include/asm/book3s/32/pgtable.h
100
#define PGD_INDEX_SIZE (32 - PGDIR_SHIFT)
arch/powerpc/include/asm/book3s/32/pgtable.h
130
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/powerpc/include/asm/book3s/64/pgtable.h
219
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/powerpc/include/asm/nohash/32/mmu-44x.h
151
#define PPC44x_PGD_OFF_SHIFT (32 - PGDIR_SHIFT + PGD_T_LOG2)
arch/powerpc/include/asm/nohash/32/mmu-44x.h
152
#define PPC44x_PGD_OFF_MASK_BIT (PGDIR_SHIFT - PGD_T_LOG2)
arch/powerpc/include/asm/nohash/32/mmu-44x.h
153
#define PPC44x_PTE_ADD_SHIFT (32 - PGDIR_SHIFT + PTE_SHIFT + PTE_T_LOG2)
arch/powerpc/include/asm/nohash/32/pgtable.h
17
#define PGD_INDEX_SIZE (32 - PGDIR_SHIFT)
arch/powerpc/include/asm/nohash/32/pgtable.h
46
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/powerpc/include/asm/nohash/64/pgtable-4k.h
41
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/riscv/include/asm/pgtable-32.h
15
#define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
arch/riscv/include/asm/pgtable-64.h
22
#define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
arch/riscv/mm/hugetlbpage.c
223
hugepage_shift = PGDIR_SHIFT;
arch/riscv/mm/init.c
576
BUG_ON((va - kernel_map.virt_addr) >> PGDIR_SHIFT);
arch/riscv/mm/init.c
614
BUG_ON((va - kernel_map.virt_addr) >> PGDIR_SHIFT);
arch/s390/include/asm/pgtable.h
1352
#define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1))
arch/sh/include/asm/pgtable-3level.h
26
#define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE)
arch/sh/include/asm/pgtable.h
56
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/sparc/include/asm/pgtable_32.h
20
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/sparc/include/asm/pgtable_64.h
66
#define PGDIR_SIZE (_AC(1,UL) << PGDIR_SHIFT)
arch/sparc/include/asm/pgtable_64.h
70
#if (MAX_PHYS_ADDRESS_BITS > PGDIR_SHIFT + PGDIR_BITS)
arch/sparc/include/asm/pgtable_64.h
74
#if (PGDIR_SHIFT + PGDIR_BITS) != 53
arch/sparc/include/asm/tsb.h
159
sllx VADDR, 64 - (PGDIR_SHIFT + PGDIR_BITS), REG2; \
arch/sparc/include/asm/tsb.h
272
sllx VADDR, 64 - (PGDIR_SHIFT + PGDIR_BITS), REG2; \
arch/um/include/asm/pgtable-2level.h
16
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/um/include/asm/pgtable-4level.h
15
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/x86/boot/startup/map_kernel.c
158
i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD;
arch/x86/boot/startup/map_kernel.c
166
i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD;
arch/x86/boot/startup/sme.c
417
decrypted_base <<= PGDIR_SHIFT;
arch/x86/include/asm/pgtable-2level_types.h
39
#define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
arch/x86/include/asm/pgtable-3level_types.h
51
#define PGD_KERNEL_START (CONFIG_PAGE_OFFSET >> PGDIR_SHIFT)
arch/x86/include/asm/pgtable_32_types.h
20
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
arch/x86/include/asm/pgtable_64_types.h
100
#define GUARD_HOLE_BASE_ADDR (GUARD_HOLE_PGD_ENTRY << PGDIR_SHIFT)
arch/x86/include/asm/pgtable_64_types.h
104
#define LDT_BASE_ADDR (LDT_PGD_ENTRY << PGDIR_SHIFT)
arch/x86/include/asm/pgtable_64_types.h
86
#define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
arch/x86/include/asm/pgtable_64_types.h
99
#define GUARD_HOLE_SIZE (16UL << PGDIR_SHIFT)
arch/x86/kernel/head32.c
115
*(*pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = pl2;
arch/x86/kernel/head32.c
45
*(pl2p + ((PAGE_OFFSET >> PGDIR_SHIFT))) = (pte_t) {.pte = 0};
arch/xtensa/include/asm/pgtable.h
384
#define _PGD_INDEX(rt,rs) extui rt, rs, PGDIR_SHIFT, 32-PGDIR_SHIFT
arch/xtensa/include/asm/pgtable.h
50
#define PGDIR_SIZE (1UL << PGDIR_SHIFT)
include/asm-generic/pgtable-nop4d.h
11
#define P4D_SHIFT PGDIR_SHIFT
include/linux/hugetlb.h
894
(huge_page_shift(h) == PGDIR_SHIFT))
include/linux/pgtable.h
2278
#define pgd_leaf_size(x) (1ULL << PGDIR_SHIFT)
include/linux/pgtable.h
71
#define pgd_index(a) (((a) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))