Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c28 struct mutex sf_state_lock; /* Serializes sf state among user cmds & vhca event handler. */ member
188 mutex_lock(&table->sf_state_lock); in mlx5_devlink_sf_port_fn_state_get()
191 mutex_unlock(&table->sf_state_lock); in mlx5_devlink_sf_port_fn_state_get()
241 mutex_lock(&table->sf_state_lock); in mlx5_sf_state_set()
251 mutex_unlock(&table->sf_state_lock); in mlx5_sf_state_set()
406 mutex_lock(&table->sf_state_lock); in mlx5_devlink_sf_port_del()
408 mutex_unlock(&table->sf_state_lock); in mlx5_devlink_sf_port_del()
440 mutex_lock(&table->sf_state_lock); in mlx5_sf_vhca_event()
454 mutex_unlock(&table->sf_state_lock); in mlx5_sf_vhca_event()
532 mutex_init(&table->sf_state_lock); in mlx5_sf_table_init()
[all …]