Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/
Dstop_machine.c68 static void __cpu_stop_queue_work(struct cpu_stopper *stopper, in __cpu_stop_queue_work() argument
72 list_add_tail(&work->list, &stopper->works); in __cpu_stop_queue_work()
73 wake_q_add(wakeq, stopper->thread); in __cpu_stop_queue_work()
79 struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu); in cpu_stop_queue_work() local
85 raw_spin_lock_irqsave(&stopper->lock, flags); in cpu_stop_queue_work()
86 enabled = stopper->enabled; in cpu_stop_queue_work()
88 __cpu_stop_queue_work(stopper, work, &wakeq); in cpu_stop_queue_work()
91 raw_spin_unlock_irqrestore(&stopper->lock, flags); in cpu_stop_queue_work()
458 struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu); in cpu_stop_should_run() local
462 raw_spin_lock_irqsave(&stopper->lock, flags); in cpu_stop_should_run()
[all …]