Home
last modified time | relevance | path

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

1234

/arch/arm/mach-ebsa110/
Dcore.h18 #define ISAIO_SIZE PGDIR_SIZE
21 #define TRICK0_SIZE PGDIR_SIZE
23 #define TRICK1_SIZE PGDIR_SIZE
26 #define TRICK3_SIZE PGDIR_SIZE
28 #define TRICK4_SIZE PGDIR_SIZE
/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)
/arch/tile/include/asm/
Dkexec.h34 #define KEXEC_SOURCE_MEMORY_LIMIT PGDIR_SIZE
36 #define KEXEC_DESTINATION_MEMORY_LIMIT PGDIR_SIZE
38 #define KEXEC_CONTROL_MEMORY_LIMIT PGDIR_SIZE
Dpgtable_32.h24 #define PGDIR_SIZE HPAGE_SIZE macro
25 #define PGDIR_MASK (~(PGDIR_SIZE-1))
Dpgtable_64.h21 #define PGDIR_SIZE HV_L1_SPAN macro
22 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/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)
/arch/x86/include/asm/
Dpgtable_32_types.h18 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
19 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
Dpgtable_64_types.h75 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
76 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
/arch/powerpc/include/asm/nohash/64/
Dpgtable-64k.h43 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
44 #define PGDIR_MASK (~(PGDIR_SIZE-1))
Dpgtable-4k.h41 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
42 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/arch/arc/include/asm/
Dhighmem.h20 #define FIXMAP_SIZE PGDIR_SIZE /* only 1 PGD worth */
26 #define PKMAP_SIZE PGDIR_SIZE
Dpgalloc.h61 num = USER_PTRS_PER_PGD + USER_KERNEL_GUTTER / PGDIR_SIZE; in pgd_alloc()
64 num2 = VMALLOC_SIZE / PGDIR_SIZE; in pgd_alloc()
/arch/arm/include/asm/
Dpgtable-2level.h90 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
91 #define PGDIR_MASK (~(PGDIR_SIZE-1))
107 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
Dpgtable-nommu.h36 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
37 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/arch/metag/include/asm/
Dpgtable.h37 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
38 #define PGDIR_MASK (~(PGDIR_SIZE-1))
47 #define PTRS_PER_PTE (PGDIR_SIZE/PAGE_SIZE)
48 #define HPTRS_PER_PTE (PGDIR_SIZE/HPAGE_SIZE)
175 #define pmd_num_ptrs(pmd) (PGDIR_SIZE >> pmd_page_shift(pmd))
/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()
/arch/x86/mm/
Dmem_encrypt.c236 pgd_size = (((pgd_end - pgd_start) / PGDIR_SIZE) + 1) * sizeof(pgd_t); in sme_clear_pgd()
453 p4d_size = (ALIGN(len, PGDIR_SIZE) / PGDIR_SIZE) + 1; in sme_pgtable_calc()
459 pud_size = (ALIGN(len, PGDIR_SIZE) / PGDIR_SIZE) + 1; in sme_pgtable_calc()
473 p4d_size = ALIGN(total, PGDIR_SIZE) / PGDIR_SIZE; in sme_pgtable_calc()
479 pud_size = ALIGN(total, PGDIR_SIZE) / PGDIR_SIZE; in sme_pgtable_calc()
/arch/sh/include/asm/
Dpgtable.h59 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
60 #define PGDIR_MASK (~(PGDIR_SIZE-1))
Dpgtable-2level.h23 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
/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)
/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()
/arch/arm64/mm/
Dkasan_init.c106 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_START, PGDIR_SIZE)); in kasan_early_init()
107 BUILD_BUG_ON(!IS_ALIGNED(KASAN_SHADOW_END, PGDIR_SIZE)); in kasan_early_init()
134 for (; start < end; start += PGDIR_SIZE) in clear_pgds()
/arch/mips/include/asm/
Dpgtable-64.h71 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
72 #define PGDIR_MASK (~(PGDIR_SIZE-1))
145 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1)
Dpgtable-32.h48 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
49 #define PGDIR_MASK (~(PGDIR_SIZE-1))
64 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE)

1234