Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/arch/powerpc/mm/
Dmem.c155 unsigned long spfn, epfn, prev = 0; in mark_nonram_nosave() local
158 for_each_mem_pfn_range(i, MAX_NUMNODES, &spfn, &epfn, NULL) { in mark_nonram_nosave()
162 prev = epfn; in mark_nonram_nosave()
/Linux-v5.15/kernel/
Dkexec_core.c378 unsigned long pfn, epfn, addr, eaddr; in kimage_alloc_normal_control_pages() local
384 epfn = pfn + count; in kimage_alloc_normal_control_pages()
386 eaddr = epfn << PAGE_SHIFT; in kimage_alloc_normal_control_pages()
387 if ((epfn >= (KEXEC_CONTROL_MEMORY_LIMIT >> PAGE_SHIFT)) || in kimage_alloc_normal_control_pages()
/Linux-v5.15/mm/
Dpage_alloc.c1935 unsigned long *spfn, unsigned long *epfn, in deferred_init_mem_pfn_range_in_zone() argument
1945 for_each_free_mem_pfn_range_in_zone(j, zone, spfn, epfn) { in deferred_init_mem_pfn_range_in_zone()
1946 if (*epfn <= first_init_pfn) in deferred_init_mem_pfn_range_in_zone()
1972 unsigned long spfn = *start_pfn, epfn = *end_pfn; in deferred_init_maxorder() local
1995 for_each_free_mem_pfn_range_in_zone_from(j, zone, &spfn, &epfn) { in deferred_init_maxorder()
2001 t = min(mo_pfn, epfn); in deferred_init_maxorder()
2004 if (mo_pfn <= epfn) in deferred_init_maxorder()
2015 unsigned long spfn, epfn; in deferred_init_memmap_chunk() local
2019 deferred_init_mem_pfn_range_in_zone(&i, zone, &spfn, &epfn, start_pfn); in deferred_init_memmap_chunk()
2026 deferred_init_maxorder(&i, zone, &spfn, &epfn); in deferred_init_memmap_chunk()
[all …]
Dmemblock.c1283 unsigned long epfn = PFN_DOWN(epa); in __next_mem_pfn_range_in_zone() local
1290 if (zone->zone_start_pfn < epfn && spfn < epfn) { in __next_mem_pfn_range_in_zone()
1300 *out_epfn = min(zone_end_pfn(zone), epfn); in __next_mem_pfn_range_in_zone()
/Linux-v5.15/arch/powerpc/kernel/
Dfadump.c1240 u64 tstart, tend, spfn, epfn; in fadump_release_reserved_area() local
1244 epfn = PHYS_PFN(end); in fadump_release_reserved_area()
1248 tend = min_t(u64, epfn, reg_epfn); in fadump_release_reserved_area()
1253 if (tend == epfn) in fadump_release_reserved_area()
/Linux-v5.15/arch/x86/mm/pat/
Dset_memory.c411 static pgprotval_t protect_pci_bios(unsigned long spfn, unsigned long epfn) in protect_pci_bios() argument
413 if (pcibios_enabled && overlaps(spfn, epfn, BIOS_PFN, BIOS_PFN_END)) in protect_pci_bios()
418 static pgprotval_t protect_pci_bios(unsigned long spfn, unsigned long epfn) in protect_pci_bios() argument
429 static pgprotval_t protect_rodata(unsigned long spfn, unsigned long epfn) in protect_rodata() argument
439 if (kernel_set_to_readonly && overlaps(spfn, epfn, spfn_ro, epfn_ro)) in protect_rodata()
/Linux-v5.15/include/xen/interface/
Dplatform.h469 uint64_t epfn; member