Lines Matching refs:rule_lock
3070 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_update_sw_rule_bridge_mode() local
3073 rule_lock = &sw->recp_list[ICE_SW_LKUP_MAC].filt_rule_lock; in ice_update_sw_rule_bridge_mode()
3076 mutex_lock(rule_lock); in ice_update_sw_rule_bridge_mode()
3095 mutex_unlock(rule_lock); in ice_update_sw_rule_bridge_mode()
3293 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_add_rule_internal() local
3301 rule_lock = &sw->recp_list[recp_id].filt_rule_lock; in ice_add_rule_internal()
3303 mutex_lock(rule_lock); in ice_add_rule_internal()
3312 mutex_unlock(rule_lock); in ice_add_rule_internal()
3318 mutex_unlock(rule_lock); in ice_add_rule_internal()
3458 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_remove_rule_internal() local
3468 rule_lock = &sw->recp_list[recp_id].filt_rule_lock; in ice_remove_rule_internal()
3469 mutex_lock(rule_lock); in ice_remove_rule_internal()
3533 mutex_unlock(rule_lock); in ice_remove_rule_internal()
3548 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_vlan_fltr_exist() local
3563 rule_lock = &sw->recp_list[ICE_SW_LKUP_VLAN].filt_rule_lock; in ice_vlan_fltr_exist()
3564 mutex_lock(rule_lock); in ice_vlan_fltr_exist()
3599 mutex_unlock(rule_lock); in ice_vlan_fltr_exist()
3603 mutex_unlock(rule_lock); in ice_vlan_fltr_exist()
3662 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_add_vlan_internal() local
3682 rule_lock = &sw->recp_list[ICE_SW_LKUP_VLAN].filt_rule_lock; in ice_add_vlan_internal()
3683 mutex_lock(rule_lock); in ice_add_vlan_internal()
3798 mutex_unlock(rule_lock); in ice_add_vlan_internal()
4009 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_check_if_dflt_vsi() local
4013 rule_lock = &recp_list->filt_rule_lock; in ice_check_if_dflt_vsi()
4016 mutex_lock(rule_lock); in ice_check_if_dflt_vsi()
4028 mutex_unlock(rule_lock); in ice_check_if_dflt_vsi()
4252 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_clear_vsi_promisc() local
4265 rule_lock = &sw->recp_list[recipe_id].filt_rule_lock; in ice_clear_vsi_promisc()
4269 mutex_lock(rule_lock); in ice_clear_vsi_promisc()
4292 mutex_unlock(rule_lock); in ice_clear_vsi_promisc()
4296 mutex_unlock(rule_lock); in ice_clear_vsi_promisc()
4494 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_remove_vsi_lkup_fltr() local
4498 rule_lock = &sw->recp_list[lkup].filt_rule_lock; in ice_remove_vsi_lkup_fltr()
4500 mutex_lock(rule_lock); in ice_remove_vsi_lkup_fltr()
4503 mutex_unlock(rule_lock); in ice_remove_vsi_lkup_fltr()
6454 struct mutex *rule_lock; /* Lock to protect filter rule list */ in ice_rem_adv_rule() local
6475 rule_lock = &hw->switch_info->recp_list[rid].filt_rule_lock; in ice_rem_adv_rule()
6480 mutex_lock(rule_lock); in ice_rem_adv_rule()
6491 mutex_unlock(rule_lock); in ice_rem_adv_rule()
6497 mutex_unlock(rule_lock); in ice_rem_adv_rule()
6516 mutex_lock(rule_lock); in ice_rem_adv_rule()
6520 mutex_unlock(rule_lock); in ice_rem_adv_rule()