Home
last modified time | relevance | path

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

/linux/kernel/
H A Dworkqueue.c354 int min_active; /* WO: min active works */ member
1576 int min_active = READ_ONCE(wq->min_active); in wq_update_node_max_active() local
1595 wq_node_nr_active(wq, node)->max = min_active; in wq_update_node_max_active()
1610 min_active, max_active); in wq_update_node_max_active()
5604 if (wq->max_active == new_max && wq->min_active == new_min) in wq_adjust_max_active()
5614 WRITE_ONCE(wq->min_active, new_min); in wq_adjust_max_active()
5699 wq->min_active = min(max_active, WQ_DFL_MIN_ACTIVE); in __alloc_workqueue()
5701 wq->saved_min_active = wq->min_active; in __alloc_workqueue()
5956 void workqueue_set_min_active(struct workqueue_struct *wq, int min_active) in workqueue_set_min_active() argument
5964 wq->saved_min_active = clamp(min_active, 0, wq->saved_max_active); in workqueue_set_min_active()
/linux/include/linux/
H A Dworkqueue.h624 int min_active);