Home
last modified time | relevance | path

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

/linux-6.1.9/io_uring/
Dio-wq.c77 unsigned nr_workers; member
192 acct->nr_workers--; in io_worker_cancel_cb()
302 if (acct->nr_workers >= acct->max_workers) { in io_wqe_create_worker()
306 acct->nr_workers++; in io_wqe_create_worker()
333 if (acct->nr_workers < acct->max_workers) { in create_worker_cb()
334 acct->nr_workers++; in create_worker_cb()
636 if (last_timeout && acct->nr_workers > 1) { in io_wqe_worker()
637 acct->nr_workers--; in io_wqe_worker()
761 acct->nr_workers--; in create_worker_cont()
762 if (!acct->nr_workers) { in create_worker_cont()
[all …]
/linux-6.1.9/kernel/
Dworkqueue.c167 int nr_workers; /* L: total number of workers */ member
824 int nr_busy = pool->nr_workers - nr_idle; in too_many_workers()
1813 WARN_ON_ONCE(pool->nr_workers == pool->nr_idle && pool->nr_running); in worker_enter_idle()
1962 worker->pool->nr_workers++; in create_worker()
1997 pool->nr_workers--; in destroy_worker()
3599 WARN_ON(pool->nr_workers || pool->nr_idle); in put_unbound_pool()
4853 if (pool->nr_workers == pool->nr_idle) in show_one_worker_pool()
4865 pool->nr_workers); in show_one_worker_pool()
5110 if (pool->nr_workers) in workqueue_prepare_cpu()