Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c10 static DEFINE_MUTEX(table_lock);
73 mutex_lock(&table_lock); in adf_clean_vf_map()
87 mutex_unlock(&table_lock); in adf_clean_vf_map()
151 mutex_lock(&table_lock); in adf_devmgr_add_dev()
227 mutex_unlock(&table_lock); in adf_devmgr_add_dev()
250 mutex_lock(&table_lock); in adf_devmgr_rm_dev()
272 mutex_unlock(&table_lock); in adf_devmgr_rm_dev()
299 mutex_lock(&table_lock); in adf_devmgr_pci_to_accel_dev()
305 mutex_unlock(&table_lock); in adf_devmgr_pci_to_accel_dev()
309 mutex_unlock(&table_lock); in adf_devmgr_pci_to_accel_dev()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dratelimiter.c14 static spinlock_t table_lock = __SPIN_LOCK_UNLOCKED("ratelimiter_table_lock"); variable
63 spin_lock(&table_lock); in wg_ratelimiter_gc_entries()
76 spin_unlock(&table_lock); in wg_ratelimiter_gc_entries()
148 spin_lock(&table_lock); in wg_ratelimiter_allow()
150 spin_unlock(&table_lock); in wg_ratelimiter_allow()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem.c264 spin_lock(&filp->table_lock); in drm_gem_handle_delete()
268 spin_unlock(&filp->table_lock); in drm_gem_handle_delete()
276 spin_lock(&filp->table_lock); in drm_gem_handle_delete()
278 spin_unlock(&filp->table_lock); in drm_gem_handle_delete()
374 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail()
378 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail()
407 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail()
409 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail()
654 spin_lock(&filp->table_lock); in objects_lookup()
666 spin_unlock(&filp->table_lock); in objects_lookup()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
711 spin_lock(&file_priv->table_lock); in v3d_submit_tfu_ioctl()
727 spin_unlock(&file_priv->table_lock); in v3d_submit_tfu_ioctl()
733 spin_unlock(&file_priv->table_lock); in v3d_submit_tfu_ioctl()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Duart.c71 static DEFINE_MUTEX(table_lock);
344 mutex_lock(&table_lock); in get_gb_by_minor()
356 mutex_unlock(&table_lock); in get_gb_by_minor()
364 mutex_lock(&table_lock); in alloc_minor()
366 mutex_unlock(&table_lock); in alloc_minor()
377 mutex_lock(&table_lock); in release_minor()
379 mutex_unlock(&table_lock); in release_minor()
/kernel/linux/linux-5.10/drivers/md/
Ddm-cache-metadata.c793 static DEFINE_MUTEX(table_lock);
817 mutex_lock(&table_lock); in lookup_or_open()
819 mutex_unlock(&table_lock); in lookup_or_open()
827 mutex_lock(&table_lock); in lookup_or_open()
830 mutex_unlock(&table_lock); in lookup_or_open()
836 mutex_unlock(&table_lock); in lookup_or_open()
874 mutex_lock(&table_lock); in dm_cache_metadata_close()
876 mutex_unlock(&table_lock); in dm_cache_metadata_close()
/kernel/linux/linux-5.10/include/drm/
Ddrm_file.h276 spinlock_t table_lock; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c92 spin_lock(&file->table_lock); in amdgpu_gem_force_release()
98 spin_unlock(&file->table_lock); in amdgpu_gem_force_release()
929 spin_lock(&file->table_lock); in amdgpu_debugfs_gem_info()
931 spin_unlock(&file->table_lock); in amdgpu_debugfs_gem_info()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gem_submit.c112 spin_lock(&file->table_lock); in submit_lookup_objects()
145 spin_unlock(&file->table_lock); in submit_lookup_objects()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_gem.c768 spin_lock(&file_priv->table_lock); in vc4_cl_lookup_bos()
782 spin_unlock(&file_priv->table_lock); in vc4_cl_lookup_bos()