Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/
Dcpu.c61 struct task_struct *active_writer; member
76 .active_writer = NULL,
95 if (cpu_hotplug.active_writer == current) in get_online_cpus()
106 if (cpu_hotplug.active_writer == current) in try_get_online_cpus()
121 if (cpu_hotplug.active_writer == current) in put_online_cpus()
162 cpu_hotplug.active_writer = current; in cpu_hotplug_begin()
178 cpu_hotplug.active_writer = NULL; in cpu_hotplug_done()
/linux-4.1.27/mm/
Dmemory_hotplug.c54 struct task_struct *active_writer; member
66 .active_writer = NULL,
82 if (mem_hotplug.active_writer == current) in get_online_mems()
93 if (mem_hotplug.active_writer == current) in put_online_mems()
100 if (!--mem_hotplug.refcount && unlikely(mem_hotplug.active_writer)) in put_online_mems()
101 wake_up_process(mem_hotplug.active_writer); in put_online_mems()
109 mem_hotplug.active_writer = current; in mem_hotplug_begin()
124 mem_hotplug.active_writer = NULL; in mem_hotplug_done()