Searched refs:table_lock (Results 1 – 12 of 12) sorted by relevance
34 struct mutex table_lock; /* Serializes sf deletion and vhca state change handler. */ member132 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_alloc()175 mutex_lock(&table->table_lock); in mlx5_sf_hw_table_sf_free()179 mutex_unlock(&table->table_lock); in mlx5_sf_hw_table_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_sf_deferred_free()327 mutex_init(&table->table_lock); in mlx5_sf_hw_table_init()371 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()
217 spin_lock(&file->table_lock); in show_meminfo()226 spin_unlock(&file->table_lock); in show_meminfo()233 spin_lock(&file->table_lock); in show_meminfo()236 spin_unlock(&file->table_lock); in show_meminfo()
35 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()694 lockdep_assert_held(&vfs->table_lock); in ice_create_vf_entries()760 mutex_lock(&pf->vfs.table_lock); in ice_ena_vfs()789 mutex_unlock(&pf->vfs.table_lock); in ice_ena_vfs()796 mutex_unlock(&pf->vfs.table_lock); in ice_ena_vfs()1086 mutex_lock(&pf->vfs.table_lock); in ice_process_vflr_event()[all …]
759 mutex_lock(&pf->vfs.table_lock); in ice_reset_all_vfs()767 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()824 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()
131 struct mutex table_lock; /* Lock for protecting the hash table */ member
558 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()
85 spin_lock(&file->table_lock); in show_meminfo()88 spin_unlock(&file->table_lock); in show_meminfo()
922 spin_lock(&file->table_lock); in drm_show_memory_stats()958 spin_unlock(&file->table_lock); in drm_show_memory_stats()
34 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()
1811 mutex_lock(&pf->vfs.table_lock); in ice_flush_fdir_ctx()1868 mutex_unlock(&pf->vfs.table_lock); in ice_flush_fdir_ctx()
701 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()