Home
last modified time | relevance | path

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

123

/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/x86/platform/efi/
Defi_64.c71 n_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT), PGDIR_SIZE); in efi_call_phys_prelog()
75 save_pgd[pgd] = *pgd_offset_k(pgd * PGDIR_SIZE); in efi_call_phys_prelog()
76 vaddress = (unsigned long)__va(pgd * PGDIR_SIZE); in efi_call_phys_prelog()
77 set_pgd(pgd_offset_k(pgd * PGDIR_SIZE), *pgd_offset_k(vaddress)); in efi_call_phys_prelog()
88 int n_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT) , PGDIR_SIZE); in efi_call_phys_epilog()
90 set_pgd(pgd_offset_k(pgd * PGDIR_SIZE), save_pgd[pgd]); in efi_call_phys_epilog()
/arch/um/include/asm/
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)
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)
/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_64.h21 #define PGDIR_SIZE HV_L1_SPAN macro
22 #define PGDIR_MASK (~(PGDIR_SIZE-1))
59 #define HUGE_VMAP_END (HUGE_VMAP_BASE + PGDIR_SIZE)
Dpgtable_32.h24 #define PGDIR_SIZE HPAGE_SIZE macro
25 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/arch/arm64/include/asm/
Dpgtable-2level-hwdef.h33 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
34 #define PGDIR_MASK (~(PGDIR_SIZE-1))
Dpgtable-3level-hwdef.h33 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
34 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/arch/powerpc/include/asm/
Dpgtable-ppc64-64k.h32 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
33 #define PGDIR_MASK (~(PGDIR_SIZE-1))
Dpgtable-ppc64-4k.h40 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
41 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/arch/x86/include/asm/
Dpgtable_32_types.h17 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
18 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
Dpgtable_64_types.h53 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
54 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
/arch/arm/include/asm/
Dpgtable-2level.h88 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
89 #define PGDIR_MASK (~(PGDIR_SIZE-1))
105 #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))
Dpgtable-3level.h52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
53 #define PGDIR_MASK (~(PGDIR_SIZE-1))
62 #define USER_PTRS_PER_PGD (PAGE_OFFSET / PGDIR_SIZE)
/arch/m68k/include/asm/
Dpgtable_mm.h48 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
49 #define PGDIR_MASK (~(PGDIR_SIZE-1))
68 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
/arch/sh/include/asm/
Dpgtable-2level.h21 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
Dpgtable.h59 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
60 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/arch/mips/include/asm/
Dpgtable-64.h59 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
60 #define PGDIR_MASK (~(PGDIR_SIZE-1))
129 #define USER_PTRS_PER_PGD ((TASK_SIZE64 / PGDIR_SIZE)?(TASK_SIZE64 / PGDIR_SIZE):1)
Dpgtable-32.h31 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
32 #define PGDIR_MASK (~(PGDIR_SIZE-1))
47 #define USER_PTRS_PER_PGD (0x80000000UL/PGDIR_SIZE)
/arch/mips/mm/
Dioremap.c52 if (end > PGDIR_SIZE) in remap_area_pmd()
53 end = PGDIR_SIZE; in remap_area_pmd()
93 address = (address + PGDIR_SIZE) & PGDIR_MASK; in remap_area_pages()
/arch/arc/include/asm/
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/metag/include/asm/
Dpgtable.h129 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
130 #define PGDIR_MASK (~(PGDIR_SIZE-1))
139 #define PTRS_PER_PTE (PGDIR_SIZE/PAGE_SIZE)
140 #define HPTRS_PER_PTE (PGDIR_SIZE/HPAGE_SIZE)
268 #define pmd_num_ptrs(pmd) (PGDIR_SIZE >> pmd_page_shift(pmd))
/arch/alpha/include/asm/
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)
56 #define VMALLOC_START (-2*PGDIR_SIZE)
58 #define VMALLOC_END (-PGDIR_SIZE)

123