Lines Matching refs:end_pfn
537 unsigned long end_pfn, in isolate_freepages_block() argument
556 for (; blockpfn < end_pfn; blockpfn += stride, cursor += stride) { in isolate_freepages_block()
644 if (unlikely(blockpfn > end_pfn)) in isolate_freepages_block()
645 blockpfn = end_pfn; in isolate_freepages_block()
658 if (strict && blockpfn < end_pfn) in isolate_freepages_block()
683 unsigned long start_pfn, unsigned long end_pfn) in isolate_freepages_range() argument
694 for (; pfn < end_pfn; pfn += isolated, in isolate_freepages_range()
700 block_end_pfn = min(block_end_pfn, end_pfn); in isolate_freepages_range()
710 block_end_pfn = min(block_end_pfn, end_pfn); in isolate_freepages_range()
738 if (pfn < end_pfn) { in isolate_freepages_range()
783 unsigned long end_pfn, isolate_mode_t isolate_mode) in isolate_migratepages_block() argument
820 for (; low_pfn < end_pfn; low_pfn++) { in isolate_migratepages_block()
870 low_pfn = end_pfn; in isolate_migratepages_block()
1042 if (unlikely(low_pfn > end_pfn)) in isolate_migratepages_block()
1043 low_pfn = end_pfn; in isolate_migratepages_block()
1057 if (low_pfn == end_pfn && (!nr_isolated || cc->rescan)) { in isolate_migratepages_block()
1086 unsigned long end_pfn) in isolate_migratepages_range() argument
1097 for (; pfn < end_pfn; pfn = block_end_pfn, in isolate_migratepages_range()
1101 block_end_pfn = min(block_end_pfn, end_pfn); in isolate_migratepages_range()
1224 unsigned long start_pfn, end_pfn; in fast_isolate_around() local
1237 end_pfn = min(pageblock_end_pfn(pfn), zone_end_pfn(cc->zone)) - 1; in fast_isolate_around()
1248 if (start_pfn < end_pfn) in fast_isolate_around()
1249 isolate_freepages_block(cc, &start_pfn, end_pfn, &cc->freepages, 1, false); in fast_isolate_around()
2076 unsigned long end_pfn = zone_end_pfn(cc->zone); in compact_zone() local
2118 cc->free_pfn = pageblock_start_pfn(end_pfn - 1); in compact_zone()
2122 if (cc->free_pfn < start_pfn || cc->free_pfn >= end_pfn) { in compact_zone()
2123 cc->free_pfn = pageblock_start_pfn(end_pfn - 1); in compact_zone()
2126 if (cc->migrate_pfn < start_pfn || cc->migrate_pfn >= end_pfn) { in compact_zone()
2150 cc->free_pfn, end_pfn, sync); in compact_zone()
2283 cc->free_pfn, end_pfn, sync, ret); in compact_zone()