Searched refs:table_lock (Results 1 – 13 of 13) sorted by relevance
18 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 …]
10 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 …]
14 static spinlock_t table_lock = __SPIN_LOCK_UNLOCKED("ratelimiter_table_lock"); variable63 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()
264 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 …]
53 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 …]
330 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()
71 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()
793 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()
276 spinlock_t table_lock; member
92 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()
63 spin_lock(&file->table_lock); in submit_lookup_objects()106 spin_unlock(&file->table_lock); in submit_lookup_objects()
112 spin_lock(&file->table_lock); in submit_lookup_objects()145 spin_unlock(&file->table_lock); in submit_lookup_objects()
768 spin_lock(&file_priv->table_lock); in vc4_cl_lookup_bos()782 spin_unlock(&file_priv->table_lock); in vc4_cl_lookup_bos()