Lines Matching refs:tb
394 struct taskqueue_busy *tb;
406 LIST_FOREACH(tb, &queue->tq_active, tb_link) {
407 if ((int)(tb->tb_seq - seq) <= 0) {
408 TQ_SLEEP(queue, tb->tb_running, "tq_adrain");
443 struct taskqueue_busy tb;
449 tb.tb_running = NULL;
450 LIST_INSERT_HEAD(&queue->tq_active, &tb, tb_link);
458 tb.tb_running = task;
459 tb.tb_seq = ++queue->tq_seq;
468 LIST_REMOVE(&tb, tb_link);
483 struct taskqueue_busy *tb;
486 LIST_FOREACH(tb, &queue->tq_active, tb_link) {
487 if (tb->tb_running == task)