Lines Matching refs:state_mutex
45 lockdep_assert_held(&mvdev->state_mutex); in mlx5vf_cmd_suspend_vhca()
77 lockdep_assert_held(&mvdev->state_mutex); in mlx5vf_cmd_resume_vhca()
96 lockdep_assert_held(&mvdev->state_mutex); in mlx5vf_cmd_query_vhca_migration_state()
160 mutex_lock(&mvdev->state_mutex); in mlx5fv_vf_event()
166 mutex_lock(&mvdev->state_mutex); in mlx5fv_vf_event()
184 mutex_lock(&mvdev->state_mutex); in mlx5vf_cmd_close_migratable()
233 mutex_init(&mvdev->state_mutex); in mlx5vf_cmd_set_migratable()
351 lockdep_assert_held(&mvdev->state_mutex); in mlx5vf_dma_data_buffer()
379 lockdep_assert_held(&migf->mvdev->state_mutex); in mlx5vf_free_data_buffer()
442 lockdep_assert_held(&migf->mvdev->state_mutex); in mlx5vf_get_data_buffer()
587 lockdep_assert_held(&mvdev->state_mutex); in mlx5vf_cmd_save_vhca_state()
667 lockdep_assert_held(&mvdev->state_mutex); in mlx5vf_cmd_load_vhca_state()
690 lockdep_assert_held(&migf->mvdev->state_mutex); in mlx5vf_cmd_alloc_pd()
700 lockdep_assert_held(&migf->mvdev->state_mutex); in mlx5vf_cmd_dealloc_pd()
711 lockdep_assert_held(&migf->mvdev->state_mutex); in mlx5fv_cmd_clean_migf_resources()
1326 lockdep_assert_held(&mvdev->state_mutex); in _mlx5vf_free_page_tracker_resources()
1349 mutex_lock(&mvdev->state_mutex); in mlx5vf_stop_page_tracker()
1377 mutex_lock(&mvdev->state_mutex); in mlx5vf_start_page_tracker()
1600 mutex_lock(&mvdev->state_mutex); in mlx5vf_tracker_read_and_clear()