Home
last modified time | relevance | path

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

123

/linux-3.4.99/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
/linux-3.4.99/arch/x86/platform/efi/
Defi_64.c70 n_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT), PGDIR_SIZE); in efi_call_phys_prelog()
74 save_pgd[pgd] = *pgd_offset_k(pgd * PGDIR_SIZE); in efi_call_phys_prelog()
75 vaddress = (unsigned long)__va(pgd * PGDIR_SIZE); in efi_call_phys_prelog()
76 set_pgd(pgd_offset_k(pgd * PGDIR_SIZE), *pgd_offset_k(vaddress)); in efi_call_phys_prelog()
87 int n_pgds = DIV_ROUND_UP((max_pfn << PAGE_SHIFT) , PGDIR_SIZE); in efi_call_phys_epilog()
89 set_pgd(pgd_offset_k(pgd * PGDIR_SIZE), save_pgd[pgd]); in efi_call_phys_epilog()
/linux-3.4.99/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)
/linux-3.4.99/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)
/linux-3.4.99/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-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)
Dpgtable-nommu.h36 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
37 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/linux-3.4.99/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))
Dpgtable-ppc32.h33 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
34 #define PGDIR_MASK (~(PGDIR_SIZE-1))
49 #define USER_PTRS_PER_PGD (TASK_SIZE / PGDIR_SIZE)
/linux-3.4.99/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.h51 #define PGDIR_SIZE (_AC(1, UL) << PGDIR_SHIFT) macro
52 #define PGDIR_MASK (~(PGDIR_SIZE - 1))
/linux-3.4.99/arch/tile/include/asm/
Dpgtable_64.h21 #define PGDIR_SIZE HV_L1_SPAN macro
22 #define PGDIR_MASK (~(PGDIR_SIZE-1))
55 #define HUGE_VMAP_END (HUGE_VMAP_BASE + PGDIR_SIZE)
Dpgtable_32.h24 #define PGDIR_SIZE HV_PAGE_SIZE_LARGE macro
25 #define PGDIR_MASK (~(PGDIR_SIZE-1))
/linux-3.4.99/arch/mips/include/asm/
Dpgtable-64.h58 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
59 #define PGDIR_MASK (~(PGDIR_SIZE-1))
116 #if PGDIR_SIZE >= TASK_SIZE64
119 #define USER_PTRS_PER_PGD (TASK_SIZE64 / PGDIR_SIZE)
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)
/linux-3.4.99/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()
/linux-3.4.99/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)
/linux-3.4.99/arch/x86/kernel/
Dmachine_kexec_64.c79 end_addr = addr + PGDIR_SIZE; in init_level3_page()
112 end_addr = addr + (PTRS_PER_PGD * PGDIR_SIZE); in init_level4_page()
127 addr += PGDIR_SIZE; in init_level4_page()
132 addr += PGDIR_SIZE; in init_level4_page()
/linux-3.4.99/arch/sh/include/asm/
Dpgtable.h59 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
60 #define PGDIR_MASK (~(PGDIR_SIZE-1))
Dpgtable-2level.h21 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)
/linux-3.4.99/arch/parisc/kernel/
Dpci-dma.c118 if (end > PGDIR_SIZE) in map_pmd_uncached()
119 end = PGDIR_SIZE; in map_pmd_uncached()
148 vaddr = vaddr + PGDIR_SIZE; in map_uncached_pages()
207 if (end > PGDIR_SIZE) in unmap_uncached_pmd()
208 end = PGDIR_SIZE; in unmap_uncached_pmd()
225 vaddr = vaddr + PGDIR_SIZE; in unmap_uncached_pages()
/linux-3.4.99/arch/unicore32/mm/
Dmmu.c308 for (addr = 0; addr < MODULES_VADDR; addr += PGDIR_SIZE) in prepare_page_table()
311 for ( ; addr < PAGE_OFFSET; addr += PGDIR_SIZE) in prepare_page_table()
326 addr < VMALLOC_END; addr += PGDIR_SIZE) in prepare_page_table()
360 for (addr = VMALLOC_END; addr; addr += PGDIR_SIZE) in devicemaps_init()
/linux-3.4.99/arch/cris/include/asm/
Dpgtable.h52 #define PGDIR_SIZE (1UL << PGDIR_SHIFT) macro
53 #define PGDIR_MASK (~(PGDIR_SIZE-1))
69 #define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE)

123