Home
last modified time | relevance | path

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

/linux/mm/
H A Dpage_alloc.c735 struct capture_control *capc = current->capture_control; in task_capc() local
737 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() argument
747 if (!capc || order != capc->cc->order) in compaction_capture()
763 capc->cc->migratetype != MIGRATE_MOVABLE) in compaction_capture()
766 if (migratetype != capc in compaction_capture()
781 compaction_capture(struct capture_control * capc,struct page * page,int order,int migratetype) compaction_capture() argument
946 struct capture_control *capc = task_capc(zone); __free_one_page() local
[all...]
H A Dcompaction.c2511 compact_zone(struct compact_control *cc, struct capture_control *capc) in compact_zone() argument
2694 if (capc && capc->page) { in compact_zone()
2769 struct capture_control capc = { in compact_zone_order() local
2780 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()