Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dnic.h200 struct mutex vlan_lock; member
H A Def10.c402 WARN_ON(!mutex_is_locked(&nic_data->vlan_lock)); in efx_ef10_find_vlan()
418 mutex_lock(&nic_data->vlan_lock); in efx_ef10_add_vlan()
453 mutex_unlock(&nic_data->vlan_lock); in efx_ef10_add_vlan()
461 mutex_unlock(&nic_data->vlan_lock); in efx_ef10_add_vlan()
495 mutex_lock(&nic_data->vlan_lock); in efx_ef10_del_vlan()
506 mutex_unlock(&nic_data->vlan_lock); in efx_ef10_del_vlan()
516 mutex_lock(&nic_data->vlan_lock); in efx_ef10_cleanup_vlans()
519 mutex_unlock(&nic_data->vlan_lock); in efx_ef10_cleanup_vlans()
662 mutex_init(&nic_data->vlan_lock); in efx_ef10_probe()
688 mutex_destroy(&nic_data->vlan_lock); in efx_ef10_probe()
[all …]
/openbmc/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek.h286 struct mutex vlan_lock; /* VLAN bitmaps lock */ member
H A Dhellcreek.c1519 mutex_lock(&hellcreek->vlan_lock); in hellcreek_port_prechangeupper()
1539 mutex_unlock(&hellcreek->vlan_lock); in hellcreek_port_prechangeupper()
1984 mutex_init(&hellcreek->vlan_lock); in hellcreek_probe()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_switch.c4315 struct mutex *vlan_lock; /* Lock to protect filter rule list */ in ice_set_vlan_vsi_promisc() local
4320 vlan_lock = &sw->recp_list[ICE_SW_LKUP_VLAN].filt_rule_lock; in ice_set_vlan_vsi_promisc()
4322 mutex_lock(vlan_lock); in ice_set_vlan_vsi_promisc()
4325 mutex_unlock(vlan_lock); in ice_set_vlan_vsi_promisc()