Searched refs:comp_lock (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_tx.c | 95 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 D | en.h | 310 spinlock_t comp_lock; member
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_iq.c | 97 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 D | mlx5_en_rl.c | 231 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 D | mlx5_en_tx.c | 1176 mtx_lock(&sq->comp_lock); in mlx5e_tx_cq_comp() 1179 mtx_unlock(&sq->comp_lock);
|
H A D | en.h | 800 struct mtx comp_lock; member 848 struct mtx comp_lock; member
|
H A D | mlx5_en_main.c | 2198 mtx_init(&sq->comp_lock, "mlx5comp", in mlx5e_chan_static_init() 2236 mtx_destroy(&c->sq[tc].comp_lock); in mlx5e_chan_static_destroy()
|