Home
last modified time | relevance | path

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

/kernel/
Dstop_machine.c165 static void set_state(struct multi_stop_data *msdata, in set_state() argument
169 atomic_set(&msdata->thread_ack, msdata->num_threads); in set_state()
171 WRITE_ONCE(msdata->state, newstate); in set_state()
175 static void ack_state(struct multi_stop_data *msdata) in ack_state() argument
177 if (atomic_dec_and_test(&msdata->thread_ack)) in ack_state()
178 set_state(msdata, msdata->state + 1); in ack_state()
189 struct multi_stop_data *msdata = data; in multi_cpu_stop() local
202 if (!msdata->active_cpus) { in multi_cpu_stop()
206 cpumask = msdata->active_cpus; in multi_cpu_stop()
214 newstate = READ_ONCE(msdata->state); in multi_cpu_stop()
[all …]