Searched refs:migratetype (Results 1 – 8 of 8) sorted by relevance
/mm/ |
D | page_isolation.c | 35 int migratetype, int flags) in has_unmovable_pages() argument 50 if (is_migrate_cma(migratetype)) in has_unmovable_pages() 148 static int set_migratetype_isolate(struct page *page, int migratetype, int isol_flags, in set_migratetype_isolate() argument 180 migratetype, isol_flags); in set_migratetype_isolate() 207 static void unset_migratetype_isolate(struct page *page, int migratetype) in unset_migratetype_isolate() argument 256 nr_pages = move_freepages_block(zone, page, migratetype, NULL); in unset_migratetype_isolate() 257 __mod_zone_freepage_state(zone, nr_pages, migratetype); in unset_migratetype_isolate() 259 set_pageblock_migratetype(page, migratetype); in unset_migratetype_isolate() 261 __putback_isolated_page(page, order, migratetype); in unset_migratetype_isolate() 308 int migratetype) in isolate_single_pageblock() argument [all …]
|
D | page_alloc.c | 273 static inline void set_pcppage_migratetype(struct page *page, int migratetype) in set_pcppage_migratetype() argument 275 page->index = migratetype; in set_pcppage_migratetype() 503 void set_pageblock_migratetype(struct page *page, int migratetype) in set_pageblock_migratetype() argument 506 migratetype < MIGRATE_FALLBACKS)) in set_pageblock_migratetype() 507 migratetype = MIGRATE_UNMOVABLE; in set_pageblock_migratetype() 509 set_pfnblock_flags_mask(page, (unsigned long)migratetype, in set_pageblock_migratetype() 593 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex() argument 601 VM_BUG_ON(!cma_has_pcplist() && migratetype == MIGRATE_CMA); in order_to_pindex() 616 return (MIGRATE_PCPTYPES * order) + migratetype; in order_to_pindex() 716 int order, int migratetype) in compaction_capture() argument [all …]
|
D | debug_page_alloc.c | 36 int migratetype) in __set_page_guard() argument 45 if (!is_migrate_isolate(migratetype)) in __set_page_guard() 46 __mod_zone_freepage_state(zone, -(1 << order), migratetype); in __set_page_guard() 52 int migratetype) in __clear_page_guard() argument 57 if (!is_migrate_isolate(migratetype)) in __clear_page_guard() 58 __mod_zone_freepage_state(zone, (1 << order), migratetype); in __clear_page_guard()
|
D | shuffle.c | 92 int migratetype, retry; in __shuffle_zone() local 129 migratetype = get_pageblock_migratetype(page_i); in __shuffle_zone() 130 if (get_pageblock_migratetype(page_j) != migratetype) { in __shuffle_zone()
|
D | internal.h | 451 int migratetype; member 700 int migratetype; /* migratetype of direct compactor */ member 744 int migratetype, bool only_stealable, bool *can_steal); 746 static inline bool free_area_empty(struct free_area *area, int migratetype) in free_area_empty() argument 748 return list_empty(&area->free_list[migratetype]); in free_area_empty() 1138 static inline bool is_migrate_highatomic(enum migratetype migratetype) in is_migrate_highatomic() argument 1140 return migratetype == MIGRATE_HIGHATOMIC; in is_migrate_highatomic()
|
D | compaction.c | 1370 if (cc->migratetype == MIGRATE_MOVABLE) in suitable_migration_source() 1373 return block_mt == cc->migratetype; in suitable_migration_source() 1920 if (cc->direct_compaction && cc->migratetype != MIGRATE_MOVABLE) in fast_find_migrateblock() 2204 const int migratetype = cc->migratetype; in __compact_finished() local 2266 if (!free_area_empty(area, migratetype)) in __compact_finished() 2271 if (migratetype == MIGRATE_MOVABLE && in __compact_finished() 2279 if (find_suitable_fallback(area, order, migratetype, in __compact_finished() 2436 cc->migratetype = gfp_migratetype(cc->gfp_mask); in compact_zone()
|
D | memory_hotplug.c | 751 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone() argument 783 MEMINIT_HOTPLUG, altmap, migratetype); in move_pfn_range_to_zone()
|
D | mm_init.c | 930 struct vmem_altmap *altmap, int migratetype) in memmap_init_range() argument 981 set_pageblock_migratetype(page, migratetype); in memmap_init_range()
|