/linux-6.1.9/drivers/crypto/virtio/ |
D | virtio_crypto_mgr.c | 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 …]
|
/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | adf_dev_mgr.c | 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 …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
D | hw_table.c | 33 struct mutex table_lock; /* Serializes sf deletion and vhca state change handler. */ member 121 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() [all …]
|
/linux-6.1.9/drivers/net/wireguard/ |
D | ratelimiter.c | 14 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.1.9/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
D | dev.c | 21 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.1.9/drivers/thermal/intel/ |
D | intel_hfi.c | 126 raw_spinlock_t table_lock; member 174 raw_spin_lock_irq(&hfi_instance->table_lock); in get_hfi_caps() 192 raw_spin_unlock_irq(&hfi_instance->table_lock); in get_hfi_caps() 291 raw_spin_lock(&hfi_instance->table_lock); in intel_hfi_process_event() 300 raw_spin_unlock(&hfi_instance->table_lock); in intel_hfi_process_event() 427 raw_spin_lock_init(&hfi_instance->table_lock); in intel_hfi_online()
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_gem.c | 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() 364 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail() 368 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail() 393 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail() 395 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail() 640 spin_lock(&filp->table_lock); in objects_lookup() 652 spin_unlock(&filp->table_lock); in objects_lookup() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_eswitch.c | 228 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() 440 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_napi_del() 455 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_napi_enable() 470 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_napi_disable() 645 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_start_all_tx_queues() 665 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_stop_all_tx_queues()
|
D | ice_sriov.c | 35 lockdep_assert_held(&vfs->table_lock); in ice_free_vf_entries() 197 mutex_lock(&vfs->table_lock); in ice_free_vfs() 236 mutex_unlock(&vfs->table_lock); in ice_free_vfs() 512 lockdep_assert_held(&pf->vfs.table_lock); in ice_set_per_vf_res() 650 lockdep_assert_held(&pf->vfs.table_lock); in ice_start_vfs() 866 lockdep_assert_held(&vfs->table_lock); in ice_create_vf_entries() 929 mutex_lock(&pf->vfs.table_lock); in ice_ena_vfs() 964 mutex_unlock(&pf->vfs.table_lock); in ice_ena_vfs() 971 mutex_unlock(&pf->vfs.table_lock); in ice_ena_vfs() 1106 mutex_lock(&pf->vfs.table_lock); in ice_process_vflr_event() [all …]
|
D | ice_repr.c | 405 lockdep_assert_held(&pf->vfs.table_lock); in ice_repr_rem_from_all_vfs() 421 lockdep_assert_held(&pf->vfs.table_lock); in ice_repr_add_for_all_vfs()
|
D | ice_vf_lib.c | 447 mutex_lock(&pf->vfs.table_lock); in ice_reset_all_vfs() 458 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs() 510 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()
|
D | ice_vf_lib.h | 70 struct mutex table_lock; /* Lock for protecting the hash table */ member
|
D | ice_virtchnl.c | 184 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()
|
D | ice_virtchnl_fdir.c | 1587 mutex_lock(&pf->vfs.table_lock); in ice_flush_fdir_ctx() 1644 mutex_unlock(&pf->vfs.table_lock); in ice_flush_fdir_ctx()
|
D | ice_main.c | 548 mutex_lock(&pf->vfs.table_lock); in ice_prepare_for_reset() 551 mutex_unlock(&pf->vfs.table_lock); in ice_prepare_for_reset() 1785 mutex_lock(&pf->vfs.table_lock); in ice_handle_mdd_event() 1839 mutex_unlock(&pf->vfs.table_lock); in ice_handle_mdd_event() 3845 mutex_destroy(&pf->vfs.table_lock); in ice_deinit_pf() 3946 mutex_init(&pf->vfs.table_lock); in ice_init_pf()
|
/linux-6.1.9/drivers/usb/serial/ |
D | usb-serial.c | 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() 976 mutex_lock(&table_lock); in usb_serial_probe() 979 mutex_unlock(&table_lock); in usb_serial_probe() [all …]
|
/linux-6.1.9/drivers/staging/greybus/ |
D | uart.c | 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()
|
/linux-6.1.9/drivers/gpu/drm/v3d/ |
D | v3d_gem.c | 338 spin_lock(&file_priv->table_lock); in v3d_lookup_bos() 346 spin_unlock(&file_priv->table_lock); in v3d_lookup_bos() 352 spin_unlock(&file_priv->table_lock); in v3d_lookup_bos() 906 spin_lock(&file_priv->table_lock); in v3d_submit_tfu_ioctl() 922 spin_unlock(&file_priv->table_lock); in v3d_submit_tfu_ioctl() 928 spin_unlock(&file_priv->table_lock); in v3d_submit_tfu_ioctl()
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gem.c | 268 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.1.9/drivers/md/ |
D | dm-cache-metadata.c | 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()
|
/linux-6.1.9/include/drm/ |
D | drm_file.h | 280 spinlock_t table_lock; member
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gem.c | 141 spin_lock(&file->table_lock); in amdgpu_gem_force_release() 147 spin_unlock(&file->table_lock); in amdgpu_gem_force_release() 975 spin_lock(&file->table_lock); in amdgpu_debugfs_gem_info_show() 981 spin_unlock(&file->table_lock); in amdgpu_debugfs_gem_info_show()
|
/linux-6.1.9/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_submit.c | 63 spin_lock(&file->table_lock); in submit_lookup_objects() 106 spin_unlock(&file->table_lock); in submit_lookup_objects()
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_gem_submit.c | 131 spin_lock(&file->table_lock); in submit_lookup_objects() 152 spin_unlock(&file->table_lock); in submit_lookup_objects()
|
/linux-6.1.9/drivers/gpu/drm/vc4/ |
D | vc4_gem.c | 788 spin_lock(&file_priv->table_lock); in vc4_cl_lookup_bos() 802 spin_unlock(&file_priv->table_lock); in vc4_cl_lookup_bos()
|