Home
last modified time | relevance | path

Searched refs:start_pfn (Results 1 – 2 of 2) sorted by relevance

/kernel/power/
Dsnapshot.c394 unsigned long start_pfn; /* Zone start page frame */ member
553 zone->start_pfn = start; in create_zone_bm_rtree()
755 if (pfn >= zone->start_pfn && pfn < zone->end_pfn) in memory_bm_find_bit()
762 if (pfn >= curr->start_pfn && pfn < curr->end_pfn) { in memory_bm_find_bit()
784 ((pfn - zone->start_pfn) & ~BM_BLOCK_MASK) == bm->cur.node_pfn) in memory_bm_find_bit()
788 block_nr = (pfn - zone->start_pfn) >> BM_BLOCK_SHIFT; in memory_bm_find_bit()
803 bm->cur.node_pfn = (pfn - zone->start_pfn) & ~BM_BLOCK_MASK; in memory_bm_find_bit()
808 *bit_nr = (pfn - zone->start_pfn) & BM_BLOCK_MASK; in memory_bm_find_bit()
933 pages = bm->cur.zone->end_pfn - bm->cur.zone->start_pfn; in memory_bm_next_pfn()
938 pfn = bm->cur.zone->start_pfn + bm->cur.node_pfn + bit; in memory_bm_next_pfn()
[all …]
/kernel/
Dresource.c452 int walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages, in walk_system_ram_range() argument
461 start = (u64) start_pfn << PAGE_SHIFT; in walk_system_ram_range()
462 end = ((u64)(start_pfn + nr_pages) << PAGE_SHIFT) - 1; in walk_system_ram_range()