• Home
  • Raw
  • Download

Lines Matching refs:work_color

208 	int			work_color;	/* L: current color */  member
266 int work_color; /* WQ: current work color */ member
1512 pwq->nr_in_flight[pwq->work_color]++; in __queue_work()
1513 work_flags = work_color_to_flags(pwq->work_color); in __queue_work()
2686 unsigned int work_color; in insert_wq_barrier() local
2711 work_color = worker->current_color; in insert_wq_barrier()
2718 work_color = get_work_color(*bits); in insert_wq_barrier()
2722 pwq->nr_in_flight[work_color]++; in insert_wq_barrier()
2723 work_flags |= work_color_to_flags(work_color); in insert_wq_barrier()
2761 int flush_color, int work_color) in flush_workqueue_prep_pwqs() argument
2786 if (work_color >= 0) { in flush_workqueue_prep_pwqs()
2787 WARN_ON_ONCE(work_color != work_next_color(pwq->work_color)); in flush_workqueue_prep_pwqs()
2788 pwq->work_color = work_color; in flush_workqueue_prep_pwqs()
2827 next_color = work_next_color(wq->work_color); in __flush_workqueue()
2836 this_flusher.flush_color = wq->work_color; in __flush_workqueue()
2837 wq->work_color = next_color; in __flush_workqueue()
2846 wq->work_color)) { in __flush_workqueue()
2856 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in __flush_workqueue()
2905 wq->flush_color != work_next_color(wq->work_color)); in __flush_workqueue()
2919 tmp->flush_color = wq->work_color; in __flush_workqueue()
2921 wq->work_color = work_next_color(wq->work_color); in __flush_workqueue()
2925 flush_workqueue_prep_pwqs(wq, -1, wq->work_color); in __flush_workqueue()
2929 WARN_ON_ONCE(wq->flush_color != wq->work_color); in __flush_workqueue()
2937 WARN_ON_ONCE(wq->flush_color == wq->work_color); in __flush_workqueue()
3835 pwq->work_color = wq->work_color; in link_pwq()