Lines Matching refs:tb
401 struct taskqueue_busy *tb; in taskqueue_drain_tq_active() local
413 LIST_FOREACH(tb, &queue->tq_active, tb_link) { in taskqueue_drain_tq_active()
414 if ((int)(tb->tb_seq - seq) <= 0) { in taskqueue_drain_tq_active()
415 TQ_SLEEP(queue, tb->tb_running, "tq_adrain"); in taskqueue_drain_tq_active()
451 struct taskqueue_busy tb; in taskqueue_run_locked() local
458 tb.tb_running = NULL; in taskqueue_run_locked()
459 LIST_INSERT_HEAD(&queue->tq_active, &tb, tb_link); in taskqueue_run_locked()
468 tb.tb_running = task; in taskqueue_run_locked()
469 tb.tb_seq = ++queue->tq_seq; in taskqueue_run_locked()
487 LIST_REMOVE(&tb, tb_link); in taskqueue_run_locked()
502 struct taskqueue_busy *tb; in task_is_running() local
505 LIST_FOREACH(tb, &queue->tq_active, tb_link) { in task_is_running()
506 if (tb->tb_running == task) in task_is_running()