Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c14 #define chains_lock(chains) ((chains)->lock) macro
626 mutex_lock(&chains_lock(chains)); in mlx5_chains_get_table()
637 mutex_unlock(&chains_lock(chains)); in mlx5_chains_get_table()
642 mutex_unlock(&chains_lock(chains)); in mlx5_chains_get_table()
660 mutex_lock(&chains_lock(chains)); in mlx5_chains_put_table()
668 mutex_unlock(&chains_lock(chains)); in mlx5_chains_put_table()
676 mutex_unlock(&chains_lock(chains)); in mlx5_chains_put_table()
746 mutex_init(&chains_lock(chains)); in mlx5_chains_init()
760 mutex_destroy(&chains_lock(chains)); in mlx5_chains_cleanup()