Searched refs:migratetype (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | page_isolation.c | 67 int migratetype = get_pageblock_migratetype(page); in set_migratetype_isolate() local 74 __mod_zone_freepage_state(zone, -nr_pages, migratetype); in set_migratetype_isolate() 83 static void unset_migratetype_isolate(struct page *page, unsigned migratetype) in unset_migratetype_isolate() argument 126 nr_pages = move_freepages_block(zone, page, migratetype, NULL); in unset_migratetype_isolate() 127 __mod_zone_freepage_state(zone, nr_pages, migratetype); in unset_migratetype_isolate() 129 set_pageblock_migratetype(page, migratetype); in unset_migratetype_isolate() 172 unsigned migratetype, bool skip_hwpoisoned_pages) in start_isolate_page_range() argument 199 unset_migratetype_isolate(page, migratetype); in start_isolate_page_range() 209 unsigned migratetype) in undo_isolate_page_range() argument 223 unset_migratetype_isolate(page, migratetype); in undo_isolate_page_range()
|
D | page_alloc.c | 147 static inline void set_pcppage_migratetype(struct page *page, int migratetype) in set_pcppage_migratetype() argument 149 page->index = migratetype; in set_pcppage_migratetype() 489 void set_pageblock_migratetype(struct page *page, int migratetype) in set_pageblock_migratetype() argument 492 migratetype < MIGRATE_PCPTYPES)) in set_pageblock_migratetype() 493 migratetype = MIGRATE_UNMOVABLE; in set_pageblock_migratetype() 495 set_pageblock_flags_group(page, (unsigned long)migratetype, in set_pageblock_migratetype() 690 unsigned int order, int migratetype) in set_page_guard() argument 709 __mod_zone_freepage_state(zone, -(1 << order), migratetype); in set_page_guard() 715 unsigned int order, int migratetype) in clear_page_guard() argument 729 if (!is_migrate_isolate(migratetype)) in clear_page_guard() [all …]
|
D | internal.h | 121 int migratetype; member 196 int migratetype; /* migratetype of direct compactor */ member 215 int migratetype, bool only_stealable, bool *can_steal); 539 static inline bool is_migrate_highatomic(enum migratetype migratetype) in is_migrate_highatomic() argument 541 return migratetype == MIGRATE_HIGHATOMIC; in is_migrate_highatomic()
|
D | compaction.c | 997 if (cc->migratetype == MIGRATE_MOVABLE) in suitable_migration_source() 1000 return block_mt == cc->migratetype; in suitable_migration_source() 1294 const int migratetype = cc->migratetype; in __compact_finished() local 1339 if (!list_empty(&area->free_list[migratetype])) in __compact_finished() 1344 if (migratetype == MIGRATE_MOVABLE && in __compact_finished() 1352 if (find_suitable_fallback(area, order, migratetype, in __compact_finished() 1356 if (migratetype == MIGRATE_MOVABLE) in __compact_finished() 1532 cc->migratetype = gfpflags_to_migratetype(cc->gfp_mask); in compact_zone()
|