Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/
Dcpu.c75 } cpu_hotplug = { variable
77 .wq = __WAIT_QUEUE_HEAD_INITIALIZER(cpu_hotplug.wq),
78 .lock = __MUTEX_INITIALIZER(cpu_hotplug.lock),
85 #define cpuhp_lock_acquire_read() lock_map_acquire_read(&cpu_hotplug.dep_map)
87 lock_map_acquire_tryread(&cpu_hotplug.dep_map)
88 #define cpuhp_lock_acquire() lock_map_acquire(&cpu_hotplug.dep_map)
89 #define cpuhp_lock_release() lock_map_release(&cpu_hotplug.dep_map)
95 if (cpu_hotplug.active_writer == current) in get_online_cpus()
98 mutex_lock(&cpu_hotplug.lock); in get_online_cpus()
99 atomic_inc(&cpu_hotplug.refcount); in get_online_cpus()
[all …]
/linux-4.1.27/drivers/xen/
DMakefile2 obj-$(CONFIG_HOTPLUG_CPU) += cpu_hotplug.o
/linux-4.1.27/Documentation/
Dcpu-hotplug.txt117 cpu_hotplug.refcount is non zero, the cpu_online_mask will not change.
344 and the cpu_hotplug.lock.