Searched refs:max_workers (Results 1 – 3 of 3) sorted by relevance
74 unsigned max_workers; member289 if (unlikely(!acct->max_workers)) in io_wqe_create_worker()293 if (acct->nr_workers >= acct->max_workers) { in io_wqe_create_worker()324 if (acct->nr_workers < acct->max_workers) { in create_worker_cb()1160 wqe->acct[IO_WQ_ACCT_BOUND].max_workers = bounded; in io_wq_create()1161 wqe->acct[IO_WQ_ACCT_UNBOUND].max_workers = in io_wq_create()1372 prev[i] = max_t(int, acct->max_workers, prev[i]); in io_wq_max_workers()1374 acct->max_workers = new_count[i]; in io_wq_max_workers()
1147 with ProcessPoolExecutor(max_workers=utils.cpu_count()) as executor:
1464 - with ThreadPoolExecutor(max_workers=5) as executor:3380 + with ThreadPoolExecutor(max_workers=5) as executor: