Searched refs:comp_lock (Results 1 – 6 of 6) sorted by relevance
95 mtx_init(&ring->comp_lock.m, "mlx4 comp", NULL, MTX_DEF); in mlx4_en_create_tx_ring()209 mtx_destroy(&ring->comp_lock.m); 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()
303 spinlock_t comp_lock; member
680 mtx_lock(&sq->comp_lock); in mlx5e_tx_cq_comp()683 mtx_unlock(&sq->comp_lock); in mlx5e_tx_cq_comp()
196 mtx_init(&sq->comp_lock, "mlx5comp-rl", NULL, MTX_DEF); in mlx5e_rl_chan_mtx_init()245 mtx_destroy(&sq->comp_lock); in mlx5e_rl_open_channel()272 mtx_destroy(&sq->comp_lock); in mlx5e_rl_close_channel()
797 struct mtx comp_lock; member
2170 mtx_init(&sq->comp_lock, "mlx5comp", in mlx5e_chan_static_init()2189 mtx_destroy(&c->sq[tc].comp_lock); in mlx5e_chan_static_destroy()