Home
last modified time | relevance | path

Searched refs:vlan_lock (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dnic.h163 * @vlan_list: List of VLANs added over the interface. Serialised by vlan_lock.
164 * @vlan_lock: Lock to serialize access to vlan_list.
200 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()
470 WARN_ON(!mutex_is_locked(&nic_data->vlan_lock)); in efx_ef10_del_vlan_internal()
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()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
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()
470 WARN_ON(!mutex_is_locked(&nic_data->vlan_lock)); in efx_ef10_del_vlan_internal()
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()
663 mutex_init(&nic_data->vlan_lock); in efx_ef10_probe()
[all...]
H A Dnic.h256 * @vlan_list: List of VLANs added over the interface. Serialised by vlan_lock.
257 * @vlan_lock: Lock to serialize access to vlan_list.
293 struct mutex vlan_lock; member
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_switch.c2571 struct mutex *vlan_lock; /* Lock to protect filter rule list */ in ice_set_vlan_vsi_promisc() local
2576 vlan_lock = &sw->recp_list[ICE_SW_LKUP_VLAN].filt_rule_lock; in ice_set_vlan_vsi_promisc()
2578 mutex_lock(vlan_lock); in ice_set_vlan_vsi_promisc()
2581 mutex_unlock(vlan_lock); in ice_set_vlan_vsi_promisc()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_switch.c4311 struct mutex *vlan_lock; /* Lock to protect filter rule list */ in ice_set_vlan_vsi_promisc() local
4316 vlan_lock = &sw->recp_list[ICE_SW_LKUP_VLAN].filt_rule_lock; in ice_set_vlan_vsi_promisc()
4318 mutex_lock(vlan_lock); in ice_set_vlan_vsi_promisc()
4321 mutex_unlock(vlan_lock); in ice_set_vlan_vsi_promisc()

Completed in 21 milliseconds