Searched refs:nr_todo (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/kernel/
H A Dstop_machine.c30 atomic_t nr_todo; /* nr left to execute */ member in struct:cpu_stop_done
33 struct completion completion; /* fired if nr_todo reaches 0 */
58 static void cpu_stop_init_done(struct cpu_stop_done *done, unsigned int nr_todo) cpu_stop_init_done() argument
61 atomic_set(&done->nr_todo, nr_todo); cpu_stop_init_done()
71 if (atomic_dec_and_test(&done->nr_todo)) cpu_stop_signal_done()

Completed in 62 milliseconds