Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/ !
Dworkqueue.c292 atomic_t nr_pwqs_to_flush; /* flush in progress */ member
1511 if (atomic_dec_and_test(&pwq->wq->nr_pwqs_to_flush)) in pwq_dec_nr_in_flight()
3088 WARN_ON_ONCE(atomic_read(&wq->nr_pwqs_to_flush)); in flush_workqueue_prep_pwqs()
3089 atomic_set(&wq->nr_pwqs_to_flush, 1); in flush_workqueue_prep_pwqs()
3102 atomic_inc(&wq->nr_pwqs_to_flush); in flush_workqueue_prep_pwqs()
3115 if (flush_color >= 0 && atomic_dec_and_test(&wq->nr_pwqs_to_flush)) in flush_workqueue_prep_pwqs()
4712 atomic_set(&wq->nr_pwqs_to_flush, 0); in alloc_workqueue()