Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Dworkqueue.c264 atomic_t nr_pwqs_to_flush; /* flush in progress */ member
1222 if (atomic_dec_and_test(&pwq->wq->nr_pwqs_to_flush)) in pwq_dec_nr_in_flight()
2757 WARN_ON_ONCE(atomic_read(&wq->nr_pwqs_to_flush)); in flush_workqueue_prep_pwqs()
2758 atomic_set(&wq->nr_pwqs_to_flush, 1); in flush_workqueue_prep_pwqs()
2771 atomic_inc(&wq->nr_pwqs_to_flush); in flush_workqueue_prep_pwqs()
2784 if (flush_color >= 0 && atomic_dec_and_test(&wq->nr_pwqs_to_flush)) in flush_workqueue_prep_pwqs()
4335 atomic_set(&wq->nr_pwqs_to_flush, 0); in alloc_workqueue()