/linux-master/arch/m68k/include/asm/ |
H A D | mcf_pgalloc.h | 90 memset(new_pgd, 0, PAGE_OFFSET >> PGDIR_SHIFT);
|
/linux-master/arch/microblaze/include/asm/ |
H A D | pgtable.h | 88 /* PGDIR_SHIFT determines what a top-level page table entry can map */ 89 #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-master/arch/arm/include/asm/ |
H A D | pgtable-3level.h | 31 * PGDIR_SHIFT determines the size a top-level page table entry can map. 33 #define PGDIR_SHIFT 30 macro 42 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 43 #define PGDIR_MASK (~((1 << PGDIR_SHIFT) - 1))
|
/linux-master/arch/mips/include/asm/ |
H A D | pgtable-32.h | 63 /* PGDIR_SHIFT determines what a third-level page table entry can map */ 65 # define PGDIR_SHIFT (2 * PAGE_SHIFT - PTE_T_LOG2 - 1) macro 67 # define PGDIR_SHIFT (2 * PAGE_SHIFT - PTE_T_LOG2) macro 70 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/arch/parisc/include/asm/ |
H A D | pgtable.h | 122 #define PGDIR_SHIFT (PLD_SHIFT + BITS_PER_PTE + BITS_PER_PMD) macro 123 #if (PGDIR_SHIFT + PAGE_SHIFT + PGD_TABLE_ORDER - BITS_PER_PGD_ENTRY) > BITS_PER_LONG 124 #define BITS_PER_PGD (BITS_PER_LONG - PGDIR_SHIFT) 128 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 134 #define MAX_ADDRBITS (PGDIR_SHIFT + BITS_PER_PGD)
|
/linux-master/arch/loongarch/mm/ |
H A D | tlbex.S | 63 bstrpick.d ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT 218 bstrpick.d ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT 376 bstrpick.d ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT
|
H A D | tlb.c | 213 pgd_i = PGDIR_SHIFT;
|
/linux-master/arch/openrisc/include/asm/ |
H A D | pgtable.h | 56 #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-master/arch/sh/include/asm/ |
H A D | pgtable.h | 56 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/arch/m68k/mm/ |
H A D | sun3mmu.c | 67 pg_dir += PAGE_OFFSET >> PGDIR_SHIFT;
|
H A D | mcfmmu.c | 60 pg_dir += PAGE_OFFSET >> PGDIR_SHIFT;
|
/linux-master/arch/hexagon/include/asm/ |
H A D | pgtable.h | 73 #define PGDIR_SHIFT 22 macro 76 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/arch/csky/include/asm/ |
H A D | pgtable.h | 12 #define PGDIR_SHIFT 22 macro 13 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/arch/powerpc/mm/nohash/ |
H A D | 8xx.c | 62 return hugepte_offset(*(hugepd_t *)pmdp, va, PGDIR_SHIFT); 86 ptep = hugepte_offset(*(hugepd_t *)pmdp, va, PGDIR_SHIFT);
|
/linux-master/arch/nios2/include/asm/ |
H A D | pgtable.h | 64 #define PGDIR_SHIFT 22 macro 65 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/arch/loongarch/include/asm/ |
H A D | pgtable.h | 26 #define PGDIR_SHIFT (PAGE_SHIFT + (PAGE_SHIFT - 3)) macro 31 #define PGDIR_SHIFT (PMD_SHIFT + (PAGE_SHIFT - 3)) macro 39 #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT - 3)) macro 42 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) 45 #define VA_BITS (PGDIR_SHIFT + (PAGE_SHIFT - 3))
|
/linux-master/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 100 #define PGD_INDEX_SIZE (32 - PGDIR_SHIFT) 128 /* PGDIR_SHIFT determines what a top-level page table entry can map */ 129 #define PGDIR_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) macro 130 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/arch/alpha/include/asm/ |
H A D | pgtable.h | 35 /* PGDIR_SHIFT determines what a third-level page table entry can map */ 36 #define PGDIR_SHIFT (PAGE_SHIFT + 2*(PAGE_SHIFT-3)) macro 37 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
/linux-master/arch/riscv/include/asm/ |
H A D | pgtable-64.h | 21 #define PGDIR_SHIFT (pgtable_l5_enabled ? PGDIR_SHIFT_L5 : \ macro 24 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT)
|
/linux-master/arch/sparc/include/asm/ |
H A D | pgtable_32.h | 19 #define PGDIR_SHIFT 24 macro 20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
|
H A D | tsb.h | 159 sllx VADDR, 64 - (PGDIR_SHIFT + PGDIR_BITS), REG2; \ 272 sllx VADDR, 64 - (PGDIR_SHIFT + PGDIR_BITS), REG2; \
|
H A D | pgtable_64.h | 64 /* PGDIR_SHIFT determines what a fourth-level page table entry can map */ 65 #define PGDIR_SHIFT (PUD_SHIFT + PUD_BITS) macro 66 #define PGDIR_SIZE (_AC(1,UL) << PGDIR_SHIFT) 70 #if (MAX_PHYS_ADDRESS_BITS > PGDIR_SHIFT + PGDIR_BITS) 74 #if (PGDIR_SHIFT + PGDIR_BITS) != 53
|
/linux-master/arch/mips/mm/ |
H A D | tlbex.c | 775 * (PGDIR_SHIFT+PGDIR_BITS) or less, and will never 777 * range for SEGBITS = (PGDIR_SHIFT+PGDIR_BITS). But 783 uasm_i_dsrl_safe(p, ptr, tmp, PGDIR_SHIFT + PGD_TABLE_ORDER + PAGE_SHIFT - 3); 825 uasm_i_dsrl_safe(p, tmp, tmp, PGDIR_SHIFT - 3); 894 * an xuseg address above (PGDIR_SHIFT+PGDIR_BITS) boundary. 899 * TLB_SEGBITS <= PGDIR_SHIFT+PGDIR_BITS, these 947 uasm_i_srl(p, tmp, tmp, PGDIR_SHIFT); /* get pgd only bits */ 1076 PGDIR_SHIFT + PGD_TABLE_ORDER + PAGE_SHIFT - 3); 1120 uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT - 3); 1132 uasm_i_dsrl_safe(p, scratch, tmp, PGDIR_SHIFT [all...] |
/linux-master/arch/sparc/mm/ |
H A D | viking.S | 161 sethi %hi(~((1 << PGDIR_SHIFT) - 1)), %o4 247 sethi %hi(~((1 << PGDIR_SHIFT) - 1)), %o4
|
/linux-master/arch/x86/kernel/ |
H A D | head64.c | 210 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD; 218 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD;
|