Home
last modified time | relevance | path

Searched refs:PGDIR_SIZE (Results 1 - 25 of 136) sorted by relevance

123456

/kernel/linux/linux-5.10/arch/arm/mach-ebsa110/
H A Dcore.h15 #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
/kernel/linux/linux-5.10/arch/um/include/asm/
H A Dpgtable-2level.h16 #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)
H A Dpgtable-3level.h19 #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)
/kernel/linux/linux-6.6/arch/um/include/asm/
H A Dpgtable-2level.h16 #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)
H A Dpgtable-3level.h19 #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)
/kernel/linux/linux-5.10/arch/riscv/mm/
H A Dinit.c35 #define DTB_EARLY_BASE_VA PGDIR_SIZE
409 if (sz == PGDIR_SIZE) { in create_pgd_mapping()
492 BUG_ON((PAGE_OFFSET % PGDIR_SIZE) != 0); in setup_vm()
503 (uintptr_t)fixmap_pgd_next, PGDIR_SIZE, PAGE_TABLE); in setup_vm()
511 (uintptr_t)trampoline_pmd, PGDIR_SIZE, PAGE_TABLE); in setup_vm()
517 load_pa, PGDIR_SIZE, PAGE_KERNEL_EXEC); in setup_vm()
530 (uintptr_t)early_dtb_pmd, PGDIR_SIZE, PAGE_TABLE); in setup_vm()
554 pa = dtb_pa & ~(PGDIR_SIZE - 1); in setup_vm()
556 pa, PGDIR_SIZE, PAGE_KERNEL); in setup_vm()
557 create_pgd_mapping(early_pg_dir, DTB_EARLY_BASE_VA + PGDIR_SIZE, in setup_vm()
[all...]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dpgtable-32.h14 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
15 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dpgtable_32_types.h20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
21 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
H A Dpgtable_64_types.h102 #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)
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dpgtable_32_types.h20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
21 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
H A Dpgtable_64_types.h103 #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)
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dfixmap.h96 #define FIXMAP_ALIGNED_SIZE (ALIGN(FIXADDR_TOP, PGDIR_SIZE) - \
97 ALIGN_DOWN(FIXADDR_START, PGDIR_SIZE))
98 #define FIXMAP_PTE_SIZE (FIXMAP_ALIGNED_SIZE / PGDIR_SIZE * PTE_TABLE_SIZE)
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dkasan.h46 #define XKVRANGE_VC_SIZE round_up(VMEMMAP_END - MODULES_VADDR + 1, PGDIR_SIZE)
52 #define KASAN_SHADOW_START round_up(VMEMMAP_END, PGDIR_SIZE)
54 #define KASAN_SHADOW_END round_up(KASAN_SHADOW_START + KASAN_SHADOW_SIZE, PGDIR_SIZE)
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dkasan.h46 #define XKVRANGE_VC_SIZE round_up(KFENCE_AREA_END - MODULES_VADDR + 1, PGDIR_SIZE)
52 #define KASAN_SHADOW_START round_up(KFENCE_AREA_END, PGDIR_SIZE)
54 #define KASAN_SHADOW_END round_up(KASAN_SHADOW_START + KASAN_SHADOW_SIZE, PGDIR_SIZE)
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dfixmap.h96 #define FIXMAP_ALIGNED_SIZE (ALIGN(FIXADDR_TOP, PGDIR_SIZE) - \
97 ALIGN_DOWN(FIXADDR_START, PGDIR_SIZE))
98 #define FIXMAP_PTE_SIZE (FIXMAP_ALIGNED_SIZE / PGDIR_SIZE * PTE_TABLE_SIZE)
/kernel/linux/linux-6.6/arch/riscv/mm/
H A Dkasan_init.c18 * For sv39, the region is aligned on PGDIR_SIZE so we only need to populate
21 * For sv48 and sv57, the region start is aligned on PGDIR_SIZE whereas the end
148 if (pgd_none(*pgdp) && IS_ALIGNED(vaddr, PGDIR_SIZE) && in kasan_populate_pgd()
149 (next - vaddr) >= PGDIR_SIZE) { in kasan_populate_pgd()
150 phys_addr = memblock_phys_alloc(PGDIR_SIZE, PGDIR_SIZE); in kasan_populate_pgd()
153 memset(__va(phys_addr), KASAN_SHADOW_INIT, PGDIR_SIZE); in kasan_populate_pgd() local
221 if (pgtable_l5_enabled && IS_ALIGNED(vaddr, PGDIR_SIZE) && in kasan_early_clear_pgd()
222 (next - vaddr) >= PGDIR_SIZE) { in kasan_early_clear_pgd()
308 if (pgd_none(*pgdp) && IS_ALIGNED(vaddr, PGDIR_SIZE) in kasan_early_populate_pgd()
[all...]
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dpgtable-32.h15 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
16 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
/kernel/linux/linux-5.10/arch/arc/include/asm/
H A Dhighmem.h16 #define FIXMAP_SIZE PGDIR_SIZE /* only 1 PGD worth */
22 #define PKMAP_SIZE PGDIR_SIZE
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dpgtable-nommu.h32 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
33 #define PGDIR_MASK (~(PGDIR_SIZE-1))
H A Dpgtable-2level.h89 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
90 #define PGDIR_MASK (~(PGDIR_SIZE-1))
106 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
/kernel/linux/linux-6.6/arch/arc/include/asm/
H A Dhighmem.h14 #define FIXMAP_SIZE PGDIR_SIZE
15 #define PKMAP_SIZE PGDIR_SIZE
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dpgtable-nommu.h30 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
31 #define PGDIR_MASK (~(PGDIR_SIZE-1))
H A Dpgtable-2level.h89 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
90 #define PGDIR_MASK (~(PGDIR_SIZE-1))
106 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
/kernel/linux/linux-5.10/arch/m68k/include/asm/
H A Dpgtable_mm.h52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
53 #define PGDIR_MASK (~(PGDIR_SIZE-1))
74 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
/kernel/linux/linux-6.6/arch/m68k/include/asm/
H A Dpgtable_mm.h50 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
51 #define PGDIR_MASK (~(PGDIR_SIZE-1))
72 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)

Completed in 9 milliseconds

123456