Lines Matching refs:work_color
202 int work_color; /* L: current color */ member
243 int work_color; /* WQ: current work color */ member
1477 pwq->nr_in_flight[pwq->work_color]++; in __queue_work()
1478 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
2169 int work_color; in process_one_work() local
2205 work_color = get_work_color(work); in process_one_work()
2311 pwq_dec_nr_in_flight(pwq, work_color); in process_one_work()
2716 int flush_color, int work_color) in flush_workqueue_prep_pwqs() argument
2741 if (work_color >= 0) { in flush_workqueue_prep_pwqs()
2742 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
2743 pwq->work_color = work_color; in flush_workqueue_prep_pwqs()
2782 next_color = work_next_color(wq->work_color); in flush_workqueue()
2791 this_flusher.flush_color = wq->work_color; in flush_workqueue()
2792 wq->work_color = next_color; in flush_workqueue()
2801 wq->work_color)) { in flush_workqueue()
2811 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2860 wq->flush_color != work_next_color(wq->work_color)); in flush_workqueue()
2874 tmp->flush_color = wq->work_color; in flush_workqueue()
2876 wq->work_color = work_next_color(wq->work_color); in flush_workqueue()
2880 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2884 WARN_ON_ONCE(wq->flush_color != wq->work_color); in flush_workqueue()
2892 WARN_ON_ONCE(wq->flush_color == wq->work_color); in flush_workqueue()
3758 pwq->work_color = wq->work_color; in link_pwq()