Lines Matching defs:wq_node_nr_active
152 * LN: pool->lock and wq_node_nr_active->lock protected for writes. Either for
288 struct list_head pending_node; /* LN: node on wq_node_nr_active->pending_pwqs */
329 struct wq_node_nr_active {
387 struct wq_node_nr_active *node_nr_active[]; /* I: per-node nr_active */
1559 * wq_node_nr_active - Determine wq_node_nr_active to use
1563 * Determine wq_node_nr_active to use for @wq on @node. Returns:
1571 static struct wq_node_nr_active *wq_node_nr_active(struct workqueue_struct *wq,
1614 wq_node_nr_active(wq, node)->max = min_active;
1616 wq_node_nr_active(wq, NUMA_NO_NODE)->max = max_active;
1627 wq_node_nr_active(wq, node)->max =
1632 wq_node_nr_active(wq, NUMA_NO_NODE)->max = max_active;
1705 static bool tryinc_node_nr_active(struct wq_node_nr_active *nna)
1730 struct wq_node_nr_active *nna = wq_node_nr_active(wq, pool->node);
1871 * node_activate_pending_pwq - Activate a pending pwq on a wq_node_nr_active
1872 * @nna: wq_node_nr_active to activate a pending pwq for
1878 static void node_activate_pending_pwq(struct wq_node_nr_active *nna,
1961 struct wq_node_nr_active *nna = wq_node_nr_active(pwq->wq, pool->node);
4940 static void free_node_nr_active(struct wq_node_nr_active **nna_ar)
4953 static void init_node_nr_active(struct wq_node_nr_active *nna)
4965 static int alloc_node_nr_active(struct wq_node_nr_active **nna_ar)
4967 struct wq_node_nr_active *nna;
5196 struct wq_node_nr_active *nna =
5197 wq_node_nr_active(pwq->wq, pwq->pool->node);