Searched refs:shutdown_lock (Results 1 – 2 of 2) sorted by relevance
136 struct mutex shutdown_lock; member1250 mutex_lock(&dev->shutdown_lock); in nvme_pci_subsystem_reset()1270 mutex_unlock(&dev->shutdown_lock); in nvme_pci_subsystem_reset()1728 if (!mutex_trylock(&dev->shutdown_lock)) in nvme_setup_io_queues_trylock()1735 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues_trylock()1782 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue()1787 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue()2536 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues()2557 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues()2659 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()