Home
last modified time | relevance | path

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

/linux-6.6.21/io_uring/
Dio-wq.c78 unsigned nr_workers; member
194 acct->nr_workers--; in io_worker_cancel_cb()
316 if (acct->nr_workers >= acct->max_workers) { in io_wq_create_worker()
320 acct->nr_workers++; in io_wq_create_worker()
347 if (acct->nr_workers < acct->max_workers) { in create_worker_cb()
348 acct->nr_workers++; in create_worker_cb()
656 if (last_timeout && (exit_mask || acct->nr_workers > 1)) { in io_wq_worker()
657 acct->nr_workers--; in io_wq_worker()
784 acct->nr_workers--; in create_worker_cont()
785 if (!acct->nr_workers) { in create_worker_cont()
[all …]
/linux-6.6.21/kernel/
Dworkqueue.c173 int nr_workers; /* L: total number of workers */ member
855 int nr_busy = pool->nr_workers - nr_idle; in too_many_workers()
948 WARN_ON_ONCE(pool->nr_workers == pool->nr_idle && pool->nr_running); in worker_enter_idle()
2212 worker->pool->nr_workers++; in create_worker()
2289 pool->nr_workers--; in set_worker_dying()
4006 WARN_ON(pool->nr_workers || pool->nr_idle); in put_unbound_pool()
5258 if (pool->nr_workers == pool->nr_idle) in show_one_worker_pool()
5273 pr_cont(" hung=%lus workers=%d", hung, pool->nr_workers); in show_one_worker_pool()
5535 if (pool->nr_workers) in workqueue_prepare_cpu()