Lines Matching defs:work
213 flush_work(struct work_struct *work)
218 if (work->tq)
219 taskq_barrier(work->tq);
310 kthread_init_work(struct kthread_work *work, void (*func)(struct kthread_work *))
312 work->tq = NULL;
313 task_set(&work->task, (void (*)(void *))func, work);
317 kthread_queue_work(struct kthread_worker *worker, struct kthread_work *work)
319 work->tq = worker->tq;
320 return task_add(work->tq, &work->task);
324 kthread_cancel_work_sync(struct kthread_work *work)
326 return task_del(work->tq, &work->task);
330 kthread_flush_work(struct kthread_work *work)
335 if (work->tq)
336 taskq_barrier(work->tq);
770 * lock to make this work. We do randomize our IDs in order to make
1289 * interface. In all likelihood, it will only work for inteldrm(4) as