Lines Matching refs:reslock
2027 down_write(&ndev->reslock); in mlx5_cvq_kick_handler()
2080 up_write(&ndev->reslock); in mlx5_cvq_kick_handler()
2719 WARN_ON(!rwsem_is_locked(&ndev->reslock)); in setup_driver()
2775 WARN_ON(!rwsem_is_locked(&ndev->reslock)); in teardown_driver()
2826 down_write(&ndev->reslock); in mlx5_vdpa_set_status()
2848 up_write(&ndev->reslock); in mlx5_vdpa_set_status()
2857 up_write(&ndev->reslock); in mlx5_vdpa_set_status()
2877 down_write(&ndev->reslock); in mlx5_vdpa_reset()
2896 up_write(&ndev->reslock); in mlx5_vdpa_reset()
2954 down_write(&ndev->reslock); in mlx5_vdpa_set_map()
2956 up_write(&ndev->reslock); in mlx5_vdpa_set_map()
3103 down_read(&ndev->reslock); in mlx5_vdpa_get_vendor_vq_stats()
3142 up_read(&ndev->reslock); in mlx5_vdpa_get_vendor_vq_stats()
3166 down_write(&ndev->reslock); in mlx5_vdpa_suspend()
3174 up_write(&ndev->reslock); in mlx5_vdpa_suspend()
3433 init_rwsem(&ndev->reslock); in mlx5_vdpa_dev_add()