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

123

/linux-master/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)
/linux-master/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)
/linux-master/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))
/linux-master/arch/sh/include/asm/
H A Dpgtable-2level.h22 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
H A Dpgtable.h56 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
57 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/linux-master/arch/arc/include/asm/
H A Dpgtable.h20 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
H A Dhighmem.h14 #define FIXMAP_SIZE PGDIR_SIZE
15 #define PKMAP_SIZE PGDIR_SIZE
H A Dpgalloc.h60 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE;
63 num2 = VMALLOC_SIZE / PGDIR_SIZE;
H A Dpgtable-levels.h70 #define PGDIR_SIZE BIT(PGDIR_SHIFT) macro
71 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
/linux-master/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)
/linux-master/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)
/linux-master/arch/powerpc/include/asm/
H A Dfixmap.h84 #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-master/arch/powerpc/include/asm/nohash/64/
H A Dpgtable-4k.h41 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
42 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/linux-master/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)
/linux-master/arch/powerpc/include/asm/nohash/32/
H A Dpgtable.h46 #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-master/arch/nios2/mm/
H A Dioremap.c58 if (end > PGDIR_SIZE)
59 end = PGDIR_SIZE;
107 address = (address + PGDIR_SIZE) & PGDIR_MASK;
/linux-master/arch/powerpc/mm/kasan/
H A Dinit_book3e_64.c89 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE));
90 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE));
104 for (addr = KASAN_SHADOW_START; addr != KASAN_SHADOW_END; addr += PGDIR_SIZE)
/linux-master/arch/powerpc/mm/book3s32/
H A Dtlb.c63 pmd_end = ((start + PGDIR_SIZE) & PGDIR_MASK) - 1;
/linux-master/arch/mips/include/asm/
H A Dpgtable-64.h65 #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)
/linux-master/arch/alpha/include/asm/
H A Dpgtable.h37 #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-master/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
151 if (pgd_none(pgdp_get(pgdp)) && IS_ALIGNED(vaddr, PGDIR_SIZE) &&
152 (next - vaddr) >= PGDIR_SIZE) {
153 phys_addr = memblock_phys_alloc(PGDIR_SIZE, PGDIR_SIZE);
156 memset(__va(phys_addr), KASAN_SHADOW_INIT, PGDIR_SIZE); local
224 if (pgtable_l5_enabled && IS_ALIGNED(vaddr, PGDIR_SIZE) &&
225 (next - vaddr) >= PGDIR_SIZE) {
311 if (pgd_none(pgdp_get(pgdp)) && IS_ALIGNED(vaddr, PGDIR_SIZE)
[all...]
/linux-master/arch/parisc/kernel/
H A Dpci-dma.c112 if (end > PGDIR_SIZE)
113 end = PGDIR_SIZE;
147 vaddr = vaddr + PGDIR_SIZE;
206 if (end > PGDIR_SIZE)
207 end = PGDIR_SIZE;
224 vaddr = vaddr + PGDIR_SIZE;

Completed in 231 milliseconds

123