Lines Matching refs:work_color
201 int work_color; /* L: current color */ member
242 int work_color; /* WQ: current work color */ member
1425 pwq->nr_in_flight[pwq->work_color]++; in __queue_work()
1426 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
2004 int work_color; in process_one_work() local
2040 work_color = get_work_color(work); in process_one_work()
2116 pwq_dec_nr_in_flight(pwq, work_color); in process_one_work()
2471 int flush_color, int work_color) in flush_workqueue_prep_pwqs() argument
2496 if (work_color >= 0) { in flush_workqueue_prep_pwqs()
2497 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
2498 pwq->work_color = work_color; in flush_workqueue_prep_pwqs()
2534 next_color = work_next_color(wq->work_color); in flush_workqueue()
2543 this_flusher.flush_color = wq->work_color; in flush_workqueue()
2544 wq->work_color = next_color; in flush_workqueue()
2553 wq->work_color)) { in flush_workqueue()
2563 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2610 wq->flush_color != work_next_color(wq->work_color)); in flush_workqueue()
2624 tmp->flush_color = wq->work_color; in flush_workqueue()
2626 wq->work_color = work_next_color(wq->work_color); in flush_workqueue()
2630 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2634 WARN_ON_ONCE(wq->flush_color != wq->work_color); in flush_workqueue()
2642 WARN_ON_ONCE(wq->flush_color == wq->work_color); in flush_workqueue()
3447 pwq->work_color = wq->work_color; in link_pwq()