Home
last modified time | relevance | path

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

/linux/drivers/virtio/
H A Dvirtio_mem.c235 struct mutex hotplug_mutex; member
413 mutex_lock(&vm->hotplug_mutex); in virtio_mem_bbm_bb_states_prepare_next_bb()
418 mutex_unlock(&vm->hotplug_mutex); in virtio_mem_bbm_bb_states_prepare_next_bb()
479 mutex_lock(&vm->hotplug_mutex); in virtio_mem_sbm_mb_states_prepare_next_mb()
484 mutex_unlock(&vm->hotplug_mutex); in virtio_mem_sbm_mb_states_prepare_next_mb()
602 mutex_lock(&vm->hotplug_mutex); in virtio_mem_sbm_sb_states_prepare_next_mb()
608 mutex_unlock(&vm->hotplug_mutex); in virtio_mem_sbm_sb_states_prepare_next_mb()
799 mutex_unlock(&vm->hotplug_mutex); in virtio_mem_sbm_try_remove_unplugged_mb()
801 mutex_lock(&vm->hotplug_mutex); in virtio_mem_sbm_try_remove_unplugged_mb()
1034 mutex_lock(&vm->hotplug_mutex); in virtio_mem_memory_notifier_cb()
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Dcmm.c84 static DEFINE_MUTEX(hotplug_mutex);
146 if (mutex_trylock(&hotplug_mutex)) { in cmm_alloc_pages()
148 mutex_unlock(&hotplug_mutex); in cmm_alloc_pages()
151 mutex_unlock(&hotplug_mutex); in cmm_alloc_pages()
300 if (mutex_trylock(&hotplug_mutex)) { in cmm_thread()
303 mutex_unlock(&hotplug_mutex); in cmm_thread()
314 mutex_unlock(&hotplug_mutex); in cmm_thread()
477 mutex_lock(&hotplug_mutex); in cmm_memory_cb()
482 mutex_unlock(&hotplug_mutex); in cmm_memory_cb()