Lines Matching refs:dwork
1278 struct delayed_work *dwork = to_delayed_work(work); in try_to_grab_pending() local
1285 if (likely(del_timer(&dwork->timer))) in try_to_grab_pending()
1650 struct delayed_work *dwork = from_timer(dwork, t, timer); in delayed_work_timer_fn() local
1653 __queue_work(dwork->cpu, dwork->wq, &dwork->work); in delayed_work_timer_fn()
1658 struct delayed_work *dwork, unsigned long delay) in __queue_delayed_work() argument
1660 struct timer_list *timer = &dwork->timer; in __queue_delayed_work()
1661 struct work_struct *work = &dwork->work; in __queue_delayed_work()
1675 __queue_work(cpu, wq, &dwork->work); in __queue_delayed_work()
1679 dwork->wq = wq; in __queue_delayed_work()
1680 dwork->cpu = cpu; in __queue_delayed_work()
1701 struct delayed_work *dwork, unsigned long delay) in queue_delayed_work_on() argument
1703 struct work_struct *work = &dwork->work; in queue_delayed_work_on()
1711 __queue_delayed_work(cpu, wq, dwork, delay); in queue_delayed_work_on()
1739 struct delayed_work *dwork, unsigned long delay) in mod_delayed_work_on() argument
1745 ret = try_to_grab_pending(&dwork->work, true, &flags); in mod_delayed_work_on()
1749 __queue_delayed_work(cpu, wq, dwork, delay); in mod_delayed_work_on()
3222 bool flush_delayed_work(struct delayed_work *dwork) in flush_delayed_work() argument
3225 if (del_timer_sync(&dwork->timer)) in flush_delayed_work()
3226 __queue_work(dwork->cpu, dwork->wq, &dwork->work); in flush_delayed_work()
3228 return flush_work(&dwork->work); in flush_delayed_work()
3294 bool cancel_delayed_work(struct delayed_work *dwork) in cancel_delayed_work() argument
3296 return __cancel_work(&dwork->work, true); in cancel_delayed_work()
3309 bool cancel_delayed_work_sync(struct delayed_work *dwork) in cancel_delayed_work_sync() argument
3311 return __cancel_work_timer(&dwork->work, true); in cancel_delayed_work_sync()