Home
last modified time | relevance | path

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

/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_dev_mgr.c10 static DEFINE_MUTEX(table_lock);
60 mutex_lock(&table_lock);
74 mutex_unlock(&table_lock); in adf_clean_vf_map()
138 mutex_lock(&table_lock);
215 mutex_unlock(&table_lock); in adf_devmgr_add_dev()
238 mutex_lock(&table_lock);
262 mutex_unlock(&table_lock); in adf_devmgr_rm_dev()
279 mutex_lock(&table_lock);
285 mutex_unlock(&table_lock);
289 mutex_unlock(&table_lock); in adf_devmgr_pci_to_accel_dev()
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dhw_table.c34 struct mutex table_lock; /* Serializes sf deletion and vhca state change handler. */
132 mutex_lock(&table->table_lock); in mlx5_sf_hw_table_sf_alloc()
158 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_sf_alloc()
166 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_sf_free()
175 mutex_lock(&table->table_lock); in mlx5_sf_hw_table_hwc_sf_free()
179 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_hwc_sf_free()
202 mutex_lock(&table->table_lock); in mlx5_sf_hw_table_sf_deferred_free()
215 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_hwc_dealloc_all()
327 mutex_init(&table->table_lock); in mlx5_sf_hw_table_init()
371 mutex_destroy(&table->table_lock); in mlx5_sf_hw_vhca_event()
33 struct mutex table_lock; /* Serializes sf deletion and vhca state change handler. */ global() member
[all...]
/linux/drivers/gpu/drm/
H A Ddrm_gem.c404 spin_lock(&filp->table_lock); in drm_gem_handle_delete()
408 spin_unlock(&filp->table_lock); in drm_gem_handle_delete()
416 spin_lock(&filp->table_lock); in drm_gem_handle_delete()
418 spin_unlock(&filp->table_lock); in drm_gem_handle_delete()
497 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail()
501 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail()
521 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail()
524 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail()
531 spin_lock(&file_priv->table_lock); in drm_gem_handle_create_tail()
533 spin_unlock(&file_priv->table_lock); in drm_gem_handle_create_tail()
[all...]
H A Ddrm_file.c922 spin_lock(&file->table_lock); in drm_show_memory_stats()
958 spin_unlock(&file->table_lock); in drm_show_memory_stats()
/linux/drivers/net/wireguard/
H 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/drivers/gpu/drm/xe/
H A Dxe_drm_client.c207 spin_lock(&file->table_lock); in show_meminfo()
216 spin_unlock(&file->table_lock); in show_meminfo()
223 spin_lock(&file->table_lock); in show_meminfo()
226 spin_unlock(&file->table_lock); in show_meminfo()
/linux/drivers/usb/serial/
H A Dusb-serial.c50 static DEFINE_MUTEX(table_lock);
63 mutex_lock(&table_lock); in usb_serial_port_get_by_minor()
77 mutex_unlock(&table_lock); in usb_serial_port_get_by_minor()
89 mutex_lock(&table_lock); in allocate_minors()
100 mutex_unlock(&table_lock); in allocate_minors()
106 mutex_unlock(&table_lock); in allocate_minors()
114 mutex_lock(&table_lock); in release_minors()
117 mutex_unlock(&table_lock); in release_minors()
732 /* Caller must hold table_lock */ in get_iface_id()
970 mutex_lock(&table_lock); in usb_serial_probe()
[all...]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c35 lockdep_assert_held(&vfs->table_lock); in ice_free_vf_entries()
154 mutex_lock(&vfs->table_lock); in ice_free_vfs()
184 mutex_unlock(&vfs->table_lock); in ice_free_vfs()
377 lockdep_assert_held(&pf->vfs.table_lock); in ice_set_per_vf_res()
474 lockdep_assert_held(&pf->vfs.table_lock); in ice_start_vfs()
692 lockdep_assert_held(&vfs->table_lock); in ice_create_vf_entries()
758 mutex_lock(&pf->vfs.table_lock); in ice_ena_vfs()
787 mutex_unlock(&pf->vfs.table_lock); in ice_ena_vfs()
794 mutex_unlock(&pf->vfs.table_lock); in ice_ena_vfs()
1084 mutex_lock(&pf->vfs.table_lock); in ice_process_vflr_event()
[all …]
H A Dice_vf_lib.c759 mutex_lock(&pf->vfs.table_lock); in ice_reset_all_vfs()
767 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()
823 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()
H A Dice_main.c558 mutex_lock(&pf->vfs.table_lock); in ice_prepare_for_reset()
561 mutex_unlock(&pf->vfs.table_lock); in ice_prepare_for_reset()
1864 mutex_lock(&pf->vfs.table_lock); in ice_handle_mdd_event()
1920 mutex_unlock(&pf->vfs.table_lock); in ice_handle_mdd_event()
3881 mutex_destroy(&pf->vfs.table_lock); in ice_deinit_pf()
3990 mutex_init(&pf->vfs.table_lock); in ice_init_pf()
/linux/drivers/staging/greybus/
H 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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gem.c214 spin_lock(&file->table_lock); in amdgpu_gem_force_release()
220 spin_unlock(&file->table_lock); in amdgpu_gem_force_release()
1177 spin_lock(&filp->table_lock); in amdgpu_gem_list_handles_ioctl()
1180 spin_unlock(&filp->table_lock); in amdgpu_gem_list_handles_ioctl()
1196 spin_lock(&filp->table_lock); in amdgpu_gem_list_handles_ioctl()
1219 spin_unlock(&filp->table_lock); in amdgpu_gem_list_handles_ioctl()
1340 spin_lock(&file->table_lock); in amdgpu_debugfs_gem_info_show()
1346 spin_unlock(&file->table_lock);
/linux/drivers/gpu/drm/i915/
H A Di915_drm_client.c85 spin_lock(&file->table_lock); in show_meminfo()
88 spin_unlock(&file->table_lock); in show_meminfo()
/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_gem_submit.c61 spin_lock(&file->table_lock); in submit_lookup_objects()
83 * all under single table_lock just hit object_idr directly: in submit_lookup_objects()
104 spin_unlock(&file->table_lock); in submit_lookup_objects()
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c166 spin_lock(&file->table_lock); in submit_lookup_objects()
186 spin_unlock(&file->table_lock); in submit_lookup_objects()
H A Dmsm_gem_vma.c1092 spin_lock(&file->table_lock); in vm_bind_job_lookup_ops()
1105 * all under single table_lock just hit object_idr directly: in vm_bind_job_lookup_ops()
1128 spin_unlock(&file->table_lock); in vm_bind_job_lookup_ops()
/linux/drivers/net/ethernet/intel/ice/virt/
H A Dvirtchnl.c34 mutex_lock(&pf->vfs.table_lock); in ice_vc_vf_broadcast()
47 mutex_unlock(&pf->vfs.table_lock); in ice_vc_vf_broadcast()
109 mutex_lock(&pf->vfs.table_lock); in ice_vc_notify_link_state()
112 mutex_unlock(&pf->vfs.table_lock); in ice_vc_notify_link_state()
H A Dfdir.c1811 mutex_lock(&pf->vfs.table_lock); in ice_flush_fdir_ctx()
1868 mutex_unlock(&pf->vfs.table_lock); in ice_flush_fdir_ctx()
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.c701 mutex_lock(&pf->vfs.table_lock); in ice_tear_down_devlink_rate_tree()
706 mutex_unlock(&pf->vfs.table_lock); in ice_tear_down_devlink_rate_tree()