migratetype 614 include/linux/gfp.h unsigned migratetype, gfp_t gfp_mask); migratetype 73 include/linux/mmzone.h # define is_migrate_cma(migratetype) unlikely((migratetype) == MIGRATE_CMA) migratetype 76 include/linux/mmzone.h # define is_migrate_cma(migratetype) false migratetype 105 include/linux/mmzone.h int migratetype) migratetype 107 include/linux/mmzone.h list_add(&page->lru, &area->free_list[migratetype]); migratetype 113 include/linux/mmzone.h int migratetype) migratetype 115 include/linux/mmzone.h list_add_tail(&page->lru, &area->free_list[migratetype]); migratetype 122 include/linux/mmzone.h int migratetype); migratetype 125 include/linux/mmzone.h struct free_area *area, int migratetype) migratetype 127 include/linux/mmzone.h add_to_free_area(page, area, migratetype); migratetype 133 include/linux/mmzone.h int migratetype) migratetype 135 include/linux/mmzone.h list_move(&page->lru, &area->free_list[migratetype]); migratetype 139 include/linux/mmzone.h int migratetype) migratetype 141 include/linux/mmzone.h return list_first_entry_or_null(&area->free_list[migratetype], migratetype 154 include/linux/mmzone.h static inline bool free_area_empty(struct free_area *area, int migratetype) migratetype 156 include/linux/mmzone.h return list_empty(&area->free_list[migratetype]); migratetype 14 include/linux/page-isolation.h static inline bool is_migrate_isolate(int migratetype) migratetype 16 include/linux/page-isolation.h return migratetype == MIGRATE_ISOLATE; migratetype 27 include/linux/page-isolation.h static inline bool is_migrate_isolate(int migratetype) migratetype 37 include/linux/page-isolation.h int migratetype, int flags); migratetype 38 include/linux/page-isolation.h void set_pageblock_migratetype(struct page *page, int migratetype); migratetype 40 include/linux/page-isolation.h int migratetype, int *num_movable); migratetype 47 include/linux/page-isolation.h unsigned migratetype, int flags); migratetype 55 include/linux/page-isolation.h unsigned migratetype); migratetype 375 include/linux/vmstat.h int migratetype) migratetype 378 include/linux/vmstat.h if (is_migrate_cma(migratetype)) migratetype 196 include/trace/events/kmem.h gfp_t gfp_flags, int migratetype), migratetype 198 include/trace/events/kmem.h TP_ARGS(page, order, gfp_flags, migratetype), migratetype 204 include/trace/events/kmem.h __field( int, migratetype ) migratetype 211 include/trace/events/kmem.h __entry->migratetype = migratetype; migratetype 218 include/trace/events/kmem.h __entry->migratetype, migratetype 224 include/trace/events/kmem.h TP_PROTO(struct page *page, unsigned int order, int migratetype), migratetype 226 include/trace/events/kmem.h TP_ARGS(page, order, migratetype), migratetype 231 include/trace/events/kmem.h __field( int, migratetype ) migratetype 237 include/trace/events/kmem.h __entry->migratetype = migratetype; migratetype 244 include/trace/events/kmem.h __entry->migratetype, migratetype 250 include/trace/events/kmem.h TP_PROTO(struct page *page, unsigned int order, int migratetype), migratetype 252 include/trace/events/kmem.h TP_ARGS(page, order, migratetype) migratetype 257 include/trace/events/kmem.h TP_PROTO(struct page *page, unsigned int order, int migratetype), migratetype 259 include/trace/events/kmem.h TP_ARGS(page, order, migratetype), migratetype 264 include/trace/events/kmem.h __field( int, migratetype ) migratetype 270 include/trace/events/kmem.h __entry->migratetype = migratetype; migratetype 275 include/trace/events/kmem.h __entry->order, __entry->migratetype) migratetype 1136 mm/compaction.c if (cc->migratetype == MIGRATE_MOVABLE) migratetype 1139 mm/compaction.c return block_mt == cc->migratetype; migratetype 1659 mm/compaction.c if (cc->direct_compaction && cc->migratetype != MIGRATE_MOVABLE) migratetype 1852 mm/compaction.c const int migratetype = cc->migratetype; migratetype 1894 mm/compaction.c if (!free_area_empty(area, migratetype)) migratetype 1899 mm/compaction.c if (migratetype == MIGRATE_MOVABLE && migratetype 1907 mm/compaction.c if (find_suitable_fallback(area, order, migratetype, migratetype 1911 mm/compaction.c if (migratetype == MIGRATE_MOVABLE) migratetype 2092 mm/compaction.c cc->migratetype = gfpflags_to_migratetype(cc->gfp_mask); migratetype 117 mm/internal.h int migratetype; migratetype 195 mm/internal.h int migratetype; /* migratetype of direct compactor */ migratetype 224 mm/internal.h int migratetype, bool only_stealable, bool *can_steal); migratetype 563 mm/internal.h static inline bool is_migrate_highatomic(enum migratetype migratetype) migratetype 565 mm/internal.h return migratetype == MIGRATE_HIGHATOMIC; migratetype 201 mm/page_alloc.c static inline void set_pcppage_migratetype(struct page *page, int migratetype) migratetype 203 mm/page_alloc.c page->index = migratetype; migratetype 550 mm/page_alloc.c void set_pageblock_migratetype(struct page *page, int migratetype) migratetype 553 mm/page_alloc.c migratetype < MIGRATE_PCPTYPES)) migratetype 554 mm/page_alloc.c migratetype = MIGRATE_UNMOVABLE; migratetype 556 mm/page_alloc.c set_pageblock_flags_group(page, (unsigned long)migratetype, migratetype 739 mm/page_alloc.c unsigned int order, int migratetype) migratetype 751 mm/page_alloc.c __mod_zone_freepage_state(zone, -(1 << order), migratetype); migratetype 757 mm/page_alloc.c unsigned int order, int migratetype) migratetype 765 mm/page_alloc.c if (!is_migrate_isolate(migratetype)) migratetype 766 mm/page_alloc.c __mod_zone_freepage_state(zone, (1 << order), migratetype); migratetype 770 mm/page_alloc.c unsigned int order, int migratetype) { return false; } migratetype 772 mm/page_alloc.c unsigned int order, int migratetype) {} migratetype 836 mm/page_alloc.c int order, int migratetype) migratetype 842 mm/page_alloc.c if (is_migrate_cma(migratetype) || migratetype 843 mm/page_alloc.c is_migrate_isolate(migratetype)) migratetype 852 mm/page_alloc.c if (order < pageblock_order && migratetype == MIGRATE_MOVABLE) migratetype 867 mm/page_alloc.c int order, int migratetype) migratetype 900 mm/page_alloc.c int migratetype) migratetype 913 mm/page_alloc.c VM_BUG_ON(migratetype == -1); migratetype 914 mm/page_alloc.c if (likely(!is_migrate_isolate(migratetype))) migratetype 915 mm/page_alloc.c __mod_zone_freepage_state(zone, 1 << order, migratetype); migratetype 922 mm/page_alloc.c if (compaction_capture(capc, page, order, migratetype)) { migratetype 924 mm/page_alloc.c migratetype); migratetype 939 mm/page_alloc.c clear_page_guard(zone, buddy, order, migratetype); migratetype 963 mm/page_alloc.c if (migratetype != buddy_mt migratetype 964 mm/page_alloc.c && (is_migrate_isolate(migratetype) || migratetype 993 mm/page_alloc.c migratetype); migratetype 1000 mm/page_alloc.c migratetype); migratetype 1002 mm/page_alloc.c add_to_free_area(page, &zone->free_area[order], migratetype); migratetype 1252 mm/page_alloc.c int migratetype = 0; migratetype 1271 mm/page_alloc.c if (++migratetype == MIGRATE_PCPTYPES) migratetype 1272 mm/page_alloc.c migratetype = 0; migratetype 1273 mm/page_alloc.c list = &pcp->lists[migratetype]; migratetype 1329 mm/page_alloc.c int migratetype) migratetype 1333 mm/page_alloc.c is_migrate_isolate(migratetype))) { migratetype 1334 mm/page_alloc.c migratetype = get_pfnblock_migratetype(page, pfn); migratetype 1336 mm/page_alloc.c __free_one_page(page, pfn, zone, order, migratetype); migratetype 1417 mm/page_alloc.c int migratetype; migratetype 1423 mm/page_alloc.c migratetype = get_pfnblock_migratetype(page, pfn); migratetype 1426 mm/page_alloc.c free_one_page(page_zone(page), page, pfn, order, migratetype); migratetype 2019 mm/page_alloc.c int migratetype) migratetype 2035 mm/page_alloc.c if (set_page_guard(zone, &page[size], high, migratetype)) migratetype 2038 mm/page_alloc.c add_to_free_area(&page[size], area, migratetype); migratetype 2184 mm/page_alloc.c int migratetype) migratetype 2193 mm/page_alloc.c page = get_page_from_free_area(area, migratetype); migratetype 2197 mm/page_alloc.c expand(zone, page, order, current_order, area, migratetype); migratetype 2198 mm/page_alloc.c set_pcppage_migratetype(page, migratetype); migratetype 2240 mm/page_alloc.c int migratetype, int *num_movable) migratetype 2271 mm/page_alloc.c move_to_free_area(page, &zone->free_area[order], migratetype); migratetype 2280 mm/page_alloc.c int migratetype, int *num_movable) migratetype 2300 mm/page_alloc.c return move_freepages(zone, start_page, end_page, migratetype, migratetype 2305 mm/page_alloc.c int start_order, int migratetype) migratetype 2310 mm/page_alloc.c set_pageblock_migratetype(pageblock_page, migratetype); migratetype 2477 mm/page_alloc.c int migratetype, bool only_stealable, bool *can_steal) migratetype 2487 mm/page_alloc.c fallback_mt = fallbacks[migratetype][i]; migratetype 2494 mm/page_alloc.c if (can_steal_fallback(order, migratetype)) migratetype 2611 mm/page_alloc.c set_pageblock_migratetype(page, ac->migratetype); migratetype 2612 mm/page_alloc.c ret = move_freepages_block(zone, page, ac->migratetype, migratetype 2718 mm/page_alloc.c __rmqueue(struct zone *zone, unsigned int order, int migratetype, migratetype 2724 mm/page_alloc.c page = __rmqueue_smallest(zone, order, migratetype); migratetype 2726 mm/page_alloc.c if (migratetype == MIGRATE_MOVABLE) migratetype 2729 mm/page_alloc.c if (!page && __rmqueue_fallback(zone, order, migratetype, migratetype 2734 mm/page_alloc.c trace_mm_page_alloc_zone_locked(page, order, migratetype); migratetype 2745 mm/page_alloc.c int migratetype, unsigned int alloc_flags) migratetype 2751 mm/page_alloc.c struct page *page = __rmqueue(zone, order, migratetype, migratetype 3018 mm/page_alloc.c int migratetype; migratetype 3023 mm/page_alloc.c migratetype = get_pfnblock_migratetype(page, pfn); migratetype 3024 mm/page_alloc.c set_pcppage_migratetype(page, migratetype); migratetype 3032 mm/page_alloc.c int migratetype; migratetype 3034 mm/page_alloc.c migratetype = get_pcppage_migratetype(page); migratetype 3044 mm/page_alloc.c if (migratetype >= MIGRATE_PCPTYPES) { migratetype 3045 mm/page_alloc.c if (unlikely(is_migrate_isolate(migratetype))) { migratetype 3046 mm/page_alloc.c free_one_page(zone, page, pfn, 0, migratetype); migratetype 3049 mm/page_alloc.c migratetype = MIGRATE_MOVABLE; migratetype 3053 mm/page_alloc.c list_add(&page->lru, &pcp->lists[migratetype]); migratetype 3213 mm/page_alloc.c static struct page *__rmqueue_pcplist(struct zone *zone, int migratetype, migratetype 3224 mm/page_alloc.c migratetype, alloc_flags); migratetype 3240 mm/page_alloc.c int migratetype, unsigned int alloc_flags) migratetype 3249 mm/page_alloc.c list = &pcp->lists[migratetype]; migratetype 3250 mm/page_alloc.c page = __rmqueue_pcplist(zone, migratetype, alloc_flags, pcp, list); migratetype 3266 mm/page_alloc.c int migratetype) migratetype 3273 mm/page_alloc.c migratetype, alloc_flags); migratetype 3289 mm/page_alloc.c trace_mm_page_alloc_zone_locked(page, order, migratetype); migratetype 3292 mm/page_alloc.c page = __rmqueue(zone, order, migratetype, alloc_flags); migratetype 3691 mm/page_alloc.c gfp_mask, alloc_flags, ac->migratetype); migratetype 4468 mm/page_alloc.c (order > 0 && ac->migratetype != MIGRATE_MOVABLE)) migratetype 4680 mm/page_alloc.c ac->migratetype = gfpflags_to_migratetype(gfp_mask); migratetype 4698 mm/page_alloc.c if (IS_ENABLED(CONFIG_CMA) && ac->migratetype == MIGRATE_MOVABLE) migratetype 4783 mm/page_alloc.c trace_mm_page_alloc(page, order, alloc_mask, ac.migratetype); migratetype 6119 mm/page_alloc.c int migratetype; migratetype 6124 mm/page_alloc.c for (migratetype = 0; migratetype < MIGRATE_PCPTYPES; migratetype++) migratetype 6125 mm/page_alloc.c INIT_LIST_HEAD(&pcp->lists[migratetype]); migratetype 8192 mm/page_alloc.c int migratetype, int flags) migratetype 8213 mm/page_alloc.c if (is_migrate_cma(migratetype)) migratetype 8384 mm/page_alloc.c unsigned migratetype, gfp_t gfp_mask) migratetype 8426 mm/page_alloc.c pfn_max_align_up(end), migratetype, 0); migratetype 8510 mm/page_alloc.c pfn_max_align_up(end), migratetype); migratetype 18 mm/page_isolation.c static int set_migratetype_isolate(struct page *page, int migratetype, int isol_flags) migratetype 62 mm/page_isolation.c if (!has_unmovable_pages(zone, page, arg.pages_found, migratetype, migratetype 90 mm/page_isolation.c static void unset_migratetype_isolate(struct page *page, unsigned migratetype) migratetype 133 mm/page_isolation.c nr_pages = move_freepages_block(zone, page, migratetype, NULL); migratetype 134 mm/page_isolation.c __mod_zone_freepage_state(zone, nr_pages, migratetype); migratetype 136 mm/page_isolation.c set_pageblock_migratetype(page, migratetype); migratetype 194 mm/page_isolation.c unsigned migratetype, int flags) migratetype 209 mm/page_isolation.c if (set_migratetype_isolate(page, migratetype, flags)) { migratetype 224 mm/page_isolation.c unset_migratetype_isolate(page, migratetype); migratetype 234 mm/page_isolation.c unsigned migratetype) migratetype 248 mm/page_isolation.c unset_migratetype_isolate(page, migratetype); migratetype 117 mm/shuffle.c int migratetype, retry; migratetype 154 mm/shuffle.c migratetype = get_pageblock_migratetype(page_i); migratetype 155 mm/shuffle.c if (get_pageblock_migratetype(page_j) != migratetype) { migratetype 187 mm/shuffle.c int migratetype) migratetype 202 mm/shuffle.c add_to_free_area(page, area, migratetype); migratetype 204 mm/shuffle.c add_to_free_area_tail(page, area, migratetype);