Searched refs:switch_sem (Results 1 – 2 of 2) sorted by relevance
787 down_read(&mlx4_priv(dev)->cmd.switch_sem); in __mlx4_cmd()797 up_read(&mlx4_priv(dev)->cmd.switch_sem); in __mlx4_cmd()2500 init_rwsem(&priv->cmd.switch_sem); in mlx4_cmd_init()2635 down_write(&priv->cmd.switch_sem); in mlx4_cmd_use_events()2659 up_write(&priv->cmd.switch_sem); in mlx4_cmd_use_events()2676 down_write(&priv->cmd.switch_sem); in mlx4_cmd_use_polling()2686 up_write(&priv->cmd.switch_sem); in mlx4_cmd_use_polling()
634 struct rw_semaphore switch_sem; member
Completed in 13 milliseconds