Home
last modified time | relevance | path

Searched refs:mem_map (Results 1 – 22 of 22) sorted by relevance

/arch/mips/mti-malta/
Dmalta-dtshim.c30 enum mem_map { enum
71 enum mem_map map) in gen_fdt_mem_array()
137 enum mem_map mem_map; in append_memory() local
195 mem_map = config & ROCIT_CONFIG_GEN1_MEMMAP_MASK; in append_memory()
196 mem_map >>= ROCIT_CONFIG_GEN1_MEMMAP_SHIFT; in append_memory()
199 mem_map = MEM_MAP_V1; in append_memory()
201 if (mem_map > MEM_MAP_V2) in append_memory()
203 (unsigned int)mem_map); in append_memory()
214 mem_entries = gen_fdt_mem_array(mem_array, physical_memsize, mem_map); in append_memory()
220 mem_entries = gen_fdt_mem_array(mem_array, memsize, mem_map); in append_memory()
/arch/m68k/include/asm/
Dpage_no.h26 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
27 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET))
Dmotorola_pgtable.h154 #define pgd_page(pgd) (mem_map + ((unsigned long)(__va(pgd_val(pgd)) - PAGE_OFFSET) >> PAGE_SHIFT))
/arch/nios2/include/asm/
Dpage.h77 extern struct page *mem_map;
85 ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
/arch/alpha/include/asm/
Dpgtable.h207 #define page_to_pa(page) (((page) - mem_map) << PAGE_SHIFT)
240 #define pmd_page(pmd) (mem_map + ((pmd_val(pmd) & _PFN_MASK) >> 32))
241 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) & _PFN_MASK) >> 32))
/arch/powerpc/platforms/embedded6xx/
Dmpc10x.h152 unsigned long mpc10x_get_mem_size(uint mem_map);
/arch/openrisc/include/asm/
Dpage.h79 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
Dpgtable.h355 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT))
356 #define pte_page(pte) (mem_map+pte_pagenr(pte))
/arch/csky/include/asm/
Dpage.h86 #define virt_to_page(x) (mem_map + MAP_NR(x))
/arch/sh/include/asm/
Dpgtable_64.h246 #define pte_page(x) (mem_map + pte_pagenr(x))
280 set_pte(&__pte, __pte((((page)-mem_map) << PAGE_SHIFT) | \
/arch/openrisc/mm/
Dinit.c204 BUG_ON(!mem_map); in mem_init()
/arch/ia64/mm/
Dcontig.c210 printk("Virtual mem_map starts at 0x%p\n", mem_map); in paging_init()
Dinit.c648 BUG_ON(!mem_map); in mem_init()
/arch/unicore32/mm/
Dinit.c266 max_mapnr = pfn_to_page(max_pfn + PHYS_PFN_OFFSET) - mem_map; in mem_init()
/arch/mips/include/asm/mach-loongson64/
Dboot_param.h22 struct mem_map { struct
/arch/microblaze/include/asm/
Dpgtable.h306 #define pte_page(x) (mem_map + (unsigned long) \
378 pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \
/arch/nds32/mm/
Dinit.c194 BUG_ON(!mem_map); in mem_init()
/arch/x86/boot/compressed/
Deboot.c699 efi_memory_desc_t *mem_map; in exit_boot() local
707 map.map = &mem_map; in exit_boot()
/arch/riscv/mm/
Dinit.c51 BUG_ON(!mem_map); in mem_init()
/arch/arm/mm/
Dinit.c492 set_max_mapnr(pfn_to_page(max_pfn) - mem_map); in mem_init()
/arch/x86/mm/
Dinit_32.c770 BUG_ON(!mem_map); in mem_init()
/arch/x86/xen/
Dmmu_pv.c1579 BUG_ON(mem_map); /* should only be used early */ in xen_alloc_pte_init()
1589 BUG_ON(mem_map); /* should only be used early */ in xen_alloc_pmd_init()