/linux-6.12.1/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-6.12.1/arch/powerpc/include/asm/ |
D | fixmap.h | 84 #define FIXMAP_ALIGNED_SIZE (ALIGN(FIXADDR_TOP, PGDIR_SIZE) - \ 85 ALIGN_DOWN(FIXADDR_START, PGDIR_SIZE)) 86 #define FIXMAP_PTE_SIZE (FIXMAP_ALIGNED_SIZE / PGDIR_SIZE * PTE_TABLE_SIZE)
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | kasan.h | 54 #define XKVRANGE_VC_SIZE round_up(KFENCE_AREA_END - MODULES_VADDR + 1, PGDIR_SIZE) 60 #define KASAN_SHADOW_START round_up(KFENCE_AREA_END, PGDIR_SIZE) 62 #define KASAN_SHADOW_END (round_up(KASAN_SHADOW_START + KASAN_SHADOW_SIZE, PGDIR_SIZE) - 1)
|
/linux-6.12.1/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 | 103 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro 104 #define PGDIR_MASK (~(PGDIR_SIZE - 1)) 122 #define LDT_END_ADDR (LDT_BASE_ADDR + PGDIR_SIZE)
|
/linux-6.12.1/arch/riscv/mm/ |
D | kasan_init.c | 151 if (pgd_none(pgdp_get(pgdp)) && IS_ALIGNED(vaddr, PGDIR_SIZE) && in kasan_populate_pgd() 152 (next - vaddr) >= PGDIR_SIZE) { in kasan_populate_pgd() 153 phys_addr = memblock_phys_alloc(PGDIR_SIZE, PGDIR_SIZE); in kasan_populate_pgd() 156 memset(__va(phys_addr), KASAN_SHADOW_INIT, PGDIR_SIZE); in kasan_populate_pgd() 224 if (pgtable_l5_enabled && IS_ALIGNED(vaddr, PGDIR_SIZE) && in kasan_early_clear_pgd() 225 (next - vaddr) >= PGDIR_SIZE) { in kasan_early_clear_pgd() 311 if (pgd_none(pgdp_get(pgdp)) && IS_ALIGNED(vaddr, PGDIR_SIZE) && in kasan_early_populate_pgd() 312 (next - vaddr) >= PGDIR_SIZE) { in kasan_early_populate_pgd()
|
/linux-6.12.1/arch/powerpc/include/asm/nohash/32/ |
D | pgtable.h | 46 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 47 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 52 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
|
/linux-6.12.1/arch/m68k/include/asm/ |
D | pgtable_mm.h | 50 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 51 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 72 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
|
/linux-6.12.1/arch/riscv/include/asm/ |
D | pgtable-32.h | 15 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro 16 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
|
/linux-6.12.1/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 | 30 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 31 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/linux-6.12.1/arch/arc/include/asm/ |
D | highmem.h | 14 #define FIXMAP_SIZE PGDIR_SIZE 15 #define PKMAP_SIZE PGDIR_SIZE
|
D | pgalloc.h | 60 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc() 63 num2 = VMALLOC_SIZE / PGDIR_SIZE; in pgd_alloc()
|
/linux-6.12.1/arch/alpha/include/asm/ |
D | pgtable.h | 37 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 38 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 47 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE) 55 #define VMALLOC_START (-2*PGDIR_SIZE) 57 #define VMALLOC_END (-PGDIR_SIZE)
|
/linux-6.12.1/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-6.12.1/arch/mips/include/asm/ |
D | pgtable-64.h | 65 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 66 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 134 #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)) 94 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE)
|
/linux-6.12.1/arch/powerpc/mm/kasan/ |
D | init_book3e_64.c | 89 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE)); in kasan_early_init() 90 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init() 104 for (addr = KASAN_SHADOW_START; addr != KASAN_SHADOW_END; addr += PGDIR_SIZE) in kasan_early_init()
|
/linux-6.12.1/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-6.12.1/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-6.12.1/arch/m68k/mm/ |
D | motorola.c | 314 if (!(virtaddr & (PGDIR_SIZE-1)) && in map_node() 315 size >= PGDIR_SIZE) { in map_node() 320 size -= PGDIR_SIZE; in map_node() 321 virtaddr += PGDIR_SIZE; in map_node() 322 physaddr += PGDIR_SIZE; in map_node()
|
/linux-6.12.1/arch/sh/include/asm/ |
D | pgtable.h | 56 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 57 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/linux-6.12.1/arch/nios2/include/asm/ |
D | pgtable.h | 62 (CONFIG_NIOS2_KERNEL_MMU_REGION_BASE / PGDIR_SIZE) 65 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 66 #define PGDIR_MASK (~(PGDIR_SIZE-1))
|
/linux-6.12.1/arch/csky/include/asm/ |
D | pgtable.h | 13 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro 14 #define PGDIR_MASK (~(PGDIR_SIZE-1)) 16 #define USER_PTRS_PER_PGD (PAGE_OFFSET/PGDIR_SIZE)
|