Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/
Dsmpboot.c282 int smpboot_register_percpu_thread_cpumask(struct smp_hotplug_thread *plug_thread, in smpboot_register_percpu_thread_cpumask() argument
288 if (!alloc_cpumask_var(&plug_thread->cpumask, GFP_KERNEL)) in smpboot_register_percpu_thread_cpumask()
290 cpumask_copy(plug_thread->cpumask, cpumask); in smpboot_register_percpu_thread_cpumask()
295 ret = __smpboot_create_thread(plug_thread, cpu); in smpboot_register_percpu_thread_cpumask()
297 smpboot_destroy_threads(plug_thread); in smpboot_register_percpu_thread_cpumask()
298 free_cpumask_var(plug_thread->cpumask); in smpboot_register_percpu_thread_cpumask()
302 smpboot_unpark_thread(plug_thread, cpu); in smpboot_register_percpu_thread_cpumask()
304 list_add(&plug_thread->list, &hotplug_threads); in smpboot_register_percpu_thread_cpumask()
318 void smpboot_unregister_percpu_thread(struct smp_hotplug_thread *plug_thread) in smpboot_unregister_percpu_thread() argument
322 list_del(&plug_thread->list); in smpboot_unregister_percpu_thread()
[all …]
/linux-4.4.14/include/linux/
Dsmpboot.h47 int smpboot_register_percpu_thread_cpumask(struct smp_hotplug_thread *plug_thread,
51 smpboot_register_percpu_thread(struct smp_hotplug_thread *plug_thread) in smpboot_register_percpu_thread() argument
53 return smpboot_register_percpu_thread_cpumask(plug_thread, in smpboot_register_percpu_thread()
57 void smpboot_unregister_percpu_thread(struct smp_hotplug_thread *plug_thread);
58 int smpboot_update_cpumask_percpu_thread(struct smp_hotplug_thread *plug_thread,