Lines Matching defs:dwork
1225 struct kthread_delayed_work *dwork = timer_container_of(dwork, t,
1227 struct kthread_work *work = &dwork->work;
1253 struct kthread_delayed_work *dwork,
1256 struct timer_list *timer = &dwork->timer;
1257 struct kthread_work *work = &dwork->work;
1262 * If @delay is 0, queue @dwork->work immediately. This is for
1285 * @dwork: kthread_delayed_work to queue
1297 struct kthread_delayed_work *dwork,
1300 struct kthread_work *work = &dwork->work;
1307 __kthread_queue_delayed_work(worker, dwork, delay);
1376 struct kthread_delayed_work *dwork =
1388 timer_delete_sync(&dwork->timer);
1423 * @dwork: kthread delayed work to queue
1426 * If @dwork is idle, equivalent to kthread_queue_delayed_work(). Otherwise,
1427 * modify @dwork's timer so that it expires after @delay. If @delay is zero,
1430 * Return: %false if @dwork was idle and queued, %true otherwise.
1444 struct kthread_delayed_work *dwork,
1447 struct kthread_work *work = &dwork->work;
1483 __kthread_queue_delayed_work(worker, dwork, delay);
1552 * @dwork: the kthread delayed work to cancel
1556 * Return: %true if @dwork was pending, %false otherwise.
1558 bool kthread_cancel_delayed_work_sync(struct kthread_delayed_work *dwork)
1560 return __kthread_cancel_work_sync(&dwork->work, true);