Lines Matching refs:rule_head
2921 struct list_head *rule_head; in ice_update_sw_rule_bridge_mode() local
2926 rule_head = &sw->recp_list[ICE_SW_LKUP_MAC].filt_rules; in ice_update_sw_rule_bridge_mode()
2929 list_for_each_entry(fm_entry, rule_head, list_entry) { in ice_update_sw_rule_bridge_mode()
3398 struct list_head *rule_head; in ice_mac_fltr_exist() local
3408 rule_head = &sw->recp_list[ICE_SW_LKUP_MAC].filt_rules; in ice_mac_fltr_exist()
3409 if (!rule_head) in ice_mac_fltr_exist()
3414 list_for_each_entry(entry, rule_head, list_entry) { in ice_mac_fltr_exist()
3446 struct list_head *rule_head; in ice_vlan_fltr_exist() local
3459 rule_head = &sw->recp_list[ICE_SW_LKUP_VLAN].filt_rules; in ice_vlan_fltr_exist()
3460 if (!rule_head) in ice_vlan_fltr_exist()
3465 list_for_each_entry(entry, rule_head, list_entry) { in ice_vlan_fltr_exist()
3791 ice_rem_sw_rule_info(struct ice_hw *hw, struct list_head *rule_head) in ice_rem_sw_rule_info() argument
3793 if (!list_empty(rule_head)) { in ice_rem_sw_rule_info()
3797 list_for_each_entry_safe(entry, tmp, rule_head, list_entry) { in ice_rem_sw_rule_info()
3810 ice_rem_adv_rule_info(struct ice_hw *hw, struct list_head *rule_head) in ice_rem_adv_rule_info() argument
3815 if (list_empty(rule_head)) in ice_rem_adv_rule_info()
3818 list_for_each_entry_safe(lst_itr, tmp_entry, rule_head, list_entry) { in ice_rem_adv_rule_info()
3907 struct list_head *rule_head; in ice_check_if_dflt_vsi() local
3913 rule_head = &recp_list->filt_rules; in ice_check_if_dflt_vsi()
3917 if (rule_exists && !list_empty(rule_head)) in ice_check_if_dflt_vsi()
3920 list_for_each_entry(fm_entry, rule_head, list_entry) { in ice_check_if_dflt_vsi()
4150 struct list_head *rule_head; in ice_clear_vsi_promisc() local
4163 rule_head = &sw->recp_list[recipe_id].filt_rules; in ice_clear_vsi_promisc()
4169 list_for_each_entry(itr, rule_head, list_entry) { in ice_clear_vsi_promisc()
4391 struct list_head *rule_head; in ice_remove_vsi_lkup_fltr() local
4398 rule_head = &sw->recp_list[lkup].filt_rules; in ice_remove_vsi_lkup_fltr()
4400 status = ice_add_to_vsi_fltr_list(hw, vsi_handle, rule_head, in ice_remove_vsi_lkup_fltr()
6051 struct list_head *rule_head; in ice_add_adv_rule() local
6238 rule_head = &sw->recp_list[rid].filt_rules; in ice_add_adv_rule()
6244 list_add(&adv_fltr->list_entry, rule_head); in ice_add_adv_rule()