Home
last modified time | relevance | path

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

/linux/drivers/nvme/host/
H A Dpci.c165 struct mutex shutdown_lock; member
1535 mutex_lock(&dev->shutdown_lock); in nvme_pci_subsystem_reset()
1558 mutex_unlock(&dev->shutdown_lock); in nvme_pci_subsystem_reset()
2028 if (!mutex_trylock(&dev->shutdown_lock)) in nvme_setup_io_queues_trylock()
2035 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues_trylock()
2082 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue()
2087 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue()
2852 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues()
2873 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues()
2977 if (!mutex_trylock(&dev->shutdown_lock)) in nvme_pci_update_nr_queues()
[all …]
/linux/sound/core/
H A Dinit.c32 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()
1101 scoped_guard(spinlock, &shutdown_lock) in snd_card_file_remove()