Searched refs:nr_pwqs_to_flush (Results 1 - 1 of 1) sorted by path

/linux-master/kernel/
H A Dworkqueue.c343 atomic_t nr_pwqs_to_flush; /* flush in progress */ member in struct:workqueue_struct
2040 if (atomic_dec_and_test(&pwq->wq->nr_pwqs_to_flush))
3814 * @flush_color, @wq->nr_pwqs_to_flush is updated accordingly, pwq
3840 WARN_ON_ONCE(atomic_read(&wq->nr_pwqs_to_flush));
3841 atomic_set(&wq->nr_pwqs_to_flush, 1);
3854 atomic_inc(&wq->nr_pwqs_to_flush);
3867 if (flush_color >= 0 && atomic_dec_and_test(&wq->nr_pwqs_to_flush))
5703 atomic_set(&wq->nr_pwqs_to_flush, 0);

Completed in 328 milliseconds