Home
last modified time | relevance | path

Searched refs:end_pfn (Results 1 – 3 of 3) sorted by relevance

/kernel/power/
Dsnapshot.c259 unsigned long end_pfn; /* pfn represented by the last bit plus 1 */ member
265 return bb->end_pfn - bb->start_pfn; in bm_block_bits()
441 bb->end_pfn = pfn; in memory_bm_create()
493 if (pfn >= bb->end_pfn) in memory_bm_find_bit()
495 if (pfn >= bb->start_pfn && pfn < bb->end_pfn) in memory_bm_find_bit()
605 unsigned long end_pfn; member
617 __register_nosave_region(unsigned long start_pfn, unsigned long end_pfn, in __register_nosave_region() argument
622 if (start_pfn >= end_pfn) in __register_nosave_region()
629 if (region->end_pfn == start_pfn) { in __register_nosave_region()
630 region->end_pfn = end_pfn; in __register_nosave_region()
[all …]
/kernel/
Dresource.c376 unsigned long pfn, end_pfn; in walk_system_ram_range() local
387 end_pfn = (res.end + 1) >> PAGE_SHIFT; in walk_system_ram_range()
388 if (end_pfn > pfn) in walk_system_ram_range()
389 ret = (*func)(pfn, end_pfn - pfn, arg); in walk_system_ram_range()
Dmodule.c1744 unsigned long end_pfn = PFN_DOWN((unsigned long)end); in set_page_attributes() local
1746 if (end_pfn > begin_pfn) in set_page_attributes()
1747 set(begin_pfn << PAGE_SHIFT, end_pfn - begin_pfn); in set_page_attributes()
1757 unsigned long end_pfn; in set_section_ro_nx() local
1774 end_pfn = PFN_UP((unsigned long)base + total_size); in set_section_ro_nx()
1775 if (end_pfn > begin_pfn) in set_section_ro_nx()
1776 set_memory_nx(begin_pfn << PAGE_SHIFT, end_pfn - begin_pfn); in set_section_ro_nx()