Lines Matching refs:work_color

259 	int			work_color;	/* L: current color */  member
340 int work_color; /* WQ: current work color */ member
2326 pwq->nr_in_flight[pwq->work_color]++; in __queue_work()
2327 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
3753 unsigned int work_color; in insert_wq_barrier() local
3783 work_color = worker->current_color; in insert_wq_barrier()
3790 work_color = get_work_color(*bits); in insert_wq_barrier()
3794 pwq->nr_in_flight[work_color]++; in insert_wq_barrier()
3795 work_flags |= work_color_to_flags(work_color); in insert_wq_barrier()
3832 int flush_color, int work_color) in flush_workqueue_prep_pwqs() argument
3857 if (work_color >= 0) { in flush_workqueue_prep_pwqs()
3858 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
3859 pwq->work_color = work_color; in flush_workqueue_prep_pwqs()
3929 next_color = work_next_color(wq->work_color); in __flush_workqueue()
3938 this_flusher.flush_color = wq->work_color; in __flush_workqueue()
3939 wq->work_color = next_color; in __flush_workqueue()
3948 wq->work_color)) { in __flush_workqueue()
3958 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in __flush_workqueue()
4007 wq->flush_color != work_next_color(wq->work_color)); in __flush_workqueue()
4021 tmp->flush_color = wq->work_color; in __flush_workqueue()
4023 wq->work_color = work_next_color(wq->work_color); in __flush_workqueue()
4027 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in __flush_workqueue()
4031 WARN_ON_ONCE(wq->flush_color != wq->work_color); in __flush_workqueue()
4039 WARN_ON_ONCE(wq->flush_color == wq->work_color); in __flush_workqueue()
5121 pwq->work_color = wq->work_color; in link_pwq()