Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dint_port.c24 struct mutex int_ports_lock; /* Protects int ports list */ member
273 mutex_lock(&priv->int_ports_lock); in mlx5e_tc_int_port_get()
289 mutex_unlock(&priv->int_ports_lock); in mlx5e_tc_int_port_get()
298 if (!refcount_dec_and_mutex_lock(&int_port->refcnt, &priv->int_ports_lock)) in mlx5e_tc_int_port_put()
302 mutex_unlock(&priv->int_ports_lock); in mlx5e_tc_int_port_put()
331 mutex_init(&int_port_priv->int_ports_lock); in mlx5e_tc_int_port_init()
348 mutex_destroy(&priv->int_ports_lock); in mlx5e_tc_int_port_cleanup()
373 mutex_lock(&ppriv->int_ports_lock); in mlx5e_tc_int_port_init_rep_rx()
375 mutex_unlock(&ppriv->int_ports_lock); in mlx5e_tc_int_port_init_rep_rx()
394 mutex_lock(&ppriv->int_ports_lock); in mlx5e_tc_int_port_cleanup_rep_rx()
[all …]