Searched refs:table_lock (Results 1 – 14 of 14) 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()273 mutex_unlock(&table_lock); in adf_devmgr_rm_dev()300 mutex_lock(&table_lock); in adf_devmgr_pci_to_accel_dev()306 mutex_unlock(&table_lock); in adf_devmgr_pci_to_accel_dev()310 mutex_unlock(&table_lock); in adf_devmgr_pci_to_accel_dev()[all …]
32 struct mutex table_lock; /* Serializes sf deletion and vhca state change handler. */ member120 mutex_lock(&table->table_lock); in mlx5_sf_hw_table_sf_alloc()145 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_sf_alloc()153 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_sf_alloc()162 mutex_lock(&table->table_lock); in mlx5_sf_hw_table_sf_free()166 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_sf_free()188 mutex_lock(&table->table_lock); in mlx5_sf_hw_table_sf_deferred_free()200 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_sf_deferred_free()268 mutex_init(&table->table_lock); in mlx5_sf_hw_table_init()288 mutex_destroy(&table->table_lock); in mlx5_sf_hw_table_init()[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()
277 spin_lock(&filp->table_lock); in drm_gem_handle_delete()281 spin_unlock(&filp->table_lock); in drm_gem_handle_delete()289 spin_lock(&filp->table_lock); in drm_gem_handle_delete()291 spin_unlock(&filp->table_lock); in drm_gem_handle_delete()377 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail()381 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail()406 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail()408 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail()653 spin_lock(&filp->table_lock); in objects_lookup()665 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()972 mutex_lock(&table_lock); in usb_serial_probe()975 mutex_unlock(&table_lock); in usb_serial_probe()[all …]
334 spin_lock(&file_priv->table_lock); in v3d_lookup_bos()342 spin_unlock(&file_priv->table_lock); in v3d_lookup_bos()348 spin_unlock(&file_priv->table_lock); in v3d_lookup_bos()735 spin_lock(&file_priv->table_lock); in v3d_submit_tfu_ioctl()751 spin_unlock(&file_priv->table_lock); in v3d_submit_tfu_ioctl()757 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()
791 static DEFINE_MUTEX(table_lock);815 mutex_lock(&table_lock); in lookup_or_open()817 mutex_unlock(&table_lock); in lookup_or_open()825 mutex_lock(&table_lock); in lookup_or_open()828 mutex_unlock(&table_lock); in lookup_or_open()834 mutex_unlock(&table_lock); in lookup_or_open()872 mutex_lock(&table_lock); in dm_cache_metadata_close()874 mutex_unlock(&table_lock); in dm_cache_metadata_close()
280 spinlock_t table_lock; member
141 spin_lock(&file->table_lock); in amdgpu_gem_force_release()147 spin_unlock(&file->table_lock); in amdgpu_gem_force_release()950 spin_lock(&file->table_lock); in amdgpu_debugfs_gem_info_show()956 spin_unlock(&file->table_lock); in amdgpu_debugfs_gem_info_show()
63 spin_lock(&file->table_lock); in submit_lookup_objects()106 spin_unlock(&file->table_lock); in submit_lookup_objects()
142 spin_lock(&file->table_lock); in submit_lookup_objects()163 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()