| 749 | EXPORT_SYMBOL(taskq_empty_ent); |
| 750 | |
| 751 | void |
| 752 | taskq_init_ent(taskq_ent_t *t) |
| 753 | { |
| 754 | spin_lock_init(&t->tqent_lock); |
| 755 | init_waitqueue_head(&t->tqent_waitq); |
| 756 | timer_setup(&t->tqent_timer, NULL, 0); |
| 757 | INIT_LIST_HEAD(&t->tqent_list); |
| 758 | t->tqent_id = 0; |
| 759 | t->tqent_func = NULL; |
| 760 | t->tqent_arg = NULL; |
| 761 | t->tqent_flags = 0; |
| 762 | t->tqent_taskq = NULL; |
| 763 | } |
| 764 | EXPORT_SYMBOL(taskq_init_ent); |
| 765 | |
| 766 | /* |
no test coverage detected