Searched refs:spfn (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/mm/ |
D | mm_init.c | 817 static void __init init_unavailable_range(unsigned long spfn, in init_unavailable_range() argument 824 for (pfn = spfn; pfn < epfn; pfn++) { in init_unavailable_range() 2082 unsigned long *spfn, unsigned long *epfn, in deferred_init_mem_pfn_range_in_zone() argument 2092 for_each_free_mem_pfn_range_in_zone(j, zone, spfn, epfn) { in deferred_init_mem_pfn_range_in_zone() 2095 if (*spfn < first_init_pfn) in deferred_init_mem_pfn_range_in_zone() 2096 *spfn = first_init_pfn; in deferred_init_mem_pfn_range_in_zone() 2119 unsigned long spfn = *start_pfn, epfn = *end_pfn; in deferred_init_maxorder() local 2142 for_each_free_mem_pfn_range_in_zone_from(j, zone, &spfn, &epfn) { in deferred_init_maxorder() 2145 if (mo_pfn <= spfn) in deferred_init_maxorder() 2149 deferred_free_pages(spfn, t); in deferred_init_maxorder() [all …]
|
D | memblock.c | 1331 unsigned long spfn = PFN_UP(spa); in __next_mem_pfn_range_in_zone() local 1337 if (zone->zone_start_pfn < epfn && spfn < epfn) { in __next_mem_pfn_range_in_zone() 1339 if (zone_end_pfn(zone) <= spfn) { in __next_mem_pfn_range_in_zone() 1345 *out_spfn = max(zone->zone_start_pfn, spfn); in __next_mem_pfn_range_in_zone()
|
/linux-6.6.21/arch/ia64/mm/ |
D | discontig.c | 74 unsigned long spfn, epfn, end = start + len; in build_node_maps() local 77 spfn = GRANULEROUNDDOWN(start) >> PAGE_SHIFT; in build_node_maps() 80 mem_data[node].min_pfn = spfn; in build_node_maps() 83 mem_data[node].min_pfn = min(spfn, mem_data[node].min_pfn); in build_node_maps() 316 unsigned long spfn, epfn; in find_pernode_space() local 319 spfn = start >> PAGE_SHIFT; in find_pernode_space() 326 if (spfn < mem_data[node].min_pfn || epfn > mem_data[node].max_pfn) in find_pernode_space()
|
/linux-6.6.21/arch/powerpc/mm/ |
D | mem.c | 190 unsigned long spfn, epfn, prev = 0; in mark_nonram_nosave() local 193 for_each_mem_pfn_range(i, MAX_NUMNODES, &spfn, &epfn, NULL) { in mark_nonram_nosave() 194 if (prev && prev < spfn) in mark_nonram_nosave() 195 register_nosave_region(prev, spfn); in mark_nonram_nosave()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | fadump.c | 1265 u64 tstart, tend, spfn, epfn; in fadump_release_reserved_area() local 1268 spfn = PHYS_PFN(start); in fadump_release_reserved_area() 1272 tstart = max_t(u64, spfn, reg_spfn); in fadump_release_reserved_area() 1281 spfn = tend; in fadump_release_reserved_area()
|
/linux-6.6.21/arch/x86/mm/pat/ |
D | set_memory.c | 450 static pgprotval_t protect_pci_bios(unsigned long spfn, unsigned long epfn) in protect_pci_bios() argument 452 if (pcibios_enabled && overlaps(spfn, epfn, BIOS_PFN, BIOS_PFN_END)) in protect_pci_bios() 457 static pgprotval_t protect_pci_bios(unsigned long spfn, unsigned long epfn) in protect_pci_bios() argument 468 static pgprotval_t protect_rodata(unsigned long spfn, unsigned long epfn) in protect_rodata() argument 478 if (kernel_set_to_readonly && overlaps(spfn, epfn, spfn_ro, epfn_ro)) in protect_rodata()
|
/linux-6.6.21/include/xen/interface/ |
D | platform.h | 451 uint64_t spfn; member
|