Lines Matching refs:type
568 void thread_io_queue_add(LIBEVENT_THREAD *t, int type, void *ctx, io_queue_stack_cb cb) { in thread_io_queue_add() argument
570 while (q->type != IO_QUEUE_NONE) { in thread_io_queue_add()
573 q->type = type; in thread_io_queue_add()
582 while (qcb->type != IO_QUEUE_NONE) { in conn_io_queue_setup()
583 q->type = qcb->type; in conn_io_queue_setup()
594 for (io_queue_t *q = c->io_queues; q->type != IO_QUEUE_NONE; q++) { in conn_io_queue_reset()
600 io_queue_cb_t *thread_io_queue_get(LIBEVENT_THREAD *t, int type) { in thread_io_queue_get() argument
602 while (q->type != IO_QUEUE_NONE) { in thread_io_queue_get()
603 if (q->type == type) { in thread_io_queue_get()
611 io_queue_t *conn_io_queue_get(conn *c, int type) { in conn_io_queue_get() argument
613 while (q->type != IO_QUEUE_NONE) { in conn_io_queue_get()
614 if (q->type == type) { in conn_io_queue_get()
2159 if (q->type == IO_QUEUE_EXTSTORE) { in conn_queue_to_str()
2161 } else if (q->type == IO_QUEUE_PROXY) { in conn_queue_to_str()
2204 for (io_queue_t *q = sc->io_queues; q->type != IO_QUEUE_NONE; q++) { in process_stats_conns()
3316 for (io_queue_t *q = c->io_queues; q->type != IO_QUEUE_NONE; q++) {
3318 io_queue_cb_t *qcb = thread_io_queue_get(c->thread, q->type);
4565 int type = 0; local
4571 while (opts[type] != NULL && strcmp(key, opts[type]) != 0) {
4572 type++;
4574 if (opts[type] == NULL) {
4591 switch (type) {