Searched refs:nr_pwqs_to_flush (Results 1 – 1 of 1) sorted by relevance
244 atomic_t nr_pwqs_to_flush; /* flush in progress */ member1184 if (atomic_dec_and_test(&pwq->wq->nr_pwqs_to_flush)) in pwq_dec_nr_in_flight()2477 WARN_ON_ONCE(atomic_read(&wq->nr_pwqs_to_flush)); in flush_workqueue_prep_pwqs()2478 atomic_set(&wq->nr_pwqs_to_flush, 1); in flush_workqueue_prep_pwqs()2491 atomic_inc(&wq->nr_pwqs_to_flush); in flush_workqueue_prep_pwqs()2504 if (flush_color >= 0 && atomic_dec_and_test(&wq->nr_pwqs_to_flush)) in flush_workqueue_prep_pwqs()3886 atomic_set(&wq->nr_pwqs_to_flush, 0); in __alloc_workqueue_key()