Home
last modified time | relevance | path

Searched refs:capc (Results 1 – 2 of 2) sorted by relevance

/linux/mm/
H A Dcompaction.c2507 compact_zone(struct compact_control *cc, struct capture_control *capc) in compact_zone() argument
2688 if (capc && capc->page) { in compact_zone()
2763 struct capture_control capc = { in compact_zone_order() local
2774 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()
H A Dpage_alloc.c586 struct capture_control *capc = current->capture_control; in task_capc() local
588 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() argument
598 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() argument
771 struct capture_control *capc = task_capc(zone); in __free_one_page() local
[all …]