| /Linux-v5.4/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.4/arch/um/include/asm/ |
| D | pgtable-2level.h | 17 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 18 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 25 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE)
|
| D | pgtable-3level.h | 20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 21 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 44 #define USER_PTRS_PER_PGD ((TASK_SIZE + (PGDIR_SIZE - 1)) / PGDIR_SIZE)
|
| /Linux-v5.4/arch/riscv/mm/ |
| D | init.c | 215 #if MAX_EARLY_MAPPING_SIZE < PGDIR_SIZE 218 #define NUM_EARLY_PMDS (1UL + MAX_EARLY_MAPPING_SIZE / PGDIR_SIZE) 284 #define PTE_PARENT_SIZE PGDIR_SIZE 296 if (sz == PGDIR_SIZE) { in create_pgd_mapping() 362 BUG_ON((PAGE_OFFSET % PGDIR_SIZE) != 0); in setup_vm() 368 (uintptr_t)fixmap_pgd_next, PGDIR_SIZE, PAGE_TABLE); in setup_vm() 376 (uintptr_t)trampoline_pmd, PGDIR_SIZE, PAGE_TABLE); in setup_vm() 382 load_pa, PGDIR_SIZE, PAGE_KERNEL_EXEC); in setup_vm() 421 PGDIR_SIZE, PAGE_TABLE); in setup_vm_final()
|
| /Linux-v5.4/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.4/arch/x86/include/asm/ |
| 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)
|
| D | pgtable_32_types.h | 20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 21 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
|
| /Linux-v5.4/arch/m68k/include/asm/ |
| D | pgtable_mm.h | 49 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 50 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 71 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
|
| /Linux-v5.4/arch/arm/include/asm/ |
| D | pgtable-2level.h | 87 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 88 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 104 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
| D | pgtable-nommu.h | 33 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 34 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
| /Linux-v5.4/arch/parisc/kernel/ |
| D | pci-dma.c | 113 if (end > PGDIR_SIZE) in map_pmd_uncached() 114 end = PGDIR_SIZE; in map_pmd_uncached() 143 vaddr = vaddr + PGDIR_SIZE; in map_uncached_pages() 202 if (end > PGDIR_SIZE) in unmap_uncached_pmd() 203 end = PGDIR_SIZE; in unmap_uncached_pmd() 220 vaddr = vaddr + PGDIR_SIZE; in unmap_uncached_pages()
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/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.4/arch/nios2/mm/ |
| D | ioremap.c | 58 if (end > PGDIR_SIZE) in remap_area_pmd() 59 end = PGDIR_SIZE; in remap_area_pmd() 103 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
|
| /Linux-v5.4/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.4/arch/arm64/mm/ |
| D | kasan_init.c | 159 BUILD_BUG_ON(!IS_ALIGNED(_KASAN_SHADOW_START(VA_BITS), PGDIR_SIZE)); in kasan_early_init() 160 BUILD_BUG_ON(!IS_ALIGNED(_KASAN_SHADOW_START(VA_BITS_MIN), PGDIR_SIZE)); in kasan_early_init() 161 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init() 196 for (; start < end; start += PGDIR_SIZE) in clear_pgds()
|
| /Linux-v5.4/arch/mips/mm/ |
| D | ioremap.c | 54 if (end > PGDIR_SIZE) in remap_area_pmd() 55 end = PGDIR_SIZE; in remap_area_pmd() 95 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | pgtable-64.h | 64 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 65 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 138 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1)
|
| D | pgtable-32.h | 71 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 72 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 96 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE)
|
| /Linux-v5.4/arch/x86/platform/efi/ |
| D | efi_64.c | 92 n_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT), PGDIR_SIZE); in efi_call_phys_prolog() 106 addr_pgd = (unsigned long)(pgd * PGDIR_SIZE); in efi_call_phys_prolog() 107 vaddr = (unsigned long)__va(pgd * PGDIR_SIZE); in efi_call_phys_prolog() 140 pgd_offset_k(pgd * PGDIR_SIZE)->pgd &= ~_PAGE_NX; in efi_call_phys_prolog() 166 nr_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT) , PGDIR_SIZE); in efi_call_phys_epilog() 169 pgd = pgd_offset_k(pgd_idx * PGDIR_SIZE); in efi_call_phys_epilog() 170 set_pgd(pgd_offset_k(pgd_idx * PGDIR_SIZE), save_pgd[pgd_idx]); in efi_call_phys_epilog() 177 pgd_idx * PGDIR_SIZE + i * P4D_SIZE); in efi_call_phys_epilog()
|
| /Linux-v5.4/arch/sh/include/asm/ |
| D | pgtable.h | 56 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 57 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
| /Linux-v5.4/arch/nios2/include/asm/ |
| D | pgtable.h | 81 (CONFIG_NIOS2_KERNEL_MMU_REGION_BASE / PGDIR_SIZE) 84 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 85 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
| /Linux-v5.4/arch/powerpc/include/asm/nohash/32/ |
| D | pgtable.h | 50 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 51 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 56 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|