Home
last modified time | relevance | path

Searched refs:PTRS_PER_PMD (Results 1 – 25 of 59) sorted by relevance

123

/linux-2.6.39/arch/mips/include/asm/
Dpgtable-64.h112 #define PTRS_PER_PMD ((PAGE_SIZE << PMD_ORDER) / sizeof(pmd_t)) macro
131 min(PTRS_PER_PGD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \
164 extern pmd_t invalid_pmd_table[PTRS_PER_PMD];
165 extern pmd_t empty_bad_pmd_table[PTRS_PER_PMD];
231 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))
/linux-2.6.39/arch/sh/include/asm/
Dpgtable-3level.h25 #define PTRS_PER_PMD ((1 << PGDIR_SHIFT) / PMD_SIZE) macro
39 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))
/linux-2.6.39/arch/m68k/include/asm/
Dpgtable_mm.h55 #define PTRS_PER_PMD 1 macro
59 #define PTRS_PER_PMD 8 macro
/linux-2.6.39/arch/mn10300/mm/
Dpgtable.c128 if (PTRS_PER_PMD == 1) in pgd_ctor()
135 if (PTRS_PER_PMD > 1) in pgd_ctor()
/linux-2.6.39/arch/frv/mm/
Dpgalloc.c109 if (PTRS_PER_PMD == 1) in pgd_ctor()
116 if (PTRS_PER_PMD > 1) in pgd_ctor()
/linux-2.6.39/arch/um/include/asm/
Dpgtable-3level.h36 #define PTRS_PER_PMD 512 macro
39 #define PTRS_PER_PMD 1024 macro
/linux-2.6.39/arch/parisc/mm/
Dinit.c649 #if PTRS_PER_PMD == 1 in map_pages()
652 start_pmd = ((start_vaddr >> PMD_SHIFT) & (PTRS_PER_PMD - 1)); in map_pages()
658 #if PTRS_PER_PMD == 1 in map_pages()
679 for (tmp1 = start_pmd; tmp1 < PTRS_PER_PMD; tmp1++,pmd++) { in map_pages()
814 #if PTRS_PER_PMD == 1 in map_hpux_gateway_page()
817 start_pmd = ((hpux_gw_page_addr >> PMD_SHIFT) & (PTRS_PER_PMD - 1)); in map_hpux_gateway_page()
822 #if PTRS_PER_PMD == 1 in map_hpux_gateway_page()
/linux-2.6.39/arch/x86/include/asm/
Dpgtable-3level_types.h40 #define PTRS_PER_PMD 512 macro
Dpgtable_64_types.h40 #define PTRS_PER_PMD 512 macro
/linux-2.6.39/arch/x86/mm/
Ddump_pagetables.c88 #define PUD_LEVEL_MULT (PTRS_PER_PMD * PMD_LEVEL_MULT)
235 #if PTRS_PER_PMD > 1
244 for (i = 0; i < PTRS_PER_PMD; i++) { in walk_pmd_level()
/linux-2.6.39/arch/powerpc/include/asm/
Dpgtable-ppc64-64k.h19 #define PTRS_PER_PMD (1 << PMD_INDEX_SIZE) macro
Dpgtable-ppc64-4k.h21 #define PTRS_PER_PMD (1 << PMD_INDEX_SIZE) macro
/linux-2.6.39/arch/parisc/kernel/
Dinit_task.c56 pmd_t pmd0[PTRS_PER_PMD] __attribute__ ((__section__ (".data..vm0.pmd"), aligned(PAGE_SIZE)));
/linux-2.6.39/arch/x86/xen/
Dmmu.c822 #if PTRS_PER_PMD > 1 in __xen_pgd_walk()
854 if (PTRS_PER_PMD > 1) /* not folded */ in __xen_pgd_walk()
857 for (pmdidx = 0; pmdidx < PTRS_PER_PMD; pmdidx++) { in __xen_pgd_walk()
1703 for (pmdidx = 0; pmdidx < PTRS_PER_PMD && pfn < max_pfn; pmdidx++) { in xen_map_identity_early()
1798 memcpy(level2_ident_pgt, l2, sizeof(pmd_t) * PTRS_PER_PMD); in xen_setup_kernel_pagetable()
1799 memcpy(level2_kernel_pgt, l2, sizeof(pmd_t) * PTRS_PER_PMD); in xen_setup_kernel_pagetable()
1803 memcpy(level2_fixmap_pgt, l2, sizeof(pmd_t) * PTRS_PER_PMD); in xen_setup_kernel_pagetable()
1843 static RESERVE_BRK_ARRAY(pmd_t, initial_kernel_pmd, PTRS_PER_PMD);
1844 static RESERVE_BRK_ARRAY(pmd_t, swapper_kernel_pmd, PTRS_PER_PMD);
1864 extend_brk(sizeof(pmd_t) * PTRS_PER_PMD, PAGE_SIZE); in xen_write_cr3_init()
[all …]
/linux-2.6.39/arch/sh/mm/
Dpgtable.c27 PTRS_PER_PMD * (1<<PTE_MAGNITUDE), in pgtable_cache_init()
/linux-2.6.39/arch/mips/mm/
Dpgtable-64.c48 end = p + PTRS_PER_PMD; in pmd_init()
Dinit.c286 for (; (k < PTRS_PER_PMD) && (vaddr != end); pmd++, k++) { in fixrange_init()
482 pmd_t invalid_pmd_table[PTRS_PER_PMD] __page_aligned(PMD_ORDER);
/linux-2.6.39/include/asm-generic/
Dpgtable-nopmd.h20 #define PTRS_PER_PMD 1 macro
/linux-2.6.39/arch/unicore32/kernel/
Dhibernate.c93 for (pmd_idx = 0; pmd_idx < PTRS_PER_PMD; pmd++, pmd_idx++) { in resume_physical_mapping_init()
/linux-2.6.39/arch/m32r/include/asm/
Dpgtable-2level.h17 #define PTRS_PER_PMD 1 macro
/linux-2.6.39/arch/x86/power/
Dhibernate_32.c104 for (pmd_idx = 0; pmd_idx < PTRS_PER_PMD; pmd++, pmd_idx++) { in resume_physical_mapping_init()
Dhibernate_64.c60 for (j = 0; j < PTRS_PER_PMD; pmd++, j++, paddr += PMD_SIZE) { in res_phys_pud_init()
/linux-2.6.39/arch/x86/kernel/
Dhead_64.S112 andq $(PTRS_PER_PMD - 1), %rax
379 PMDS(0, __PAGE_KERNEL_IDENT_LARGE_EXEC, PTRS_PER_PMD)
/linux-2.6.39/arch/m68k/mm/
Dmemory.c36 #define PTABLE_SIZE (PTRS_PER_PMD * sizeof(pmd_t))
/linux-2.6.39/arch/s390/include/asm/
Dpgtable.h103 #define PTRS_PER_PMD 1 macro
106 #define PTRS_PER_PMD 2048 macro
1048 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))

123