Lines Matching defs:thread
53 * @thread: Pointer to the hotplug thread
68 struct task_struct *thread;
514 /* Regular hotplug invocation of the AP hotplug thread */
528 wake_up_process(st->thread);
557 /* Unpark the hotplug thread of the target cpu */
558 kthread_unpark(st->thread);
688 * Each invocation of this function by the smpboot thread does a single AP
789 * If we are up and running, use the hotplug thread. For early calls
790 * we invoke the thread function directly.
792 if (!st->thread) {
844 .store = &cpuhp_state.thread,
855 kthread_unpark(this_cpu_read(cpuhp_state.thread));
940 * Main thread might exit, but other threads may still have
986 /* Park the stopper thread */
997 kthread_park(per_cpu_ptr(&cpuhp_state, cpu)->thread);
1012 /* Unpark the hotplug thread so we can rollback there */
1013 kthread_unpark(per_cpu_ptr(&cpuhp_state, cpu)->thread);
1021 * that the migration thread is done doing the stop_machine thing.
1023 * Wait for the stop thread to go away.
1112 * If the current CPU state is in the range of the AP hotplug thread,
1113 * then we need to kick the thread.
1128 * thread. Nothing to do anymore.
1276 * hotplug thread of the upcoming CPU up and then delegates the rest of the
1277 * online bringup to the hotplug thread.
1289 * Unpart the stopper thread before we start the idle loop (and start
1333 * If the current CPU state is in the range of the AP hotplug thread,
1334 * then we need to kick the thread once more.
1349 * CPUHP_BRINGUP_CPU. After that the AP hotplug thread is