/Linux-v4.19/arch/arm/mach-ebsa110/ |
D | core.h | 18 #define ISAIO_SIZE PGDIR_SIZE 21 #define TRICK0_SIZE PGDIR_SIZE 23 #define TRICK1_SIZE PGDIR_SIZE 26 #define TRICK3_SIZE PGDIR_SIZE 28 #define TRICK4_SIZE PGDIR_SIZE
|
/Linux-v4.19/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-v4.19/arch/riscv/kernel/ |
D | setup.c | 118 pmd_t swapper_pmd[PTRS_PER_PMD*((-PAGE_OFFSET)/PGDIR_SIZE)] __page_aligned_bss; 133 BUG_ON((PAGE_OFFSET % PGDIR_SIZE) != 0); in setup_vm() 142 for (i = 0; i < (-PAGE_OFFSET)/PGDIR_SIZE; ++i) { in setup_vm() 154 for (i = 0; i < (-PAGE_OFFSET)/PGDIR_SIZE; ++i) { in setup_vm() 157 pfn_pgd(PFN_DOWN(pa + i * PGDIR_SIZE), prot); in setup_vm()
|
/Linux-v4.19/arch/riscv/include/asm/ |
D | pgtable-32.h | 22 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro 23 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
|
D | pgtable-64.h | 21 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro 22 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
|
/Linux-v4.19/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)) 118 #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-v4.19/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-v4.19/arch/arm/include/asm/ |
D | pgtable-2level.h | 90 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 91 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 107 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
D | pgtable-nommu.h | 36 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 37 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/Linux-v4.19/arch/arc/include/asm/ |
D | highmem.h | 20 #define FIXMAP_SIZE PGDIR_SIZE /* only 1 PGD worth */ 26 #define PKMAP_SIZE PGDIR_SIZE
|
D | pgalloc.h | 61 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc() 64 num2 = VMALLOC_SIZE / PGDIR_SIZE; in pgd_alloc()
|
/Linux-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/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 | 48 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 49 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 64 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE)
|
/Linux-v4.19/arch/sh/include/asm/ |
D | pgtable.h | 59 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 60 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/Linux-v4.19/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() 104 addr_pgd = (unsigned long)(pgd * PGDIR_SIZE); in efi_call_phys_prolog() 105 vaddr = (unsigned long)__va(pgd * PGDIR_SIZE); in efi_call_phys_prolog() 138 pgd_offset_k(pgd * PGDIR_SIZE)->pgd &= ~_PAGE_NX; in efi_call_phys_prolog() 163 nr_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT) , PGDIR_SIZE); in efi_call_phys_epilog() 166 pgd = pgd_offset_k(pgd_idx * PGDIR_SIZE); in efi_call_phys_epilog() 167 set_pgd(pgd_offset_k(pgd_idx * PGDIR_SIZE), save_pgd[pgd_idx]); in efi_call_phys_epilog() 174 pgd_idx * PGDIR_SIZE + i * P4D_SIZE); in efi_call_phys_epilog()
|
/Linux-v4.19/arch/powerpc/include/asm/nohash/32/ |
D | pgtable.h | 52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 53 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 58 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
/Linux-v4.19/arch/unicore32/mm/ |
D | mmu.c | 308 for (addr = 0; addr < MODULES_VADDR; addr += PGDIR_SIZE) in prepare_page_table() 311 for ( ; addr < PAGE_OFFSET; addr += PGDIR_SIZE) in prepare_page_table() 326 addr < VMALLOC_END; addr += PGDIR_SIZE) in prepare_page_table() 360 for (addr = VMALLOC_END; addr; addr += PGDIR_SIZE) in devicemaps_init()
|
/Linux-v4.19/arch/arm64/mm/ |
D | kasan_init.c | 140 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE)); in kasan_early_init() 141 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init() 176 for (; start < end; start += PGDIR_SIZE) in clear_pgds()
|