Lines Matching defs:workers

72  *  workers for read/write requests
73 * (__aio_mutex lock protects circular linked list of workers)
75 aio_worker_t *__workers_rw; /* circular list of AIO workers */
76 aio_worker_t *__nextworker_rw; /* next worker in list of workers */
77 int __rw_workerscnt; /* number of read/write workers */
82 aio_worker_t *__workers_no; /* circular list of AIO workers */
83 aio_worker_t *__nextworker_no; /* next worker in list of workers */
84 int __no_workerscnt; /* number of write workers */
112 int _max_workers = 256; /* max number of workers permitted */
113 int _min_workers = 4; /* min number of workers */
115 int _aio_worker_cnt = 0; /* number of workers to do requests */
146 * Constants are initialized like the max number of workers that
147 * the subsystem can create, and the minimum number of workers
149 * workers are created.
213 * Create the minimum number of read/write workers.
707 * Cancel requests from the read/write workers' queues.
876 aio_worker_t *aiowp, **workers, **nextworker;
894 workers = &__workers_rw;
900 workers = &__workers_no;
938 if (*workers == NULL) {
942 *workers = aiowp;
944 aiowp->work_backw = (*workers)->work_backw;
945 aiowp->work_forw = (*workers);
946 (*workers)->work_backw->work_forw = aiowp;
947 (*workers)->work_backw = aiowp;
1710 * A circular list of workers is used to choose the next worker.
1725 * then search the list of workers until a queue is found unlocked,
1771 * Create more workers when the workers appear overloaded.
1772 * Either all the workers are busy draining their queues