Lines Matching refs:work_color
201 int work_color; /* L: current color */ member
242 int work_color; /* WQ: current work color */ member
1420 pwq->nr_in_flight[pwq->work_color]++; in __queue_work()
1421 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
1997 int work_color; in process_one_work() local
2033 work_color = get_work_color(work); in process_one_work()
2109 pwq_dec_nr_in_flight(pwq, work_color); in process_one_work()
2464 int flush_color, int work_color) in flush_workqueue_prep_pwqs() argument
2489 if (work_color >= 0) { in flush_workqueue_prep_pwqs()
2490 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
2491 pwq->work_color = work_color; in flush_workqueue_prep_pwqs()
2527 next_color = work_next_color(wq->work_color); in flush_workqueue()
2536 this_flusher.flush_color = wq->work_color; in flush_workqueue()
2537 wq->work_color = next_color; in flush_workqueue()
2546 wq->work_color)) { in flush_workqueue()
2556 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2603 wq->flush_color != work_next_color(wq->work_color)); in flush_workqueue()
2617 tmp->flush_color = wq->work_color; in flush_workqueue()
2619 wq->work_color = work_next_color(wq->work_color); in flush_workqueue()
2623 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2627 WARN_ON_ONCE(wq->flush_color != wq->work_color); in flush_workqueue()
2635 WARN_ON_ONCE(wq->flush_color == wq->work_color); in flush_workqueue()
3412 pwq->work_color = wq->work_color; in link_pwq()