| /Linux-v5.10/arch/arm/mach-ebsa110/ |
| D | core.h | 15 #define ISAIO_SIZE PGDIR_SIZE 18 #define TRICK0_SIZE PGDIR_SIZE 20 #define TRICK1_SIZE PGDIR_SIZE 23 #define TRICK3_SIZE PGDIR_SIZE 25 #define TRICK4_SIZE PGDIR_SIZE
|
| /Linux-v5.10/arch/um/include/asm/ |
| D | pgtable-2level.h | 16 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 17 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 24 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE)
|
| D | pgtable-3level.h | 19 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 20 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 43 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE)
|
| /Linux-v5.10/arch/riscv/mm/ |
| D | init.c | 31 #define DTB_EARLY_BASE_VA PGDIR_SIZE 290 #if MAX_EARLY_MAPPING_SIZE < PGDIR_SIZE 293 #define NUM_EARLY_PMDS (1UL + MAX_EARLY_MAPPING_SIZE / PGDIR_SIZE) 388 if (sz == PGDIR_SIZE) { in create_pgd_mapping() 454 BUG_ON((PAGE_OFFSET % PGDIR_SIZE) != 0); in setup_vm() 466 (uintptr_t)fixmap_pgd_next, PGDIR_SIZE, PAGE_TABLE); in setup_vm() 474 (uintptr_t)trampoline_pmd, PGDIR_SIZE, PAGE_TABLE); in setup_vm() 480 load_pa, PGDIR_SIZE, PAGE_KERNEL_EXEC); in setup_vm() 497 (uintptr_t)early_dtb_pmd, PGDIR_SIZE, PAGE_TABLE); in setup_vm() 507 pa = dtb_pa & ~(PGDIR_SIZE - 1); in setup_vm() [all …]
|
| /Linux-v5.10/arch/powerpc/include/asm/ |
| D | fixmap.h | 89 #define FIXMAP_ALIGNED_SIZE (ALIGN(FIXADDR_TOP, PGDIR_SIZE) - \ 90 ALIGN_DOWN(FIXADDR_START, PGDIR_SIZE)) 91 #define FIXMAP_PTE_SIZE (FIXMAP_ALIGNED_SIZE / PGDIR_SIZE * PTE_TABLE_SIZE)
|
| /Linux-v5.10/arch/riscv/include/asm/ |
| D | pgtable-32.h | 14 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro 15 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
|
| D | pgtable-64.h | 13 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro 14 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
|
| /Linux-v5.10/arch/x86/include/asm/ |
| D | pgtable_32_types.h | 20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 21 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
|
| D | pgtable_64_types.h | 102 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro 103 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) 121 #define LDT_END_ADDR (LDT_BASE_ADDR + PGDIR_SIZE)
|
| /Linux-v5.10/arch/m68k/include/asm/ |
| D | pgtable_mm.h | 52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 53 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 74 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
|
| /Linux-v5.10/arch/arc/include/asm/ |
| D | highmem.h | 16 #define FIXMAP_SIZE PGDIR_SIZE /* only 1 PGD worth */ 22 #define PKMAP_SIZE PGDIR_SIZE
|
| D | pgalloc.h | 58 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc() 61 num2 = VMALLOC_SIZE / PGDIR_SIZE; in pgd_alloc()
|
| D | pgtable.h | 219 #define PGDIR_SIZE BIT(PGDIR_SHIFT) /* vaddr span, not PDG sz */ macro 220 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 229 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
| /Linux-v5.10/arch/arm/include/asm/ |
| D | pgtable-2level.h | 89 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 90 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 106 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
| D | pgtable-nommu.h | 32 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 33 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
| /Linux-v5.10/arch/parisc/kernel/ |
| D | pci-dma.c | 112 if (end > PGDIR_SIZE) in map_pmd_uncached() 113 end = PGDIR_SIZE; in map_pmd_uncached() 147 vaddr = vaddr + PGDIR_SIZE; in map_uncached_pages() 206 if (end > PGDIR_SIZE) in unmap_uncached_pmd() 207 end = PGDIR_SIZE; in unmap_uncached_pmd() 224 vaddr = vaddr + PGDIR_SIZE; in unmap_uncached_pages()
|
| /Linux-v5.10/arch/mips/include/asm/ |
| D | pgtable-64.h | 65 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 66 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 139 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1)
|
| D | pgtable-32.h | 70 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 71 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 95 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE)
|
| /Linux-v5.10/arch/alpha/include/asm/ |
| D | pgtable.h | 38 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 39 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 48 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) 57 #define VMALLOC_START (-2*PGDIR_SIZE) 59 #define VMALLOC_END (-PGDIR_SIZE)
|
| /Linux-v5.10/arch/nios2/mm/ |
| D | ioremap.c | 58 if (end > PGDIR_SIZE) in remap_area_pmd() 59 end = PGDIR_SIZE; in remap_area_pmd() 107 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
|
| /Linux-v5.10/arch/powerpc/include/asm/nohash/64/ |
| D | pgtable-4k.h | 41 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 42 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
| /Linux-v5.10/arch/m68k/mm/ |
| D | motorola.c | 315 if (!(virtaddr & (PGDIR_SIZE-1)) && in map_node() 316 size >= PGDIR_SIZE) { in map_node() 321 size -= PGDIR_SIZE; in map_node() 322 virtaddr += PGDIR_SIZE; in map_node() 323 physaddr += PGDIR_SIZE; in map_node()
|
| /Linux-v5.10/arch/arm64/mm/ |
| D | kasan_init.c | 170 BUILD_BUG_ON(!IS_ALIGNED(_KASAN_SHADOW_START(VA_BITS), PGDIR_SIZE)); in kasan_early_init() 171 BUILD_BUG_ON(!IS_ALIGNED(_KASAN_SHADOW_START(VA_BITS_MIN), PGDIR_SIZE)); in kasan_early_init() 172 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init() 207 for (; start < end; start += PGDIR_SIZE) in clear_pgds()
|
| /Linux-v5.10/arch/nios2/include/asm/ |
| D | pgtable.h | 80 (CONFIG_NIOS2_KERNEL_MMU_REGION_BASE / PGDIR_SIZE) 83 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 84 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
| /Linux-v5.10/arch/sh/include/asm/ |
| D | pgtable.h | 56 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 57 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|