• Home
  • Raw
  • Download

Lines Matching refs:work_color

202 	int			work_color;	/* L: current color */  member
243 int work_color; /* WQ: current work color */ member
1478 pwq->nr_in_flight[pwq->work_color]++; in __queue_work()
1479 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
2170 int work_color; in process_one_work() local
2206 work_color = get_work_color(work); in process_one_work()
2312 pwq_dec_nr_in_flight(pwq, work_color); in process_one_work()
2723 int flush_color, int work_color) in flush_workqueue_prep_pwqs() argument
2748 if (work_color >= 0) { in flush_workqueue_prep_pwqs()
2749 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
2750 pwq->work_color = work_color; in flush_workqueue_prep_pwqs()
2789 next_color = work_next_color(wq->work_color); in flush_workqueue()
2798 this_flusher.flush_color = wq->work_color; in flush_workqueue()
2799 wq->work_color = next_color; in flush_workqueue()
2808 wq->work_color)) { in flush_workqueue()
2818 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2867 wq->flush_color != work_next_color(wq->work_color)); in flush_workqueue()
2881 tmp->flush_color = wq->work_color; in flush_workqueue()
2883 wq->work_color = work_next_color(wq->work_color); in flush_workqueue()
2887 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in flush_workqueue()
2891 WARN_ON_ONCE(wq->flush_color != wq->work_color); in flush_workqueue()
2899 WARN_ON_ONCE(wq->flush_color == wq->work_color); in flush_workqueue()
3765 pwq->work_color = wq->work_color; in link_pwq()