Searched refs:devices_lock (Results 1 – 11 of 11) sorted by relevance
71 static DEFINE_MUTEX(devices_lock);159 mutex_lock(&devices_lock); in roccat_open()197 mutex_unlock(&devices_lock); in roccat_open()209 mutex_lock(&devices_lock); in roccat_release()213 mutex_unlock(&devices_lock); in roccat_release()233 mutex_unlock(&devices_lock); in roccat_release()308 mutex_lock(&devices_lock); in roccat_connect()319 mutex_unlock(&devices_lock); in roccat_connect()330 mutex_unlock(&devices_lock); in roccat_connect()336 mutex_unlock(&devices_lock); in roccat_connect()[all …]
24 static DEFINE_MUTEX(devices_lock);298 mutex_lock(&host1x->devices_lock); in host1x_add_client()304 mutex_unlock(&host1x->devices_lock); in host1x_add_client()310 mutex_unlock(&host1x->devices_lock); in host1x_add_client()320 mutex_lock(&host1x->devices_lock); in host1x_del_client()326 mutex_unlock(&host1x->devices_lock); in host1x_del_client()332 mutex_unlock(&host1x->devices_lock); in host1x_del_client()513 mutex_lock(&host1x->devices_lock); in host1x_attach_driver()517 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()526 mutex_unlock(&host1x->devices_lock); in host1x_attach_driver()[all …]
158 struct mutex devices_lock; member
523 mutex_init(&host->devices_lock); in host1x_probe()
46 static DEFINE_SPINLOCK(devices_lock);649 spin_lock(&devices_lock); in add_peer_chan()652 spin_unlock(&devices_lock); in add_peer_chan()687 spin_lock(&devices_lock); in setup_netdev()690 spin_unlock(&devices_lock); in setup_netdev()695 spin_lock(&devices_lock); in setup_netdev()697 spin_unlock(&devices_lock); in setup_netdev()783 spin_lock(&devices_lock); in chan_close_cb()803 spin_unlock(&devices_lock); in chan_close_cb()814 spin_unlock(&devices_lock); in chan_close_cb()[all …]
328 static DEFINE_SPINLOCK(devices_lock);471 spin_lock(&devices_lock); in eth_configure()473 spin_unlock(&devices_lock); in eth_configure()494 spin_lock(&devices_lock); in find_device()502 spin_unlock(&devices_lock); in find_device()
143 init_rwsem(&t->devices_lock); in dm_table_create()368 down_write(&t->devices_lock); in dm_get_device()395 up_write(&t->devices_lock); in dm_get_device()400 up_write(&t->devices_lock); in dm_get_device()441 down_write(&t->devices_lock); in dm_put_device()461 up_write(&t->devices_lock); in dm_put_device()
219 struct rw_semaphore devices_lock; member
1633 down_read(&table->devices_lock); in retrieve_deps()1663 up_read(&table->devices_lock); in retrieve_deps()
992 spin_lock_irqsave(&smmu_domain->devices_lock, flags); in arm_smmu_sync_cd()999 spin_unlock_irqrestore(&smmu_domain->devices_lock, flags); in arm_smmu_sync_cd()1842 spin_lock_irqsave(&smmu_domain->devices_lock, flags); in arm_smmu_atc_inv_domain()1852 spin_unlock_irqrestore(&smmu_domain->devices_lock, flags); in arm_smmu_atc_inv_domain()2057 spin_lock_init(&smmu_domain->devices_lock); in arm_smmu_domain_alloc()2399 spin_lock_irqsave(&smmu_domain->devices_lock, flags); in arm_smmu_detach_dev()2401 spin_unlock_irqrestore(&smmu_domain->devices_lock, flags); in arm_smmu_detach_dev()2471 spin_lock_irqsave(&smmu_domain->devices_lock, flags); in arm_smmu_attach_dev()2473 spin_unlock_irqrestore(&smmu_domain->devices_lock, flags); in arm_smmu_attach_dev()
734 spinlock_t devices_lock; member