Searched refs:tq_free_list (Results 1 – 2 of 2) sorted by relevance
203 if (!list_empty(&tq->tq_free_list) && !(flags & TQ_NEW)) { in task_alloc()204 t = list_entry(tq->tq_free_list.next, taskq_ent_t, tqent_list); in task_alloc()293 list_add_tail(&t->tqent_list, &tq->tq_free_list); in task_done()1371 INIT_LIST_HEAD(&tq->tq_free_list); in taskq_create()1489 while (!list_empty(&tq->tq_free_list)) { in taskq_destroy()1490 t = list_entry(tq->tq_free_list.next, taskq_ent_t, tqent_list); in taskq_destroy()1503 ASSERT(list_empty(&tq->tq_free_list)); in taskq_destroy()
128 struct list_head tq_free_list; /* free taskq_ent_t's */ member