Searched refs:capc (Results 1 – 2 of 2) sorted by relevance
735 struct capture_control *capc = current->capture_control; in task_capc() local737 return unlikely(capc) && in task_capc()739 !capc->page && in task_capc()740 capc->cc->zone == zone ? capc : NULL; in task_capc()744 compaction_capture(struct capture_control *capc, struct page *page, in compaction_capture() argument747 if (!capc || order != capc->cc->order) in compaction_capture()763 capc->cc->migratetype != MIGRATE_MOVABLE) in compaction_capture()766 if (migratetype != capc->cc->migratetype) in compaction_capture()767 trace_mm_page_alloc_extfrag(page, capc->cc->order, order, in compaction_capture()768 capc->cc->migratetype, migratetype); in compaction_capture()[all …]
2511 compact_zone(struct compact_control *cc, struct capture_control *capc) in compact_zone() argument2694 if (capc && capc->page) { in compact_zone()2769 struct capture_control capc = { in compact_zone_order() local2780 WRITE_ONCE(current->capture_control, &capc); in compact_zone_order()2782 ret = compact_zone(&cc, &capc); in compact_zone_order()2790 *capture = READ_ONCE(capc.page); in compact_zone_order()