Home
last modified time | relevance | path

Searched refs:nr_pwqs_to_flush (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/kernel/
Dworkqueue.c244 atomic_t nr_pwqs_to_flush; /* flush in progress */ member
1173 if (atomic_dec_and_test(&pwq->wq->nr_pwqs_to_flush)) in pwq_dec_nr_in_flight()
2603 WARN_ON_ONCE(atomic_read(&wq->nr_pwqs_to_flush)); in flush_workqueue_prep_pwqs()
2604 atomic_set(&wq->nr_pwqs_to_flush, 1); in flush_workqueue_prep_pwqs()
2617 atomic_inc(&wq->nr_pwqs_to_flush); in flush_workqueue_prep_pwqs()
2630 if (flush_color >= 0 && atomic_dec_and_test(&wq->nr_pwqs_to_flush)) in flush_workqueue_prep_pwqs()
4097 atomic_set(&wq->nr_pwqs_to_flush, 0); in __alloc_workqueue_key()