Home
last modified time | relevance | path

Searched refs:max_pfn_mapped (Results 1 – 12 of 12) sorted by relevance

/arch/x86/mm/
Dpageattr-test.c56 for (i = 0; i < max_pfn_mapped; ) { in print_split()
103 max_pfn_mapped, expected); in print_split()
127 bm = vzalloc((max_pfn_mapped + 7) / 8); in pageattr_test()
136 unsigned long pfn = prandom_u32() % max_pfn_mapped; in pageattr_test()
140 len[i] = min_t(unsigned long, len[i], max_pfn_mapped - pfn - 1); in pageattr_test()
Dinit.c100 if (min_pfn_mapped >= max_pfn_mapped) in alloc_low_pages()
103 max_pfn_mapped << PAGE_SHIFT, in alloc_low_pages()
373 max_pfn_mapped = max(max_pfn_mapped, end_pfn); in add_pfn_range_mapped()
503 max_pfn_mapped = 0; /* will get exact value next */ in memory_map_top_down()
624 early_memtest(0, max_pfn_mapped << PAGE_SHIFT); in init_mem_mapping()
Dnuma_emulation.c360 phys = memblock_find_in_range(0, PFN_PHYS(max_pfn_mapped), in numa_emulation()
Dinit_64.c390 if (max_pfn_mapped) in cleanup_highmap()
391 vaddr_end = __START_KERNEL_map + (max_pfn_mapped << PAGE_SHIFT); in cleanup_highmap()
Dinit_32.c687 max_pfn_mapped<<PAGE_SHIFT); in setup_bootmem_allocator()
Dnuma.c365 phys = memblock_find_in_range(0, PFN_PHYS(max_pfn_mapped), in numa_alloc_distance()
Dpageattr.c1168 PAGE_OFFSET + (max_pfn_mapped << PAGE_SHIFT))) { in __cpa_process_fault()
1316 PAGE_OFFSET + (max_pfn_mapped << PAGE_SHIFT)))) { in cpa_process_alias()
/arch/x86/include/asm/
Dpage_types.h59 extern unsigned long max_pfn_mapped;
63 return (phys_addr_t)max_pfn_mapped << PAGE_SHIFT; in get_max_mapped()
/arch/x86/kernel/
Dsetup.c125 unsigned long max_pfn_mapped; variable
330 relocated_ramdisk = memblock_find_in_range(0, PFN_PHYS(max_pfn_mapped), in relocate_initrd()
380 mapped_size = memblock_mem_size(max_pfn_mapped); in reserve_initrd()
1129 (max_pfn_mapped<<PAGE_SHIFT) - 1); in setup_arch()
1174 dma_contiguous_reserve(max_pfn_mapped << PAGE_SHIFT); in setup_arch()
Dhead_32.S209 movl %eax, pa(max_pfn_mapped)
240 movl %eax, pa(max_pfn_mapped)
/arch/x86/xen/
Dmmu.c1845 if (pfn > max_pfn_mapped) in xen_map_identity_early()
1846 max_pfn_mapped = pfn; in xen_map_identity_early()
1927 max_pfn_mapped = xen_start_info->first_p2m_pfn; in xen_setup_kernel_pagetable()
1929 max_pfn_mapped = PFN_DOWN(__pa(xen_start_info->mfn_list)); in xen_setup_kernel_pagetable()
2273 max_pfn_mapped = PFN_DOWN(xen_pt_base + xen_pt_size + 512 * 1024); in xen_setup_kernel_pagetable()
Dsetup.c436 for (pfn = start_pfn; pfn <= max_pfn_mapped && pfn < end_pfn; pfn++) in xen_set_identity_and_remap_chunk()