Home
last modified time | relevance | path

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

/kernel/power/
Dsnapshot.c361 unsigned long start_pfn; /* Zone start page frame */ member
515 zone->start_pfn = start; in create_zone_bm_rtree()
716 if (pfn >= zone->start_pfn && pfn < zone->end_pfn) in memory_bm_find_bit()
723 if (pfn >= curr->start_pfn && pfn < curr->end_pfn) { in memory_bm_find_bit()
745 ((pfn - zone->start_pfn) & ~BM_BLOCK_MASK) == bm->cur.node_pfn) in memory_bm_find_bit()
749 block_nr = (pfn - zone->start_pfn) >> BM_BLOCK_SHIFT; in memory_bm_find_bit()
764 bm->cur.node_pfn = (pfn - zone->start_pfn) & ~BM_BLOCK_MASK; in memory_bm_find_bit()
768 *bit_nr = (pfn - zone->start_pfn) & BM_BLOCK_MASK; in memory_bm_find_bit()
888 pages = bm->cur.zone->end_pfn - bm->cur.zone->start_pfn; in memory_bm_next_pfn()
893 pfn = bm->cur.zone->start_pfn + bm->cur.node_pfn + bit; in memory_bm_next_pfn()
[all …]
/kernel/
Dresource.c475 int walk_system_ram_range(unsigned long start_pfn, unsigned long nr_pages, in walk_system_ram_range() argument
484 start = (u64) start_pfn << PAGE_SHIFT; in walk_system_ram_range()
485 end = ((u64)(start_pfn + nr_pages) << PAGE_SHIFT) - 1; in walk_system_ram_range()