Lines Matching defs:work
6 * work.
22 struct tp_work *work;
27 work = flist_entry(list->next, struct tp_work, list);
28 flist_del(&work->list);
30 prio = work->prio;
34 work->fn(work);
51 if (!tdat->thread_exit && flist_empty(&tdat->work))
54 if (!flist_empty(&tdat->work))
55 flist_splice_tail_init(&tdat->work, &work_list);
71 void tp_queue_work(struct tp_data *tdat, struct tp_work *work)
73 work->done = 0;
76 flist_add_tail(&work->list, &tdat->work);
92 INIT_FLIST_HEAD(&tdat->work);