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
1523 mutex_lock(&dev->shutdown_lock); in nvme_pci_subsystem_reset()
1543 mutex_unlock(&dev->shutdown_lock); in nvme_pci_subsystem_reset()
2012 if (!mutex_trylock(&dev->shutdown_lock)) in nvme_setup_io_queues_trylock()
2019 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues_trylock()
2066 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue()
2071 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue()
2836 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues()
2857 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues()
2959 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()