Searched refs:shutdown_lock (Results 1 – 2 of 2) sorted by relevance
135 struct mutex shutdown_lock; member1158 mutex_lock(&dev->shutdown_lock); in nvme_pci_subsystem_reset()1178 mutex_unlock(&dev->shutdown_lock); in nvme_pci_subsystem_reset()1636 if (!mutex_trylock(&dev->shutdown_lock)) in nvme_setup_io_queues_trylock()1643 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues_trylock()1690 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue()1695 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue()2395 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues()2416 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues()2518 if (!mutex_trylock(&dev->shutdown_lock)) in nvme_pci_update_nr_queues()[all …]
32 static DEFINE_SPINLOCK(shutdown_lock);424 scoped_guard(spinlock, &shutdown_lock) { in snd_disconnect_release()509 scoped_guard(spinlock, &shutdown_lock) in snd_card_disconnect()1103 scoped_guard(spinlock, &shutdown_lock) in snd_card_file_remove()