Home
last modified time | relevance | path

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

/linux/io_uring/
H A Dio-wq.c80 unsigned nr_workers; member
196 acct->nr_workers--; in io_worker_cancel_cb()
318 if (acct->nr_workers >= acct->max_workers) { in io_wq_create_worker()
322 acct->nr_workers++; in io_wq_create_worker()
349 if (acct->nr_workers < acct->max_workers) { in create_worker_cb()
350 acct->nr_workers++; in create_worker_cb()
663 acct->nr_workers--; in io_wq_worker()
792 acct->nr_workers--; in create_worker_cont()
793 if (!acct->nr_workers) { in create_worker_cont()
837 acct->nr_workers--; in create_io_worker()
[all …]
/linux/kernel/
H A Dworkqueue.c204 int nr_workers; /* L: total number of workers */ member
960 int nr_busy = pool->nr_workers - nr_idle; in too_many_workers()
1053 WARN_ON_ONCE(pool->nr_workers == pool->nr_idle && pool->nr_running); in worker_enter_idle()
2816 worker->pool->nr_workers++; in create_worker()
2880 pool->nr_workers--; in set_worker_dying()
4950 WARN_ON(pool->nr_workers || pool->nr_idle); in put_unbound_pool()
6332 if (pool->nr_workers == pool->nr_idle) in show_one_worker_pool()
6347 pr_cont(" hung=%lus workers=%d", hung, pool->nr_workers); in show_one_worker_pool()
6607 if (pool->nr_workers) in workqueue_prepare_cpu()