Searched refs:PGDIR_SHIFT (Results 26 - 50 of 67) sorted by relevance

123

/linux-master/arch/m68k/include/asm/
H A Dmcf_pgalloc.h90 memset(new_pgd, 0, PAGE_OFFSET >> PGDIR_SHIFT);
/linux-master/arch/microblaze/include/asm/
H A Dpgtable.h88 /* 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 Dpgtable-3level.h31 * 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 Dpgtable-32.h63 /* 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 Dpgtable.h122 #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 Dtlbex.S63 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 Dtlb.c213 pgd_i = PGDIR_SHIFT;
/linux-master/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-master/arch/sh/include/asm/
H A Dpgtable.h56 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux-master/arch/m68k/mm/
H A Dsun3mmu.c67 pg_dir += PAGE_OFFSET >> PGDIR_SHIFT;
H A Dmcfmmu.c60 pg_dir += PAGE_OFFSET >> PGDIR_SHIFT;
/linux-master/arch/hexagon/include/asm/
H A Dpgtable.h73 #define PGDIR_SHIFT 22 macro
76 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux-master/arch/csky/include/asm/
H A Dpgtable.h12 #define PGDIR_SHIFT 22 macro
13 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux-master/arch/powerpc/mm/nohash/
H A D8xx.c62 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 Dpgtable.h64 #define PGDIR_SHIFT 22 macro
65 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
/linux-master/arch/loongarch/include/asm/
H A Dpgtable.h26 #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 Dpgtable.h100 #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 Dpgtable.h35 /* 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 Dpgtable-64.h21 #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 Dpgtable_32.h19 #define PGDIR_SHIFT 24 macro
20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT)
H A Dtsb.h159 sllx VADDR, 64 - (PGDIR_SHIFT + PGDIR_BITS), REG2; \
272 sllx VADDR, 64 - (PGDIR_SHIFT + PGDIR_BITS), REG2; \
H A Dpgtable_64.h64 /* 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 Dtlbex.c775 * (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 Dviking.S161 sethi %hi(~((1 << PGDIR_SHIFT) - 1)), %o4
247 sethi %hi(~((1 << PGDIR_SHIFT) - 1)), %o4
/linux-master/arch/x86/kernel/
H A Dhead64.c210 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD;
218 i = (physaddr >> PGDIR_SHIFT) % PTRS_PER_PGD;

Completed in 221 milliseconds

123