Searched refs:shutdown_lock (Results 1 – 2 of 2) sorted by relevance
310 struct mutex shutdown_lock; member 1719 * Taking the shutdown_lock ensures the BAR mapping is not being in nvme_pci_subsystem_reset() 1724 mutex_lock(&dev->shutdown_lock); in nvme_pci_subsystem_reset() 1747 mutex_unlock(&dev->shutdown_lock); in nvme_pci_subsystem_reset() 2213 * Try getting shutdown_lock while setting up IO queues.2216 __cond_acquires(0, &dev->shutdown_lock) in nvme_setup_io_queues_trylock() 2221 if (!mutex_trylock(&dev->shutdown_lock)) in nvme_setup_io_queues_trylock() 2228 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues_trylock() 2275 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue() 2280 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue() [all...]
32 static DEFINE_SPINLOCK(shutdown_lock);429 scoped_guard(spinlock, &shutdown_lock) { in snd_disconnect_release()513 scoped_guard(spinlock, &shutdown_lock) in snd_card_disconnect()1137 scoped_guard(spinlock, &shutdown_lock) in snd_card_file_remove()