Home
last modified time | relevance | path

Searched refs:migratetype (Results 1 – 14 of 14) sorted by relevance

/linux/include/linux/
A Dpage-isolation.h14 static inline bool is_migrate_isolate(int migratetype) in is_migrate_isolate() argument
16 return migratetype == MIGRATE_ISOLATE; in is_migrate_isolate()
27 static inline bool is_migrate_isolate(int migratetype) in is_migrate_isolate() argument
37 int migratetype, int flags);
38 void set_pageblock_migratetype(struct page *page, int migratetype);
40 int migratetype, int *num_movable);
47 unsigned migratetype, int flags);
55 unsigned migratetype);
A Dmmzone.h42 enum migratetype { enum
74 # define is_migrate_cma(migratetype) unlikely((migratetype) == MIGRATE_CMA) argument
77 # define is_migrate_cma(migratetype) false argument
103 int migratetype) in get_page_from_free_area() argument
105 return list_first_entry_or_null(&area->free_list[migratetype], in get_page_from_free_area()
109 static inline bool free_area_empty(struct free_area *area, int migratetype) in free_area_empty() argument
111 return list_empty(&area->free_list[migratetype]); in free_area_empty()
A Dvmstat.h491 int migratetype) in __mod_zone_freepage_state() argument
494 if (is_migrate_cma(migratetype)) in __mod_zone_freepage_state()
A Dmemory_hotplug.h336 struct vmem_altmap *altmap, int migratetype);
A Dgfp.h691 unsigned migratetype, gfp_t gfp_mask);
A Dmm.h2585 struct vmem_altmap *, int migratetype);
/linux/include/trace/events/
A Dkmem.h212 __field( int, migratetype )
219 __entry->migratetype = migratetype;
226 __entry->migratetype,
234 TP_ARGS(page, order, migratetype),
239 __field( int, migratetype )
245 __entry->migratetype = migratetype;
252 __entry->migratetype,
260 TP_ARGS(page, order, migratetype)
267 TP_ARGS(page, order, migratetype),
272 __field( int, migratetype )
[all …]
/linux/mm/
A Dpage_isolation.c40 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
119 nr_pages = move_freepages_block(zone, page, migratetype, NULL); in unset_migratetype_isolate()
120 __mod_zone_freepage_state(zone, nr_pages, migratetype); in unset_migratetype_isolate()
122 set_pageblock_migratetype(page, migratetype); in unset_migratetype_isolate()
124 __putback_isolated_page(page, order, migratetype); in unset_migratetype_isolate()
188 unsigned migratetype, int flags) in start_isolate_page_range() argument
200 if (page && set_migratetype_isolate(page, migratetype, flags)) { in start_isolate_page_range()
201 undo_isolate_page_range(start_pfn, pfn, migratetype); in start_isolate_page_range()
212 unsigned migratetype) in undo_isolate_page_range() argument
[all …]
A Dpage_alloc.c225 page->index = migratetype; in set_pcppage_migratetype()
1073 VM_BUG_ON(migratetype == -1); in __free_one_page()
1084 migratetype); in __free_one_page()
1631 int migratetype; in __free_pages_ok() local
2441 int migratetype) in __rmqueue_smallest() argument
3307 int migratetype; in free_unref_page_prepare() local
3386 int migratetype; in free_unref_page() local
3420 int migratetype; in free_unref_page_list() local
3595 int migratetype, in __rmqueue_pcplist() argument
3670 int migratetype) in rmqueue() argument
[all …]
A Dshuffle.c93 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()
A Dinternal.h186 int migratetype; member
293 int migratetype; /* migratetype of direct compactor */ member
325 int migratetype, bool only_stealable, bool *can_steal);
678 static inline bool is_migrate_highatomic(enum migratetype migratetype) in is_migrate_highatomic() argument
680 return migratetype == MIGRATE_HIGHATOMIC; in is_migrate_highatomic()
A Dcompaction.c1238 if (cc->migratetype == MIGRATE_MOVABLE) in suitable_migration_source()
1241 return block_mt == cc->migratetype; in suitable_migration_source()
1773 if (cc->direct_compaction && cc->migratetype != MIGRATE_MOVABLE) in fast_find_migrateblock()
2035 const int migratetype = cc->migratetype; in __compact_finished() local
2096 if (!free_area_empty(area, migratetype)) in __compact_finished()
2101 if (migratetype == MIGRATE_MOVABLE && in __compact_finished()
2109 if (find_suitable_fallback(area, order, migratetype, in __compact_finished()
2113 if (migratetype == MIGRATE_MOVABLE) in __compact_finished()
2295 cc->migratetype = gfp_migratetype(cc->gfp_mask); in compact_zone()
A Dmemory_hotplug.c681 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone() argument
713 MEMINIT_HOTPLUG, altmap, migratetype); in move_pfn_range_to_zone()
/linux/Documentation/trace/
A Devents-kmem.rst49 mm_page_alloc page=%p pfn=%lu order=%d migratetype=%d gfp_flags=%s
50 mm_page_alloc_zone_locked page=%p pfn=%lu order=%u migratetype=%d cpu=%d percpu_refill=%d
78 mm_page_alloc_zone_locked page=%p pfn=%lu order=%u migratetype=%d cpu=%d percpu_refill=%d
79 mm_page_pcpu_drain page=%p pfn=%lu order=%d cpu=%d migratetype=%d

Completed in 49 milliseconds