Home
last modified time | relevance | path

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

/mm/
Dmemory_hotplug.c66 } mem_hotplug = { variable
68 .lock = __MUTEX_INITIALIZER(mem_hotplug.lock),
76 #define memhp_lock_acquire_read() lock_map_acquire_read(&mem_hotplug.dep_map)
77 #define memhp_lock_acquire() lock_map_acquire(&mem_hotplug.dep_map)
78 #define memhp_lock_release() lock_map_release(&mem_hotplug.dep_map)
83 if (mem_hotplug.active_writer == current) in get_online_mems()
86 mutex_lock(&mem_hotplug.lock); in get_online_mems()
87 mem_hotplug.refcount++; in get_online_mems()
88 mutex_unlock(&mem_hotplug.lock); in get_online_mems()
94 if (mem_hotplug.active_writer == current) in put_online_mems()
[all …]