Home
last modified time | relevance | path

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

/kernel/
Dcpu.c79 } cpu_hotplug = { variable
81 .wq = __WAIT_QUEUE_HEAD_INITIALIZER(cpu_hotplug.wq),
82 .lock = __MUTEX_INITIALIZER(cpu_hotplug.lock),
89 #define cpuhp_lock_acquire_read() lock_map_acquire_read(&cpu_hotplug.dep_map)
91 lock_map_acquire_tryread(&cpu_hotplug.dep_map)
92 #define cpuhp_lock_acquire() lock_map_acquire(&cpu_hotplug.dep_map)
93 #define cpuhp_lock_release() lock_map_release(&cpu_hotplug.dep_map)
99 if (cpu_hotplug.active_writer == current) in get_online_cpus()
102 mutex_lock(&cpu_hotplug.lock); in get_online_cpus()
103 atomic_inc(&cpu_hotplug.refcount); in get_online_cpus()
[all …]