Home
last modified time | relevance | path

Searched refs:compact_result (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/include/linux/
Dcompaction.h21 enum compact_result { enum
96 extern enum compact_result try_to_compact_pages(gfp_t gfp_mask,
100 extern enum compact_result compaction_suitable(struct zone *zone, int order,
110 static inline bool compaction_made_progress(enum compact_result result) in compaction_made_progress()
124 static inline bool compaction_failed(enum compact_result result) in compaction_failed()
137 static inline bool compaction_withdrawn(enum compact_result result) in compaction_withdrawn()
186 static inline enum compact_result compaction_suitable(struct zone *zone, int order, in compaction_suitable()
201 static inline bool compaction_made_progress(enum compact_result result) in compaction_made_progress()
206 static inline bool compaction_failed(enum compact_result result) in compaction_failed()
211 static inline bool compaction_withdrawn(enum compact_result result) in compaction_withdrawn()
/Linux-v4.19/mm/
Dcompaction.c1312 static enum compact_result __compact_finished(struct zone *zone, in __compact_finished()
1403 static enum compact_result compact_finished(struct zone *zone, in compact_finished()
1423 static enum compact_result __compaction_suitable(struct zone *zone, int order, in __compaction_suitable()
1466 enum compact_result compaction_suitable(struct zone *zone, int order, in compaction_suitable()
1470 enum compact_result ret; in compaction_suitable()
1517 enum compact_result compact_result; in compaction_zonelist_suitable() local
1527 compact_result = __compaction_suitable(zone, order, alloc_flags, in compaction_zonelist_suitable()
1529 if (compact_result != COMPACT_SKIPPED) in compaction_zonelist_suitable()
1536 static enum compact_result compact_zone(struct zone *zone, struct compact_control *cc) in compact_zone()
1538 enum compact_result ret; in compact_zone()
[all …]
Dpage_alloc.c3549 enum compact_priority prio, enum compact_result *compact_result) in __alloc_pages_direct_compact() argument
3558 *compact_result = try_to_compact_pages(gfp_mask, order, alloc_flags, ac, in __alloc_pages_direct_compact()
3562 if (*compact_result <= COMPACT_INACTIVE) in __alloc_pages_direct_compact()
3595 enum compact_result compact_result, in should_compact_retry() argument
3608 if (compaction_made_progress(compact_result)) in should_compact_retry()
3616 if (compaction_failed(compact_result)) in should_compact_retry()
3625 if (compaction_withdrawn(compact_result)) { in should_compact_retry()
3659 trace_compact_retry(order, priority, compact_result, retries, max_retries, ret); in should_compact_retry()
3666 enum compact_priority prio, enum compact_result *compact_result) in __alloc_pages_direct_compact() argument
3668 *compact_result = COMPACT_SKIPPED; in __alloc_pages_direct_compact()
[all …]
Dvmscan.c2867 enum compact_result suitable; in compaction_ready()
/Linux-v4.19/include/trace/events/
Doom.h159 enum compact_result result,
Dmmflags.h189 enum compact_result __result = result; \