Home
last modified time | relevance | path

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

/drivers/net/ethernet/microchip/sparx5/
Dsparx5_mactable.c263 mutex_lock(&sparx5->mact_lock); in find_mact_entry()
272 mutex_unlock(&sparx5->mact_lock); in find_mact_entry()
319 mutex_lock(&sparx5->mact_lock); in sparx5_add_mact_entry()
321 mutex_unlock(&sparx5->mact_lock); in sparx5_add_mact_entry()
345 mutex_lock(&sparx5->mact_lock); in sparx5_del_mact_entry()
356 mutex_unlock(&sparx5->mact_lock); in sparx5_del_mact_entry()
380 mutex_lock(&sparx5->mact_lock); in sparx5_mact_handle_entry()
396 mutex_unlock(&sparx5->mact_lock); in sparx5_mact_handle_entry()
409 mutex_lock(&sparx5->mact_lock); in sparx5_mact_handle_entry()
411 mutex_unlock(&sparx5->mact_lock); in sparx5_mact_handle_entry()
[all …]
Dsparx5_main.h268 struct mutex mact_lock; member
Dsparx5_main.c657 mutex_init(&sparx5->mact_lock); in sparx5_start()
/drivers/net/ethernet/mscc/
Docelot.c102 mutex_lock(&ocelot->mact_lock); in ocelot_mact_learn()
104 mutex_unlock(&ocelot->mact_lock); in ocelot_mact_learn()
115 mutex_lock(&ocelot->mact_lock); in ocelot_mact_forget()
126 mutex_unlock(&ocelot->mact_lock); in ocelot_mact_forget()
138 mutex_lock(&ocelot->mact_lock); in ocelot_mact_lookup()
148 mutex_unlock(&ocelot->mact_lock); in ocelot_mact_lookup()
155 mutex_unlock(&ocelot->mact_lock); in ocelot_mact_lookup()
175 mutex_lock(&ocelot->mact_lock); in ocelot_mact_learn_streamdata()
186 mutex_unlock(&ocelot->mact_lock); in ocelot_mact_learn_streamdata()
1222 mutex_lock(&ocelot->mact_lock); in ocelot_mact_flush()
[all …]