Home
last modified time | relevance | path

Searched refs:comp_lock (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c95 mtx_init(&ring->comp_lock, "mlx4 comp", NULL, MTX_DEF); in mlx4_en_create_tx_ring()
209 mtx_destroy(&ring->comp_lock); in mlx4_en_destroy_tx_ring()
429 if (priv->port_up == 0 || !spin_trylock(&ring->comp_lock)) in mlx4_en_tx_irq()
433 spin_unlock(&ring->comp_lock); in mlx4_en_tx_irq()
447 if (!spin_trylock(&ring->comp_lock)) { in mlx4_en_poll_tx_cq()
460 spin_unlock(&ring->comp_lock); in mlx4_en_poll_tx_cq()
478 if (spin_trylock(&ring->comp_lock)) { in mlx4_en_xmit_poll()
480 spin_unlock(&ring->comp_lock); in mlx4_en_xmit_poll()
H A Den.h310 spinlock_t comp_lock; member
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_iq.c97 mtx_lock(&iq->comp_lock); in mlx5e_iq_completion()
100 mtx_unlock(&iq->comp_lock); in mlx5e_iq_completion()
427 mtx_init(&iq->comp_lock, "mlx5iq_comp", in mlx5e_iq_static_init()
435 mtx_destroy(&iq->comp_lock); in mlx5e_iq_static_destroy()
H A Dmlx5_en_rl.c231 mtx_init(&sq->comp_lock, "mlx5comp-rl", NULL, MTX_DEF); in mlx5e_rl_chan_mtx_init()
280 mtx_destroy(&sq->comp_lock); in mlx5e_rl_open_channel()
307 mtx_destroy(&sq->comp_lock); in mlx5e_rl_close_channel()
H A Dmlx5_en_tx.c1176 mtx_lock(&sq->comp_lock); in mlx5e_tx_cq_comp()
1179 mtx_unlock(&sq->comp_lock);
H A Den.h800 struct mtx comp_lock; member
848 struct mtx comp_lock; member
H A Dmlx5_en_main.c2198 mtx_init(&sq->comp_lock, "mlx5comp", in mlx5e_chan_static_init()
2236 mtx_destroy(&c->sq[tc].comp_lock); in mlx5e_chan_static_destroy()