Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/nvme/host/
Dpci.c135 struct mutex shutdown_lock; member
1158 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 …]
/linux-6.12.1/sound/core/
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()
1103 scoped_guard(spinlock, &shutdown_lock) in snd_card_file_remove()