Searched refs:mem_hotplug (Results 1 – 1 of 1) sorted by relevance
65 } mem_hotplug = { variable67 .lock = __MUTEX_INITIALIZER(mem_hotplug.lock),75 #define memhp_lock_acquire_read() lock_map_acquire_read(&mem_hotplug.dep_map)76 #define memhp_lock_acquire() lock_map_acquire(&mem_hotplug.dep_map)77 #define memhp_lock_release() lock_map_release(&mem_hotplug.dep_map)82 if (mem_hotplug.active_writer == current) in get_online_mems()85 mutex_lock(&mem_hotplug.lock); in get_online_mems()86 mem_hotplug.refcount++; in get_online_mems()87 mutex_unlock(&mem_hotplug.lock); in get_online_mems()93 if (mem_hotplug.active_writer == current) in put_online_mems()[all …]