/linux-2.6.39/arch/mips/include/asm/ |
D | pgtable-64.h | 112 #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/ |
D | pgtable-3level.h | 25 #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/ |
D | pgtable_mm.h | 55 #define PTRS_PER_PMD 1 macro 59 #define PTRS_PER_PMD 8 macro
|
/linux-2.6.39/arch/mn10300/mm/ |
D | pgtable.c | 128 if (PTRS_PER_PMD == 1) in pgd_ctor() 135 if (PTRS_PER_PMD > 1) in pgd_ctor()
|
/linux-2.6.39/arch/frv/mm/ |
D | pgalloc.c | 109 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/ |
D | pgtable-3level.h | 36 #define PTRS_PER_PMD 512 macro 39 #define PTRS_PER_PMD 1024 macro
|
/linux-2.6.39/arch/parisc/mm/ |
D | init.c | 649 #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/ |
D | pgtable-3level_types.h | 40 #define PTRS_PER_PMD 512 macro
|
D | pgtable_64_types.h | 40 #define PTRS_PER_PMD 512 macro
|
/linux-2.6.39/arch/x86/mm/ |
D | dump_pagetables.c | 88 #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/ |
D | pgtable-ppc64-64k.h | 19 #define PTRS_PER_PMD (1 << PMD_INDEX_SIZE) macro
|
D | pgtable-ppc64-4k.h | 21 #define PTRS_PER_PMD (1 << PMD_INDEX_SIZE) macro
|
/linux-2.6.39/arch/parisc/kernel/ |
D | init_task.c | 56 pmd_t pmd0[PTRS_PER_PMD] __attribute__ ((__section__ (".data..vm0.pmd"), aligned(PAGE_SIZE)));
|
/linux-2.6.39/arch/x86/xen/ |
D | mmu.c | 822 #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/ |
D | pgtable.c | 27 PTRS_PER_PMD * (1<<PTE_MAGNITUDE), in pgtable_cache_init()
|
/linux-2.6.39/arch/mips/mm/ |
D | pgtable-64.c | 48 end = p + PTRS_PER_PMD; in pmd_init()
|
D | init.c | 286 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/ |
D | pgtable-nopmd.h | 20 #define PTRS_PER_PMD 1 macro
|
/linux-2.6.39/arch/unicore32/kernel/ |
D | hibernate.c | 93 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/ |
D | pgtable-2level.h | 17 #define PTRS_PER_PMD 1 macro
|
/linux-2.6.39/arch/x86/power/ |
D | hibernate_32.c | 104 for (pmd_idx = 0; pmd_idx < PTRS_PER_PMD; pmd++, pmd_idx++) { in resume_physical_mapping_init()
|
D | hibernate_64.c | 60 for (j = 0; j < PTRS_PER_PMD; pmd++, j++, paddr += PMD_SIZE) { in res_phys_pud_init()
|
/linux-2.6.39/arch/x86/kernel/ |
D | head_64.S | 112 andq $(PTRS_PER_PMD - 1), %rax 379 PMDS(0, __PAGE_KERNEL_IDENT_LARGE_EXEC, PTRS_PER_PMD)
|
/linux-2.6.39/arch/m68k/mm/ |
D | memory.c | 36 #define PTABLE_SIZE (PTRS_PER_PMD * sizeof(pmd_t))
|
/linux-2.6.39/arch/s390/include/asm/ |
D | pgtable.h | 103 #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))
|