Home
last modified time | relevance | path

Searched refs:switch_sem (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c793 down_read(&mlx4_priv(dev)->cmd.switch_sem); in __mlx4_cmd()
803 up_read(&mlx4_priv(dev)->cmd.switch_sem); in __mlx4_cmd()
2490 init_rwsem(&priv->cmd.switch_sem); in mlx4_cmd_init()
2631 down_write(&priv->cmd.switch_sem); in mlx4_cmd_use_events()
2656 up_write(&priv->cmd.switch_sem); in mlx4_cmd_use_events()
2672 down_write(&priv->cmd.switch_sem); in mlx4_cmd_use_polling()
2682 up_write(&priv->cmd.switch_sem); in mlx4_cmd_use_polling()
H A Dmlx4.h624 struct rw_semaphore switch_sem; member