Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/
H A Dinit.c32 static DEFINE_SPINLOCK(shutdown_lock);
430 spin_lock(&shutdown_lock); in snd_disconnect_release()
438 spin_unlock(&shutdown_lock); in snd_disconnect_release()
517 spin_lock(&shutdown_lock); in snd_card_disconnect()
519 spin_unlock(&shutdown_lock); in snd_card_disconnect()
1123 spin_lock(&shutdown_lock); in snd_card_file_remove()
1125 spin_unlock(&shutdown_lock); in snd_card_file_remove()
/openbmc/linux/drivers/nvme/host/
H A Dpci.c135 struct mutex shutdown_lock; member
1595 if (!mutex_trylock(&dev->shutdown_lock)) in nvme_setup_io_queues_trylock()
1602 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues_trylock()
1649 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue()
1654 mutex_unlock(&dev->shutdown_lock); in nvme_create_queue()
2355 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues()
2376 mutex_unlock(&dev->shutdown_lock); in nvme_setup_io_queues()
2478 if (!mutex_trylock(&dev->shutdown_lock)) in nvme_pci_update_nr_queues()
2483 mutex_unlock(&dev->shutdown_lock); in nvme_pci_update_nr_queues()
2490 mutex_unlock(&dev->shutdown_lock); in nvme_pci_update_nr_queues()
[all …]