Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/crypto/virtio/
A 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-6.3-rc2/drivers/crypto/qat/qat_common/
A 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()
273 mutex_unlock(&table_lock); in adf_devmgr_rm_dev()
300 mutex_lock(&table_lock); in adf_devmgr_pci_to_accel_dev()
310 mutex_unlock(&table_lock); in adf_devmgr_pci_to_accel_dev()
320 mutex_lock(&table_lock); in adf_devmgr_get_dev_by_id()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Dhw_table.c121 mutex_lock(&table->table_lock); in mlx5_sf_hw_table_sf_alloc()
147 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_sf_alloc()
155 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_sf_alloc()
164 mutex_lock(&table->table_lock); in mlx5_sf_hw_table_sf_free()
168 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_sf_free()
191 mutex_lock(&table->table_lock); in mlx5_sf_hw_table_sf_deferred_free()
204 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_sf_deferred_free()
272 mutex_init(&table->table_lock); in mlx5_sf_hw_table_init()
292 mutex_destroy(&table->table_lock); in mlx5_sf_hw_table_init()
328 mutex_lock(&table->table_lock); in mlx5_sf_hw_vhca_event()
[all …]
/linux-6.3-rc2/drivers/net/wireguard/
A 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()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
A Ddev.c21 struct mutex table_lock; /* Serializes sf life cycle and vhca state change handler */ member
175 mutex_lock(&table->table_lock); in mlx5_sf_dev_state_change_handler()
199 mutex_unlock(&table->table_lock); in mlx5_sf_dev_state_change_handler()
252 mutex_lock(&table->table_lock); in mlx5_sf_dev_add_active_work()
267 mutex_unlock(&table->table_lock); in mlx5_sf_dev_add_active_work()
321 mutex_init(&table->table_lock); in mlx5_sf_dev_table_create()
370 mutex_destroy(&table->table_lock); in mlx5_sf_dev_table_destroy()
/linux-6.3-rc2/drivers/thermal/intel/
A Dintel_hfi.c125 raw_spinlock_t table_lock; member
173 raw_spin_lock_irq(&hfi_instance->table_lock); in get_hfi_caps()
191 raw_spin_unlock_irq(&hfi_instance->table_lock); in get_hfi_caps()
302 raw_spin_lock(&hfi_instance->table_lock); in intel_hfi_process_event()
317 raw_spin_unlock(&hfi_instance->table_lock); in intel_hfi_process_event()
436 raw_spin_lock_init(&hfi_instance->table_lock); in intel_hfi_online()
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_gem.c278 spin_lock(&filp->table_lock); in drm_gem_handle_delete()
282 spin_unlock(&filp->table_lock); in drm_gem_handle_delete()
290 spin_lock(&filp->table_lock); in drm_gem_handle_delete()
292 spin_unlock(&filp->table_lock); in drm_gem_handle_delete()
378 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail()
382 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 …]
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_eswitch.c228 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_release_reprs()
258 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_setup_reprs()
446 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_napi_del()
461 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_napi_enable()
476 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_napi_disable()
651 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_start_all_tx_queues()
671 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_stop_all_tx_queues()
A Dice_sriov.c35 lockdep_assert_held(&vfs->table_lock); in ice_free_vf_entries()
182 mutex_lock(&vfs->table_lock); in ice_free_vfs()
221 mutex_unlock(&vfs->table_lock); in ice_free_vfs()
835 lockdep_assert_held(&vfs->table_lock); in ice_create_vf_entries()
886 mutex_lock(&pf->vfs.table_lock); in ice_ena_vfs()
921 mutex_unlock(&pf->vfs.table_lock); in ice_ena_vfs()
928 mutex_unlock(&pf->vfs.table_lock); in ice_ena_vfs()
1063 mutex_lock(&pf->vfs.table_lock); in ice_process_vflr_event()
1075 mutex_unlock(&pf->vfs.table_lock); in ice_process_vflr_event()
1738 mutex_lock(&pf->vfs.table_lock); in ice_print_vfs_mdd_events()
[all …]
A Dice_repr.c399 lockdep_assert_held(&pf->vfs.table_lock); in ice_repr_rem_from_all_vfs()
424 lockdep_assert_held(&pf->vfs.table_lock); in ice_repr_add_for_all_vfs()
A Dice_vf_lib.h72 struct mutex table_lock; /* Lock for protecting the hash table */ member
A Dice_vf_lib.c495 mutex_lock(&pf->vfs.table_lock); in ice_reset_all_vfs()
506 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()
558 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()
A Dice_virtchnl.c184 mutex_lock(&pf->vfs.table_lock); in ice_vc_vf_broadcast()
197 mutex_unlock(&pf->vfs.table_lock); in ice_vc_vf_broadcast()
259 mutex_lock(&pf->vfs.table_lock); in ice_vc_notify_link_state()
262 mutex_unlock(&pf->vfs.table_lock); in ice_vc_notify_link_state()
A Dice_devlink.c754 mutex_lock(&pf->vfs.table_lock); in ice_tear_down_devlink_rate_tree()
759 mutex_unlock(&pf->vfs.table_lock); in ice_tear_down_devlink_rate_tree()
A Dice_virtchnl_fdir.c1587 mutex_lock(&pf->vfs.table_lock); in ice_flush_fdir_ctx()
1644 mutex_unlock(&pf->vfs.table_lock); in ice_flush_fdir_ctx()
A Dice_main.c565 mutex_lock(&pf->vfs.table_lock); in ice_prepare_for_reset()
568 mutex_unlock(&pf->vfs.table_lock); in ice_prepare_for_reset()
1801 mutex_lock(&pf->vfs.table_lock); in ice_handle_mdd_event()
1855 mutex_unlock(&pf->vfs.table_lock); in ice_handle_mdd_event()
3791 mutex_destroy(&pf->vfs.table_lock); in ice_deinit_pf()
3892 mutex_init(&pf->vfs.table_lock); in ice_init_pf()
/linux-6.3-rc2/drivers/usb/serial/
A 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()
976 mutex_lock(&table_lock); in usb_serial_probe()
1437 mutex_lock(&table_lock); in usb_serial_register()
[all …]
/linux-6.3-rc2/drivers/staging/greybus/
A 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()
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_gem.c268 spin_lock(&file->table_lock); in vmw_debugfs_gem_info_show()
274 spin_unlock(&file->table_lock); in vmw_debugfs_gem_info_show()
/linux-6.3-rc2/drivers/md/
A Ddm-cache-metadata.c799 static DEFINE_MUTEX(table_lock);
823 mutex_lock(&table_lock); in lookup_or_open()
825 mutex_unlock(&table_lock); in lookup_or_open()
833 mutex_lock(&table_lock); in lookup_or_open()
836 mutex_unlock(&table_lock); in lookup_or_open()
842 mutex_unlock(&table_lock); in lookup_or_open()
880 mutex_lock(&table_lock); in dm_cache_metadata_close()
882 mutex_unlock(&table_lock); in dm_cache_metadata_close()
/linux-6.3-rc2/include/drm/
A Ddrm_file.h284 spinlock_t table_lock; member
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_gem.c143 spin_lock(&file->table_lock); in amdgpu_gem_force_release()
149 spin_unlock(&file->table_lock); in amdgpu_gem_force_release()
977 spin_lock(&file->table_lock); in amdgpu_debugfs_gem_info_show()
983 spin_unlock(&file->table_lock); in amdgpu_debugfs_gem_info_show()
/linux-6.3-rc2/drivers/gpu/drm/etnaviv/
A Detnaviv_gem_submit.c63 spin_lock(&file->table_lock); in submit_lookup_objects()
106 spin_unlock(&file->table_lock); in submit_lookup_objects()
/linux-6.3-rc2/drivers/gpu/drm/msm/
A Dmsm_gem_submit.c131 spin_lock(&file->table_lock); in submit_lookup_objects()
152 spin_unlock(&file->table_lock); in submit_lookup_objects()
/linux-6.3-rc2/drivers/gpu/drm/vc4/
A Dvc4_gem.c788 spin_lock(&file_priv->table_lock); in vc4_cl_lookup_bos()
802 spin_unlock(&file_priv->table_lock); in vc4_cl_lookup_bos()

Completed in 80 milliseconds