Home
last modified time | relevance | path

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

/kernel/
Dstop_machine.c182 static void set_state(struct multi_stop_data *msdata, in set_state() argument
186 atomic_set(&msdata->thread_ack, msdata->num_threads); in set_state()
188 WRITE_ONCE(msdata->state, newstate); in set_state()
192 static void ack_state(struct multi_stop_data *msdata) in ack_state() argument
194 if (atomic_dec_and_test(&msdata->thread_ack)) in ack_state()
195 set_state(msdata, msdata->state + 1); in ack_state()
206 struct multi_stop_data *msdata = data; in multi_cpu_stop() local
219 if (!msdata->active_cpus) { in multi_cpu_stop()
223 cpumask = msdata->active_cpus; in multi_cpu_stop()
231 newstate = READ_ONCE(msdata->state); in multi_cpu_stop()
[all …]