Home
last modified time | relevance | path

Searched refs:epfn (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/arch/ia64/mm/
Ddiscontig.c74 unsigned long spfn, epfn, end = start + len; in build_node_maps() local
76 epfn = GRANULEROUNDUP(end) >> PAGE_SHIFT; in build_node_maps()
81 mem_data[node].max_pfn = epfn; in build_node_maps()
84 mem_data[node].max_pfn = max(epfn, mem_data[node].max_pfn); in build_node_maps()
316 unsigned long spfn, epfn; in find_pernode_space() local
320 epfn = (start + len) >> 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/mm/
Dmm_init.c818 unsigned long epfn, 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()
2093 if (*epfn <= 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()
2148 t = min(mo_pfn, epfn); in deferred_init_maxorder()
2151 if (mo_pfn <= epfn) in deferred_init_maxorder()
2162 unsigned long spfn, epfn; in deferred_init_memmap_chunk() local
[all …]
Dmemblock.c1330 unsigned long epfn = PFN_DOWN(epa); in __next_mem_pfn_range_in_zone() local
1337 if (zone->zone_start_pfn < epfn && spfn < epfn) { in __next_mem_pfn_range_in_zone()
1347 *out_epfn = min(zone_end_pfn(zone), epfn); in __next_mem_pfn_range_in_zone()
/linux-6.6.21/arch/powerpc/mm/
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()
197 prev = epfn; in mark_nonram_nosave()
/linux-6.6.21/kernel/
Dkexec_core.c382 unsigned long pfn, epfn, addr, eaddr; in kimage_alloc_normal_control_pages() local
388 epfn = pfn + count; in kimage_alloc_normal_control_pages()
390 eaddr = epfn << PAGE_SHIFT; in kimage_alloc_normal_control_pages()
391 if ((epfn >= (KEXEC_CONTROL_MEMORY_LIMIT >> PAGE_SHIFT)) || in kimage_alloc_normal_control_pages()
/linux-6.6.21/arch/powerpc/kernel/
Dfadump.c1265 u64 tstart, tend, spfn, epfn; in fadump_release_reserved_area() local
1269 epfn = PHYS_PFN(end); in fadump_release_reserved_area()
1273 tend = min_t(u64, epfn, reg_epfn); in fadump_release_reserved_area()
1278 if (tend == epfn) in fadump_release_reserved_area()
/linux-6.6.21/arch/x86/mm/pat/
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()
/linux-6.6.21/include/xen/interface/
Dplatform.h452 uint64_t epfn; member