Searched refs:nr_pwqs_to_flush (Results 1 – 1 of 1) sorted by relevance
245 atomic_t nr_pwqs_to_flush; /* flush in progress */ member1202 if (atomic_dec_and_test(&pwq->wq->nr_pwqs_to_flush)) in pwq_dec_nr_in_flight()2729 WARN_ON_ONCE(atomic_read(&wq->nr_pwqs_to_flush)); in flush_workqueue_prep_pwqs()2730 atomic_set(&wq->nr_pwqs_to_flush, 1); in flush_workqueue_prep_pwqs()2743 atomic_inc(&wq->nr_pwqs_to_flush); in flush_workqueue_prep_pwqs()2756 if (flush_color >= 0 && atomic_dec_and_test(&wq->nr_pwqs_to_flush)) in flush_workqueue_prep_pwqs()4275 atomic_set(&wq->nr_pwqs_to_flush, 0); in alloc_workqueue()