Searched refs:PFN_PHYS (Results 1 – 16 of 16) sorted by relevance
/arch/m32r/mm/ |
D | discontig.c | 89 free_bootmem_node(NODE_DATA(nid), PFN_PHYS(mp->start_pfn), in setup_memory() 90 PFN_PHYS(mp->pages)); in setup_memory() 92 reserve_bootmem_node(NODE_DATA(nid), PFN_PHYS(mp->start_pfn), in setup_memory() 93 PFN_PHYS(mp->free_pfn - mp->start_pfn) + bootmap_size, in setup_memory() 105 if (INITRD_START + INITRD_SIZE <= PFN_PHYS(max_low_pfn)) { in setup_memory() 116 (unsigned long long)PFN_PHYS(max_low_pfn)); in setup_memory()
|
D | init.c | 155 high_memory = (void *)__va(PFN_PHYS(MAX_LOW_PFN(0))); in mem_init()
|
/arch/alpha/mm/ |
D | numa.c | 226 free_bootmem_node(NODE_DATA(nid), PFN_PHYS(start), in setup_memory_node() 227 (PFN_PHYS(start_kernel_pfn) in setup_memory_node() 228 - PFN_PHYS(start))); in setup_memory_node() 239 free_bootmem_node(NODE_DATA(nid), PFN_PHYS(start), PFN_PHYS(end) - PFN_PHYS(start)); in setup_memory_node() 244 reserve_bootmem_node(NODE_DATA(nid), PFN_PHYS(bootmap_start), in setup_memory_node() 274 if ((void *)initrd_end > phys_to_virt(PFN_PHYS(max_low_pfn))) { in setup_memory() 275 if (!move_initrd(PFN_PHYS(max_low_pfn))) in setup_memory() 279 phys_to_virt(PFN_PHYS(max_low_pfn))); in setup_memory()
|
/arch/mn10300/kernel/ |
D | setup.c | 141 #define PFN_PHYS(x) ((x) << PAGE_SHIFT) in setup_arch() macro 154 free_bootmem(PFN_PHYS(start_pfn), in setup_arch() 155 PFN_PHYS(kstart_pfn - start_pfn)); in setup_arch() 157 free_bootmem(PFN_PHYS(free_pfn), in setup_arch() 158 PFN_PHYS(end_pfn - free_pfn)); in setup_arch() 167 reserve_bootmem(PAGE_ALIGN(PFN_PHYS(free_pfn)), bootmap_size, in setup_arch()
|
/arch/cris/kernel/ |
D | setup.c | 130 free_bootmem(PFN_PHYS(start_pfn), PFN_PHYS(max_pfn - start_pfn)); in setup_arch() 141 reserve_bootmem(PFN_PHYS(start_pfn), bootmap_size, BOOTMEM_DEFAULT); in setup_arch()
|
/arch/sh/kernel/ |
D | setup.c | 142 free_bootmem(PFN_PHYS(curr_pfn), PFN_PHYS(pages)); in register_bootmem_low_pages() 260 (PFN_PHYS(free_pfn) + bootmap_size + PAGE_SIZE - 1) - in setup_bootmem_allocator() 279 if (initrd_start_phys + INITRD_SIZE <= PFN_PHYS(max_low_pfn)) { in setup_bootmem_allocator() 288 (unsigned long)PFN_PHYS(max_low_pfn)); in setup_bootmem_allocator()
|
/arch/avr32/kernel/ |
D | setup.c | 508 free_bootmem_node (NODE_DATA(node), PFN_PHYS(first_pfn), in setup_bootmem() 509 PFN_PHYS(pages)); in setup_bootmem() 513 PFN_PHYS(bootmap_pfn), in setup_bootmem() 519 if (res->start > PFN_PHYS(max_pfn)) in setup_bootmem() 527 if (res->start >= PFN_PHYS(first_pfn) in setup_bootmem() 528 && res->end < PFN_PHYS(max_pfn)) in setup_bootmem()
|
/arch/x86/include/asm/xen/ |
D | page.h | 84 return XMADDR(PFN_PHYS(pfn_to_mfn(PFN_DOWN(phys.paddr))) | offset); in phys_to_machine() 90 return XPADDR(PFN_PHYS(mfn_to_pfn(PFN_DOWN(machine.maddr))) | offset); in machine_to_phys()
|
/arch/alpha/kernel/ |
D | setup.c | 417 free_bootmem(PFN_PHYS(start), in setup_memory() 418 (PFN_PHYS(start_kernel_pfn) in setup_memory() 419 - PFN_PHYS(start))); in setup_memory() 430 free_bootmem(PFN_PHYS(start), PFN_PHYS(end) - PFN_PHYS(start)); in setup_memory() 435 reserve_bootmem(PFN_PHYS(bootmap_start), bootmap_size, in setup_memory() 446 if ((void *)initrd_end > phys_to_virt(PFN_PHYS(max_low_pfn))) { in setup_memory() 447 if (!move_initrd(PFN_PHYS(max_low_pfn))) in setup_memory() 451 phys_to_virt(PFN_PHYS(max_low_pfn))); in setup_memory()
|
/arch/m32r/kernel/ |
D | setup.c | 168 free_bootmem(PFN_PHYS(curr_pfn), PFN_PHYS(pages)); in setup_memory() 179 (PFN_PHYS(start_pfn) + bootmap_size + PAGE_SIZE - 1) in setup_memory()
|
/arch/s390/kernel/ |
D | setup.c | 588 bmap_size = PFN_PHYS(bmap_size); in setup_memory() 590 if (PFN_PHYS(start_pfn) + bmap_size > INITRD_START) { in setup_memory() 591 start = PFN_PHYS(start_pfn) + bmap_size + PAGE_SIZE; in setup_memory() 633 page_set_storage_key(PFN_PHYS(pfn), PAGE_DEFAULT_KEY); in setup_memory() 645 PFN_PHYS(start_pfn) - (unsigned long)_stext, in setup_memory()
|
/arch/mips/kernel/ |
D | setup.c | 226 if (__pa(initrd_end) > PFN_PHYS(max_low_pfn)) { in finalize_initrd() 404 free_bootmem(PFN_PHYS(start), size << PAGE_SHIFT); in bootmem_init() 411 reserve_bootmem(PFN_PHYS(mapstart), bootmap_size, BOOTMEM_DEFAULT); in bootmem_init()
|
/arch/x86/xen/ |
D | setup.c | 48 e820_add_region(0, PFN_PHYS((u64)max_pfn), E820_RAM); in xen_memory_setup()
|
D | enlighten.c | 277 void *av = __va(PFN_PHYS(pfn)); in set_aliased_prot() 839 make_lowmem_page_readonly(__va(PFN_PHYS(pfn))); in xen_alloc_pte_init() 846 make_lowmem_page_readwrite(__va(PFN_PHYS(pfn))); in xen_release_pte_init() 869 make_lowmem_page_readonly(__va(PFN_PHYS((unsigned long)pfn))); in xen_alloc_ptpage() 941 make_lowmem_page_readwrite(__va(PFN_PHYS(pfn))); in xen_release_ptpage()
|
/arch/blackfin/kernel/ |
D | setup.c | 698 free_bootmem(PFN_PHYS(curr_pfn), PFN_PHYS(size)); in setup_bootmem_allocator()
|
/arch/mips/mm/ |
D | init.c | 462 void *addr = phys_to_virt(PFN_PHYS(pfn)); in free_init_pages()
|