Searched refs:stopper (Results 1 – 1 of 1) sorted by relevance
/kernel/ |
D | stop_machine.c | 59 static void __cpu_stop_queue_work(struct cpu_stopper *stopper, in __cpu_stop_queue_work() argument 63 list_add_tail(&work->list, &stopper->works); in __cpu_stop_queue_work() 64 wake_q_add(wakeq, stopper->thread); in __cpu_stop_queue_work() 70 struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu); in cpu_stop_queue_work() local 76 raw_spin_lock_irqsave(&stopper->lock, flags); in cpu_stop_queue_work() 77 enabled = stopper->enabled; in cpu_stop_queue_work() 79 __cpu_stop_queue_work(stopper, work, &wakeq); in cpu_stop_queue_work() 82 raw_spin_unlock_irqrestore(&stopper->lock, flags); in cpu_stop_queue_work() 498 struct cpu_stopper *stopper = &per_cpu(cpu_stopper, cpu); in cpu_stop_should_run() local 502 raw_spin_lock_irqsave(&stopper->lock, flags); in cpu_stop_should_run() [all …]
|