Searched refs:capc (Results 1 – 2 of 2) sorted by relevance
2507 compact_zone(struct compact_control *cc, struct capture_control *capc) in compact_zone() argument2688 if (capc && capc->page) { in compact_zone()2763 struct capture_control capc = { in compact_zone_order() local2774 WRITE_ONCE(current->capture_control, &capc); in compact_zone_order()2776 ret = compact_zone(&cc, &capc); in compact_zone_order()2784 *capture = READ_ONCE(capc.page); in compact_zone_order()
586 struct capture_control *capc = current->capture_control; in task_capc() local588 return unlikely(capc) && in task_capc()590 !capc->page && in task_capc()591 capc->cc->zone == zone ? capc : NULL; in task_capc()595 compaction_capture(struct capture_control *capc, struct page *page, in compaction_capture() argument598 if (!capc || order != capc->cc->order) in compaction_capture()614 capc->cc->migratetype != MIGRATE_MOVABLE) in compaction_capture()617 capc->page = page; in compaction_capture()628 compaction_capture(struct capture_control *capc, struct page *page, in compaction_capture() argument771 struct capture_control *capc = task_capc(zone); in __free_one_page() local[all …]