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()
662 if (last_timeout && (exit_mask || acct->nr_workers > 1)) { in io_wq_worker()
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()
[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()
4964 WARN_ON(pool->nr_workers || pool->nr_idle); in put_unbound_pool()
6346 if (pool->nr_workers == pool->nr_idle) in show_one_worker_pool()
6361 pr_cont(" hung=%lus workers=%d", hung, pool->nr_workers); in show_one_worker_pool()
6621 if (pool->nr_workers) in workqueue_prepare_cpu()