Home
last modified time | relevance | path

Searched refs:PGDIR_SIZE (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v5.4/arch/arm/mach-ebsa110/
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
/Linux-v5.4/arch/um/include/asm/
Dpgtable-2level.h17 #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)
Dpgtable-3level.h20 #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/
Dinit.c215 #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/
Dpgtable-32.h14 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
15 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
Dpgtable-64.h13 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
14 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
/Linux-v5.4/arch/x86/include/asm/
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)
Dpgtable_32_types.h20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
21 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
/Linux-v5.4/arch/m68k/include/asm/
Dpgtable_mm.h49 #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/
Dpgtable-2level.h87 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
88 #define PGDIR_MASK (~(PGDIR_SIZE-1))
104 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
Dpgtable-nommu.h33 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
34 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/Linux-v5.4/arch/parisc/kernel/
Dpci-dma.c113 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/
Dhighmem.h16 #define FIXMAP_SIZE PGDIR_SIZE /* only 1 PGD worth */
22 #define PKMAP_SIZE PGDIR_SIZE
Dpgalloc.h58 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/
Dpgtable.h38 #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/
Dioremap.c58 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/
Dpgtable-4k.h41 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
42 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/Linux-v5.4/arch/arm64/mm/
Dkasan_init.c159 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/
Dioremap.c54 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/
Dpgtable-64.h64 #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)
Dpgtable-32.h71 #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/
Defi_64.c92 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/
Dpgtable.h56 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
57 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/Linux-v5.4/arch/nios2/include/asm/
Dpgtable.h81 (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/
Dpgtable.h50 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
51 #define PGDIR_MASK (~(PGDIR_SIZE-1))
56 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)

123