Home
last modified time | relevance | path

Searched refs:spfn (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/mm/
H A Dmm_init.c2095 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()
2145 if (mo_pfn <= spfn) in deferred_init_maxorder()
2149 deferred_free_pages(spfn, t); in deferred_init_maxorder()
2162 unsigned long spfn, epfn; in deferred_init_memmap_chunk() local
2172 while (spfn < end_pfn) { in deferred_init_memmap_chunk()
2235 while (spfn < epfn) { in deferred_init_memmap()
2240 .start = spfn, in deferred_init_memmap()
2282 unsigned long spfn, epfn, flags; in deferred_grow_zone() local
2315 while (spfn < epfn) { in deferred_grow_zone()
[all …]
H A Dmemblock.c1331 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()
/openbmc/linux/arch/ia64/mm/
H A Ddiscontig.c74 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()
/openbmc/linux/arch/powerpc/mm/
H A Dmem.c190 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()
/openbmc/linux/arch/powerpc/kernel/
H A Dfadump.c1265 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()
/openbmc/linux/arch/x86/mm/pat/
H A Dset_memory.c450 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()
/openbmc/linux/include/xen/interface/
H A Dplatform.h451 uint64_t spfn; member