Home
last modified time | relevance | path

Searched refs:devices_lock (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/hid/
Dhid-roccat.c71 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 …]
/linux-6.6.21/drivers/gpu/host1x/
Dbus.c24 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 …]
Ddev.h158 struct mutex devices_lock; member
Ddev.c523 mutex_init(&host->devices_lock); in host1x_probe()
/linux-6.6.21/net/bluetooth/
D6lowpan.c46 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 …]
/linux-6.6.21/arch/um/drivers/
Dnet_kern.c328 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()
/linux-6.6.21/drivers/md/
Ddm-table.c143 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()
Ddm-core.h219 struct rw_semaphore devices_lock; member
Ddm-ioctl.c1633 down_read(&table->devices_lock); in retrieve_deps()
1663 up_read(&table->devices_lock); in retrieve_deps()
/linux-6.6.21/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c992 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()
Darm-smmu-v3.h734 spinlock_t devices_lock; member