Lines Matching refs:work_color

230 	int			work_color;	/* L: current color */  member
290 int work_color; /* WQ: current work color */ member
1790 pwq->nr_in_flight[pwq->work_color]++; in __queue_work()
1791 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
3011 unsigned int work_color; in insert_wq_barrier() local
3036 work_color = worker->current_color; in insert_wq_barrier()
3043 work_color = get_work_color(*bits); in insert_wq_barrier()
3047 pwq->nr_in_flight[work_color]++; in insert_wq_barrier()
3048 work_flags |= work_color_to_flags(work_color); in insert_wq_barrier()
3085 int flush_color, int work_color) in flush_workqueue_prep_pwqs() argument
3110 if (work_color >= 0) { in flush_workqueue_prep_pwqs()
3111 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
3112 pwq->work_color = work_color; in flush_workqueue_prep_pwqs()
3151 next_color = work_next_color(wq->work_color); in __flush_workqueue()
3160 this_flusher.flush_color = wq->work_color; in __flush_workqueue()
3161 wq->work_color = next_color; in __flush_workqueue()
3170 wq->work_color)) { in __flush_workqueue()
3180 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in __flush_workqueue()
3229 wq->flush_color != work_next_color(wq->work_color)); in __flush_workqueue()
3243 tmp->flush_color = wq->work_color; in __flush_workqueue()
3245 wq->work_color = work_next_color(wq->work_color); in __flush_workqueue()
3249 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in __flush_workqueue()
3253 WARN_ON_ONCE(wq->flush_color != wq->work_color); in __flush_workqueue()
3261 WARN_ON_ONCE(wq->flush_color == wq->work_color); in __flush_workqueue()
4216 pwq->work_color = wq->work_color; in link_pwq()