Home
last modified time | relevance | path

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

123

/linux/arch/um/include/asm/
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)
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)
/linux/arch/riscv/mm/
A Dkasan_init.c35 i += PGDIR_SIZE, ++pgd) in kasan_early_init()
45 i += PGDIR_SIZE, ++pgd) in kasan_early_init()
126 IS_ALIGNED(vaddr, PGDIR_SIZE) && (next - vaddr) >= PGDIR_SIZE) { in kasan_populate_pgd()
127 phys_addr = memblock_phys_alloc(PGDIR_SIZE, PGDIR_SIZE); in kasan_populate_pgd()
A Dinit.c52 #define DTB_EARLY_BASE_VA PGDIR_SIZE
425 if (sz == PGDIR_SIZE) { in create_pgd_mapping()
567 PGDIR_SIZE, in create_fdt_early_page_table()
616 BUG_ON((PAGE_OFFSET % PGDIR_SIZE) != 0); in setup_vm()
635 (uintptr_t)fixmap_pgd_next, PGDIR_SIZE, PAGE_TABLE); in setup_vm()
643 (uintptr_t)trampoline_pmd, PGDIR_SIZE, PAGE_TABLE); in setup_vm()
654 kernel_map.phys_addr, PGDIR_SIZE, PAGE_KERNEL_EXEC); in setup_vm()
717 PGDIR_SIZE, PAGE_TABLE); in setup_vm_final()
/linux/arch/powerpc/include/asm/
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)
/linux/arch/x86/include/asm/
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)
A Dpgtable_32_types.h20 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
21 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
/linux/arch/m68k/include/asm/
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)
/linux/arch/parisc/kernel/
A Dpci-dma.c112 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/arch/riscv/include/asm/
A Dpgtable-32.h14 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
15 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
A Dpgtable-64.h13 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
14 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
/linux/arch/arm/include/asm/
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)
A Dpgtable-nommu.h32 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
33 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/linux/arch/alpha/include/asm/
A 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)
56 #define VMALLOC_START (-2*PGDIR_SIZE)
58 #define VMALLOC_END (-PGDIR_SIZE)
/linux/arch/mips/include/asm/
A Dpgtable-64.h65 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
66 #define PGDIR_MASK (~(PGDIR_SIZE-1))
139 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1)
A Dpgtable-32.h70 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
71 #define PGDIR_MASK (~(PGDIR_SIZE-1))
95 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE)
/linux/arch/arc/include/asm/
A Dhighmem.h14 #define FIXMAP_SIZE PGDIR_SIZE
15 #define PKMAP_SIZE PGDIR_SIZE
A Dpgalloc.h60 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc()
63 num2 = VMALLOC_SIZE / PGDIR_SIZE; in pgd_alloc()
/linux/arch/m68k/mm/
A Dmotorola.c315 if (!(virtaddr & (PGDIR_SIZE-1)) && in map_node()
316 size >= PGDIR_SIZE) { in map_node()
321 size -= PGDIR_SIZE; in map_node()
322 virtaddr += PGDIR_SIZE; in map_node()
323 physaddr += PGDIR_SIZE; in map_node()
/linux/arch/nios2/mm/
A Dioremap.c58 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/arch/powerpc/include/asm/nohash/64/
A Dpgtable-4k.h41 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
42 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/linux/arch/arm64/mm/
A Dkasan_init.c173 BUILD_BUG_ON(!IS_ALIGNED(_KASAN_SHADOW_START(VA_BITS), PGDIR_SIZE)); in kasan_early_init()
174 BUILD_BUG_ON(!IS_ALIGNED(_KASAN_SHADOW_START(VA_BITS_MIN), PGDIR_SIZE)); in kasan_early_init()
175 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init()
210 for (; start < end; start += PGDIR_SIZE) in clear_pgds()
/linux/arch/nios2/include/asm/
A Dpgtable.h78 (CONFIG_NIOS2_KERNEL_MMU_REGION_BASE / PGDIR_SIZE)
81 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
82 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/linux/arch/sh/include/asm/
A Dpgtable.h56 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
57 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/linux/arch/csky/include/asm/
A Dpgtable.h13 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
14 #define PGDIR_MASK (~(PGDIR_SIZE-1))
16 #define USER_PTRS_PER_PGD (PAGE_OFFSET/PGDIR_SIZE)

Completed in 29 milliseconds

123