Home | History | Annotate | Download | only in kern

Lines Matching refs:tqe

77 	taskq_ent_t *tqe; 
98 tqe = SIMPLEQ_FIRST(&tq->tq_list);
99 KASSERT(tqe != NULL);
101 is_dynamic = tqe->tqent_dynamic;
102 tqe->tqent_queued = 0;
105 (*tqe->tqent_func)(tqe->tqent_arg);
109 kmem_free(tqe, sizeof(*tqe));
142 taskq_dispatch_common(taskq_t *tq, taskq_ent_t *tqe, uint_t flags)
149 SIMPLEQ_INSERT_HEAD(&tq->tq_list, tqe, tqent_list);
151 SIMPLEQ_INSERT_TAIL(&tq->tq_list, tqe, tqent_list);
152 tqe->tqent_queued = 1;
179 taskq_ent_t *tqe;
186 tqe = kmem_alloc(sizeof(*tqe), KM_NOSLEEP);
188 tqe = kmem_alloc(sizeof(*tqe), KM_SLEEP);
189 if (tqe == NULL)
195 kmem_free(tqe, sizeof(*tqe));
198 tqe->tqent_dynamic = 1;
199 tqe->tqent_queued = 0;
200 tqe->tqent_func = func;
201 tqe->tqent_arg = arg;
202 taskq_dispatch_common(tq, tqe, flags);
204 return (taskqid_t) tqe;
213 taskq_ent_t *tqe)
218 tqe->tqent_func = func;
219 tqe->tqent_arg = arg;
221 taskq_dispatch_common(tq, tqe, flags);
307 taskq_ent_t *tqe;