Searched refs:max_workers (Results 1 – 2 of 2) sorted by relevance
46 assert(next < wq->max_workers); in get_submit_worker()48 sw = __get_submit_worker(wq, next, wq->max_workers - 1, &best); in get_submit_worker()59 if (sw->index + 1 < wq->max_workers) in get_submit_worker()72 for (i = 0; i < wq->max_workers; i++) { in all_sw_idle()240 for (i = 0; i < wq->max_workers; i++) { in workqueue_exit()251 for (i = 0; i < wq->max_workers; i++) { in workqueue_exit()261 } while (shutdown && shutdown != wq->max_workers); in workqueue_exit()305 struct workqueue_ops *ops, unsigned int max_workers, in workqueue_init() argument312 wq->max_workers = max_workers; in workqueue_init()325 wq->workers = smalloc(wq->max_workers * sizeof(struct submit_worker)); in workqueue_init()[all …]
49 unsigned int max_workers; member64 …ata *td, struct workqueue *wq, struct workqueue_ops *ops, unsigned int max_workers, struct sk_out …