Lines Matching refs:workers

69  *  workers for read/write requests
70 * (__aio_mutex lock protects circular linked list of workers)
72 aio_worker_t *__workers_rw; /* circular list of AIO workers */
73 aio_worker_t *__nextworker_rw; /* next worker in list of workers */
74 int __rw_workerscnt; /* number of read/write workers */
79 aio_worker_t *__workers_no; /* circular list of AIO workers */
80 aio_worker_t *__nextworker_no; /* next worker in list of workers */
81 int __no_workerscnt; /* number of write workers */
109 int _max_workers = 256; /* max number of workers permitted */
110 int _min_workers = 4; /* min number of workers */
112 int _aio_worker_cnt = 0; /* number of workers to do requests */
143 * Constants are initialized like the max number of workers that
144 * the subsystem can create, and the minimum number of workers
146 * workers are created.
209 * Create the minimum number of read/write workers.
703 * Cancel requests from the read/write workers' queues.
872 aio_worker_t *aiowp, **workers, **nextworker;
890 workers = &__workers_rw;
896 workers = &__workers_no;
934 if (*workers == NULL) {
938 *workers = aiowp;
940 aiowp->work_backw = (*workers)->work_backw;
941 aiowp->work_forw = (*workers);
942 (*workers)->work_backw->work_forw = aiowp;
943 (*workers)->work_backw = aiowp;
1703 * A circular list of workers is used to choose the next worker.
1718 * then search the list of workers until a queue is found unlocked,
1764 * Create more workers when the workers appear overloaded.
1765 * Either all the workers are busy draining their queues