Lines Matching refs:work_color
202 int work_color; /* L: current color */ member
243 int work_color; /* WQ: current work color */ member
1480 pwq->nr_in_flight[pwq->work_color]++; in __queue_work()
1481 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
2172 int work_color; in process_one_work() local
2208 work_color = get_work_color(work); in process_one_work()
2314 pwq_dec_nr_in_flight(pwq, work_color); in process_one_work()
2725 int flush_color, int work_color) in flush_workqueue_prep_pwqs() argument
2750 if (work_color >= 0) { in flush_workqueue_prep_pwqs()
2751 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
2752 pwq->work_color = work_color; in flush_workqueue_prep_pwqs()
2791 next_color = work_next_color(wq->work_color); in flush_workqueue()
2800 this_flusher.flush_color = wq->work_color; in flush_workqueue()
2801 wq->work_color = next_color; in flush_workqueue()
2810 wq->work_color)) { in flush_workqueue()
2820 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2869 wq->flush_color != work_next_color(wq->work_color)); in flush_workqueue()
2883 tmp->flush_color = wq->work_color; in flush_workqueue()
2885 wq->work_color = work_next_color(wq->work_color); in flush_workqueue()
2889 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2893 WARN_ON_ONCE(wq->flush_color != wq->work_color); in flush_workqueue()
2901 WARN_ON_ONCE(wq->flush_color == wq->work_color); in flush_workqueue()
3779 pwq->work_color = wq->work_color; in link_pwq()