Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/mm/pat/
Dcpa-test.c57 for (i = 0; i < max_pfn_mapped; ) { in print_split()
104 max_pfn_mapped, expected); in print_split()
130 bm = vzalloc((max_pfn_mapped + 7) / 8); in pageattr_test()
139 unsigned long pfn = prandom_u32() % max_pfn_mapped; in pageattr_test()
143 len[i] = min_t(unsigned long, len[i], max_pfn_mapped - pfn - 1); in pageattr_test()
Dset_memory.c1492 PAGE_OFFSET + (max_pfn_mapped << PAGE_SHIFT))) { in __cpa_process_fault()
1600 PAGE_OFFSET + (max_pfn_mapped << PAGE_SHIFT)))) { in cpa_process_alias()
/Linux-v5.10/arch/x86/include/asm/
Dpage_types.h65 extern unsigned long max_pfn_mapped;
69 return (phys_addr_t)max_pfn_mapped << PAGE_SHIFT; in get_max_mapped()
/Linux-v5.10/arch/x86/mm/
Dinit.c129 if (min_pfn_mapped < max_pfn_mapped) { in alloc_low_pages()
132 max_pfn_mapped << PAGE_SHIFT, in alloc_low_pages()
479 max_pfn_mapped = max(max_pfn_mapped, end_pfn); in add_pfn_range_mapped()
610 max_pfn_mapped = 0; /* will get exact value next */ in memory_map_top_down()
760 early_memtest(0, max_pfn_mapped << PAGE_SHIFT); in init_mem_mapping()
Dnuma_emulation.c450 phys = memblock_find_in_range(0, PFN_PHYS(max_pfn_mapped), in numa_emulation()
Dinit_32.c698 max_pfn_mapped<<PAGE_SHIFT); in setup_bootmem_allocator()
Dnuma.c373 phys = memblock_find_in_range(0, PFN_PHYS(max_pfn_mapped), in numa_alloc_distance()
Dinit_64.c432 if (max_pfn_mapped) in cleanup_highmap()
433 vaddr_end = __START_KERNEL_map + (max_pfn_mapped << PAGE_SHIFT); in cleanup_highmap()
/Linux-v5.10/arch/x86/kernel/
Dsetup.c60 unsigned long max_pfn_mapped; variable
270 PFN_PHYS(max_pfn_mapped)); in relocate_initrd()
1079 (max_pfn_mapped<<PAGE_SHIFT) - 1); in setup_arch()
1147 dma_contiguous_reserve(max_pfn_mapped << PAGE_SHIFT); in setup_arch()
Dhead32.c112 ptr = (unsigned long *)__pa(&max_pfn_mapped); in mk_early_pgtbl_32()
/Linux-v5.10/arch/x86/xen/
Dsetup.c435 for (pfn = start_pfn; pfn <= max_pfn_mapped && pfn < end_pfn; pfn++) in xen_set_identity_and_remap_chunk()
Dmmu_pv.c1688 max_pfn_mapped = xen_start_info->first_p2m_pfn; in xen_setup_kernel_pagetable()
1690 max_pfn_mapped = PFN_DOWN(__pa(xen_start_info->mfn_list)); in xen_setup_kernel_pagetable()