Searched refs:comp_lock (Results 1 - 5 of 5) sorted by path

/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Den.h302 spinlock_t comp_lock; member in struct:mlx4_en_tx_ring
H A Dmlx4_en_tx.c95 mtx_init(&ring->comp_lock.m, "mlx4 comp", NULL, MTX_DEF);
209 mtx_destroy(&ring->comp_lock.m);
429 if (priv->port_up == 0 || !spin_trylock(&ring->comp_lock))
433 spin_unlock(&ring->comp_lock);
447 if (!spin_trylock(&ring->comp_lock)) {
460 spin_unlock(&ring->comp_lock);
478 if (spin_trylock(&ring->comp_lock)) {
480 spin_unlock(&ring->comp_lock);
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
H A Den.h791 struct mtx comp_lock; member in struct:mlx5e_sq
H A Dmlx5_en_main.c2028 mtx_init(&sq->comp_lock, "mlx5comp",
2047 mtx_destroy(&c->sq[tc].comp_lock);
H A Dmlx5_en_tx.c616 mtx_lock(&sq->comp_lock);
619 mtx_unlock(&sq->comp_lock);

Completed in 197 milliseconds