Lines Matching refs:input
31 * There are a series of work stages. Each stage has an input and an output
47 * use as input and output and what function to call for processing is
90 work_queue_t *input;
252 * Get a buffer from the input queue.
256 pthread_mutex_lock(&sp->input->mtx);
259 pthread_mutex_unlock(&sp->input->mtx);
262 workp = TAILQ_FIRST(&(sp->input->queue));
267 sp->input->waiters++;
268 pthread_cond_wait(&sp->input->cnd, &sp->input->mtx);
269 sp->input->waiters--;
271 TAILQ_REMOVE(&(sp->input->queue), workp, link);
273 pthread_mutex_unlock(&sp->input->mtx);
292 * Place the buffer on the input queue of the next stage.
427 sp->input = &sp->bufq;