Home
last modified time | relevance | path

Searched refs:PMD_SIZE (Results 1 – 25 of 41) sorted by relevance

12

/arch/sparc/mm/
Dgeneric_32.c32 if (end > PMD_SIZE) in io_remap_pte_range()
33 end = PMD_SIZE; in io_remap_pte_range()
57 address = (address + PMD_SIZE) & PMD_MASK; in io_remap_pmd_range()
Dgeneric_64.c36 if (end > PMD_SIZE) in io_remap_pte_range()
37 end = PMD_SIZE; in io_remap_pte_range()
100 address = (address + PMD_SIZE) & PMD_MASK; in io_remap_pmd_range()
/arch/m68k/include/asm/
Dpgtable_mm.h37 #define PMD_SIZE (1UL << PMD_SHIFT) macro
38 #define PMD_MASK (~(PMD_SIZE-1))
/arch/parisc/kernel/
Dpci-dma.c90 if (end > PMD_SIZE) in map_pte_uncached()
91 end = PMD_SIZE; in map_pte_uncached()
123 vaddr = (vaddr + PMD_SIZE) & PMD_MASK; in map_pmd_uncached()
124 orig_vaddr += PMD_SIZE; in map_pmd_uncached()
168 if (end > PMD_SIZE) in unmap_uncached_pte()
169 end = PMD_SIZE; in unmap_uncached_pte()
206 vaddr = (vaddr + PMD_SIZE) & PMD_MASK; in unmap_uncached_pmd()
207 orig_vaddr += PMD_SIZE; in unmap_uncached_pmd()
/arch/x86/mm/
Dinit_64.c237 for (; size; phys += PMD_SIZE, size -= PMD_SIZE) { in __init_extra_mapping()
282 unsigned long end = roundup((unsigned long)_end, PMD_SIZE) - 1; in cleanup_highmap()
286 for (; pmd < last_pmd; pmd++, vaddr += PMD_SIZE) { in cleanup_highmap()
389 for (; i < PTRS_PER_PMD; i++, address += PMD_SIZE) { in phys_pmd_init()
437 last_map_addr = (address & PMD_MASK) + PMD_SIZE; in phys_pmd_init()
560 pmds = (extra + PMD_SIZE - 1) >> PMD_SHIFT; in find_early_table_space()
562 pmds = (end + PMD_SIZE - 1) >> PMD_SHIFT; in find_early_table_space()
715 end_pfn = ((pos + (PMD_SIZE - 1)) >> PMD_SHIFT) in init_memory_mapping()
725 start_pfn = ((pos + (PMD_SIZE - 1))>>PMD_SHIFT) in init_memory_mapping()
749 start_pfn = ((pos + (PMD_SIZE - 1))>>PMD_SHIFT) in init_memory_mapping()
[all …]
Dinit_32.c213 vaddr += PMD_SIZE; in page_table_range_init()
555 end = (FIXADDR_TOP + PMD_SIZE - 1) & PMD_MASK; in early_ioremap_page_table_range_init()
831 pmds = (end + PMD_SIZE - 1) >> PMD_SHIFT; in find_early_table_space()
838 extra += PMD_SIZE; in find_early_table_space()
913 big_page_start = PMD_SIZE; in init_memory_mapping()
921 end_pfn = ((start + (PMD_SIZE - 1))>>PMD_SHIFT) in init_memory_mapping()
928 start_pfn = ((start + (PMD_SIZE - 1))>>PMD_SHIFT) in init_memory_mapping()
Dpgtable_32.c74 if (vaddr & (PMD_SIZE-1)) { /* vaddr is misaligned */ in set_pmd_pfn()
Dhugetlbpage.c140 BUG_ON(sz != PMD_SIZE); in huge_pte_alloc()
432 if (ps == PMD_SIZE) { in setup_hugepagesz()
/arch/mips/mm/
Dioremap.c28 if (end > PMD_SIZE) in remap_area_pte()
29 end = PMD_SIZE; in remap_area_pte()
62 address = (address + PMD_SIZE) & PMD_MASK; in remap_area_pmd()
/arch/powerpc/include/asm/
Dpgtable-4k.h27 #define PMD_SIZE (1UL << PMD_SHIFT) macro
28 #define PMD_MASK (~(PMD_SIZE-1))
Dpgtable-64k.h64 #define PMD_SIZE (1UL << PMD_SHIFT) macro
65 #define PMD_MASK (~(PMD_SIZE-1))
/arch/x86/include/asm/
Dpgtable_32.h43 # define PMD_SIZE (1UL << PMD_SHIFT) macro
44 # define PMD_MASK (~(PMD_SIZE - 1))
Dpgtable_64.h141 #define PMD_SIZE (_AC(1, UL) << PMD_SHIFT) macro
142 #define PMD_MASK (~(PMD_SIZE - 1))
/arch/um/include/asm/
Dpgtable-3level.h27 #define PMD_SIZE (1UL << PMD_SHIFT) macro
28 #define PMD_MASK (~(PMD_SIZE-1))
/arch/x86/kernel/
Defi_64.c50 end = (end + PMD_SIZE - 1) & PMD_MASK; in early_mapping_set_exec()
/arch/mips/include/asm/
Dpgtable-64.h42 #define PMD_SIZE (1UL << PMD_SHIFT) macro
43 #define PMD_MASK (~(PMD_SIZE-1))
/arch/sh/mm/
Dinit.c113 end = (end + PMD_SIZE - 1) & PMD_MASK; in page_table_range_init()
129 vaddr += PMD_SIZE; in page_table_range_init()
/arch/mn10300/mm/
Dpgtable.c42 if (vaddr & (PMD_SIZE-1)) { /* vaddr is misaligned */ in set_pmd_pfn()
/arch/x86/vdso/
Dvma.c87 end = (start + PMD_SIZE - 1) & PMD_MASK; in vdso_addr()
/arch/x86/power/
Dhibernate_64.c58 for (j = 0; j < PTRS_PER_PMD; pmd++, j++, paddr += PMD_SIZE) { in res_phys_pud_init()
/arch/avr32/include/asm/
Dpgtable.h27 #define PMD_SIZE (1UL << PMD_SHIFT) macro
28 #define PMD_MASK (~(PMD_SIZE-1))
/arch/arm/include/asm/
Dpgtable.h124 #define PMD_SIZE (1UL << PMD_SHIFT) macro
125 #define PMD_MASK (~(PMD_SIZE-1))
/arch/m68k/sun3x/
Ddvma.c125 end3 = (vaddr + (PMD_SIZE-1)) & PMD_MASK; in dvma_map_cpu()
/arch/alpha/include/asm/
Dpgtable.h31 #define PMD_SIZE (1UL << PMD_SHIFT) macro
32 #define PMD_MASK (~(PMD_SIZE-1))
/arch/sparc/include/asm/
Dpgtable_32.h49 #define PMD_SIZE (1UL << PMD_SHIFT) macro
50 #define PMD_MASK (~(PMD_SIZE-1))

12