Home
last modified time | relevance | path

Searched refs:table_lock (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/drivers/crypto/virtio/
Dvirtio_crypto_mgr.c18 static DEFINE_MUTEX(table_lock);
37 mutex_lock(&table_lock); in virtcrypto_devmgr_add_dev()
41 mutex_unlock(&table_lock); in virtcrypto_devmgr_add_dev()
50 mutex_unlock(&table_lock); in virtcrypto_devmgr_add_dev()
57 mutex_unlock(&table_lock); in virtcrypto_devmgr_add_dev()
78 mutex_lock(&table_lock); in virtcrypto_devmgr_rm_dev()
81 mutex_unlock(&table_lock); in virtcrypto_devmgr_rm_dev()
98 mutex_lock(&table_lock); in virtcrypto_devmgr_get_first()
103 mutex_unlock(&table_lock); in virtcrypto_devmgr_get_first()
191 mutex_lock(&table_lock); in virtcrypto_get_dev_node()
[all …]
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c54 static DEFINE_MUTEX(table_lock);
117 mutex_lock(&table_lock); in adf_clean_vf_map()
131 mutex_unlock(&table_lock); in adf_clean_vf_map()
195 mutex_lock(&table_lock); in adf_devmgr_add_dev()
271 mutex_unlock(&table_lock); in adf_devmgr_add_dev()
294 mutex_lock(&table_lock); in adf_devmgr_rm_dev()
316 mutex_unlock(&table_lock); in adf_devmgr_rm_dev()
343 mutex_lock(&table_lock); in adf_devmgr_pci_to_accel_dev()
349 mutex_unlock(&table_lock); in adf_devmgr_pci_to_accel_dev()
353 mutex_unlock(&table_lock); in adf_devmgr_pci_to_accel_dev()
[all …]
/Linux-v5.4/drivers/gpu/drm/
Ddrm_gem.c280 spin_lock(&filp->table_lock); in drm_gem_handle_delete()
284 spin_unlock(&filp->table_lock); in drm_gem_handle_delete()
292 spin_lock(&filp->table_lock); in drm_gem_handle_delete()
294 spin_unlock(&filp->table_lock); in drm_gem_handle_delete()
390 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail()
394 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail()
423 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail()
425 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail()
662 spin_lock(&filp->table_lock); in objects_lookup()
674 spin_unlock(&filp->table_lock); in objects_lookup()
[all …]
/Linux-v5.4/drivers/usb/serial/
Dusb-serial.c53 static DEFINE_MUTEX(table_lock);
66 mutex_lock(&table_lock); in usb_serial_port_get_by_minor()
80 mutex_unlock(&table_lock); in usb_serial_port_get_by_minor()
92 mutex_lock(&table_lock); in allocate_minors()
103 mutex_unlock(&table_lock); in allocate_minors()
109 mutex_unlock(&table_lock); in allocate_minors()
117 mutex_lock(&table_lock); in release_minors()
120 mutex_unlock(&table_lock); in release_minors()
879 mutex_lock(&table_lock); in usb_serial_probe()
882 mutex_unlock(&table_lock); in usb_serial_probe()
[all …]
/Linux-v5.4/drivers/gpu/drm/v3d/
Dv3d_gem.c330 spin_lock(&file_priv->table_lock); in v3d_lookup_bos()
338 spin_unlock(&file_priv->table_lock); in v3d_lookup_bos()
344 spin_unlock(&file_priv->table_lock); in v3d_lookup_bos()
673 spin_lock(&file_priv->table_lock); in v3d_submit_tfu_ioctl()
689 spin_unlock(&file_priv->table_lock); in v3d_submit_tfu_ioctl()
695 spin_unlock(&file_priv->table_lock); in v3d_submit_tfu_ioctl()
/Linux-v5.4/drivers/staging/greybus/
Duart.c79 static DEFINE_MUTEX(table_lock);
355 mutex_lock(&table_lock); in get_gb_by_minor()
367 mutex_unlock(&table_lock); in get_gb_by_minor()
375 mutex_lock(&table_lock); in alloc_minor()
377 mutex_unlock(&table_lock); in alloc_minor()
388 mutex_lock(&table_lock); in release_minor()
390 mutex_unlock(&table_lock); in release_minor()
/Linux-v5.4/drivers/md/
Ddm-cache-metadata.c787 static DEFINE_MUTEX(table_lock);
811 mutex_lock(&table_lock); in lookup_or_open()
813 mutex_unlock(&table_lock); in lookup_or_open()
821 mutex_lock(&table_lock); in lookup_or_open()
824 mutex_unlock(&table_lock); in lookup_or_open()
830 mutex_unlock(&table_lock); in lookup_or_open()
868 mutex_lock(&table_lock); in dm_cache_metadata_close()
870 mutex_unlock(&table_lock); in dm_cache_metadata_close()
/Linux-v5.4/include/drm/
Ddrm_file.h252 spinlock_t table_lock; member
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c105 spin_lock(&file->table_lock); in amdgpu_gem_force_release()
111 spin_unlock(&file->table_lock); in amdgpu_gem_force_release()
873 spin_lock(&file->table_lock); in amdgpu_debugfs_gem_info()
875 spin_unlock(&file->table_lock); in amdgpu_debugfs_gem_info()
/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gem_submit.c111 spin_lock(&file->table_lock); in submit_lookup_objects()
144 spin_unlock(&file->table_lock); in submit_lookup_objects()
/Linux-v5.4/drivers/gpu/drm/etnaviv/
Detnaviv_gem_submit.c63 spin_lock(&file->table_lock); in submit_lookup_objects()
106 spin_unlock(&file->table_lock); in submit_lookup_objects()
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_gem.c769 spin_lock(&file_priv->table_lock); in vc4_cl_lookup_bos()
783 spin_unlock(&file_priv->table_lock); in vc4_cl_lookup_bos()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_debugfs.c337 spin_lock(&file->table_lock); in print_context_stats()
339 spin_unlock(&file->table_lock); in print_context_stats()