Home
last modified time | relevance | path

Searched refs:stopper (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/kernel/
Dstop_machine.c76 struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu); in cpu_stop_queue_work() local
81 spin_lock_irqsave(&stopper->lock, flags); in cpu_stop_queue_work()
83 if (stopper->enabled) { in cpu_stop_queue_work()
84 list_add_tail(&work->list, &stopper->works); in cpu_stop_queue_work()
89 spin_unlock_irqrestore(&stopper->lock, flags); in cpu_stop_queue_work()
438 struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu); in cpu_stop_should_run() local
442 spin_lock_irqsave(&stopper->lock, flags); in cpu_stop_should_run()
443 run = !list_empty(&stopper->works); in cpu_stop_should_run()
444 spin_unlock_irqrestore(&stopper->lock, flags); in cpu_stop_should_run()
450 struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu); in cpu_stopper_thread() local
[all …]