Searched refs:migratetype (Results 1 – 6 of 6) sorted by relevance
/mm/ |
D | page_isolation.c | 18 static int set_migratetype_isolate(struct page *page, int migratetype, int isol_flags) in set_migratetype_isolate() argument 40 unmovable = has_unmovable_pages(zone, page, migratetype, isol_flags); in set_migratetype_isolate() 67 static void unset_migratetype_isolate(struct page *page, unsigned migratetype) in unset_migratetype_isolate() argument 115 nr_pages = move_freepages_block(zone, page, migratetype, NULL); in unset_migratetype_isolate() 116 __mod_zone_freepage_state(zone, nr_pages, migratetype); in unset_migratetype_isolate() 118 set_pageblock_migratetype(page, migratetype); in unset_migratetype_isolate() 120 __putback_isolated_page(page, order, migratetype); in unset_migratetype_isolate() 184 unsigned migratetype, int flags, in start_isolate_page_range() argument 199 if (set_migratetype_isolate(page, migratetype, flags)) { in start_isolate_page_range() 215 unset_migratetype_isolate(page, migratetype); in start_isolate_page_range() [all …]
|
D | page_alloc.c | 218 static inline void set_pcppage_migratetype(struct page *page, int migratetype) in set_pcppage_migratetype() argument 220 page->index = migratetype; in set_pcppage_migratetype() 598 void set_pageblock_migratetype(struct page *page, int migratetype) in set_pageblock_migratetype() argument 601 migratetype < MIGRATE_PCPTYPES)) in set_pageblock_migratetype() 602 migratetype = MIGRATE_UNMOVABLE; in set_pageblock_migratetype() 604 set_pfnblock_flags_mask(page, (unsigned long)migratetype, in set_pageblock_migratetype() 772 unsigned int order, int migratetype) in set_page_guard() argument 784 __mod_zone_freepage_state(zone, -(1 << order), migratetype); in set_page_guard() 790 unsigned int order, int migratetype) in clear_page_guard() argument 798 if (!is_migrate_isolate(migratetype)) in clear_page_guard() [all …]
|
D | internal.h | 160 int migratetype; member 252 int migratetype; /* migratetype of direct compactor */ member 283 int migratetype, bool only_stealable, bool *can_steal); 648 static inline bool is_migrate_highatomic(enum migratetype migratetype) in is_migrate_highatomic() argument 650 return migratetype == MIGRATE_HIGHATOMIC; in is_migrate_highatomic()
|
D | shuffle.c | 93 int migratetype, retry; in __shuffle_zone() local 130 migratetype = get_pageblock_migratetype(page_i); in __shuffle_zone() 131 if (get_pageblock_migratetype(page_j) != migratetype) { in __shuffle_zone()
|
D | compaction.c | 1192 if (cc->migratetype == MIGRATE_MOVABLE) in suitable_migration_source() 1195 return block_mt == cc->migratetype; in suitable_migration_source() 1721 if (cc->direct_compaction && cc->migratetype != MIGRATE_MOVABLE) in fast_find_migrateblock() 1990 const int migratetype = cc->migratetype; in __compact_finished() local 2052 if (!free_area_empty(area, migratetype)) in __compact_finished() 2057 if (migratetype == MIGRATE_MOVABLE && in __compact_finished() 2065 if (find_suitable_fallback(area, order, migratetype, in __compact_finished() 2069 if (migratetype == MIGRATE_MOVABLE) in __compact_finished() 2252 cc->migratetype = gfp_migratetype(cc->gfp_mask); in compact_zone()
|
D | memory_hotplug.c | 692 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone() argument 717 MEMINIT_HOTPLUG, altmap, migratetype); in move_pfn_range_to_zone()
|