Lines Matching refs:work_color
201 int work_color; /* L: current color */ member
242 int work_color; /* WQ: current work color */ member
1447 pwq->nr_in_flight[pwq->work_color]++; in __queue_work()
1448 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
2053 int work_color; in process_one_work() local
2089 work_color = get_work_color(work); in process_one_work()
2192 pwq_dec_nr_in_flight(pwq, work_color); in process_one_work()
2597 int flush_color, int work_color) in flush_workqueue_prep_pwqs() argument
2622 if (work_color >= 0) { in flush_workqueue_prep_pwqs()
2623 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
2624 pwq->work_color = work_color; in flush_workqueue_prep_pwqs()
2663 next_color = work_next_color(wq->work_color); in flush_workqueue()
2672 this_flusher.flush_color = wq->work_color; in flush_workqueue()
2673 wq->work_color = next_color; in flush_workqueue()
2682 wq->work_color)) { in flush_workqueue()
2692 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2741 wq->flush_color != work_next_color(wq->work_color)); in flush_workqueue()
2755 tmp->flush_color = wq->work_color; in flush_workqueue()
2757 wq->work_color = work_next_color(wq->work_color); in flush_workqueue()
2761 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2765 WARN_ON_ONCE(wq->flush_color != wq->work_color); in flush_workqueue()
2773 WARN_ON_ONCE(wq->flush_color == wq->work_color); in flush_workqueue()
3594 pwq->work_color = wq->work_color; in link_pwq()