Lines Matching refs:twork
5301 struct tick_work *twork = container_of(dwork, struct tick_work, work); in sched_tick_remote() local
5302 int cpu = twork->cpu; in sched_tick_remote()
5347 os = atomic_fetch_add_unless(&twork->state, -1, TICK_SCHED_REMOTE_RUNNING); in sched_tick_remote()
5356 struct tick_work *twork; in sched_tick_start() local
5363 twork = per_cpu_ptr(tick_work_cpu, cpu); in sched_tick_start()
5364 os = atomic_xchg(&twork->state, TICK_SCHED_REMOTE_RUNNING); in sched_tick_start()
5367 twork->cpu = cpu; in sched_tick_start()
5368 INIT_DELAYED_WORK(&twork->work, sched_tick_remote); in sched_tick_start()
5369 queue_delayed_work(system_unbound_wq, &twork->work, HZ); in sched_tick_start()
5376 struct tick_work *twork; in sched_tick_stop() local
5384 twork = per_cpu_ptr(tick_work_cpu, cpu); in sched_tick_stop()
5386 os = atomic_xchg(&twork->state, TICK_SCHED_REMOTE_OFFLINING); in sched_tick_stop()