Home
last modified time | relevance | path

Searched refs:old_rule (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c207 struct tsnep_rxnfc_rule *rule, *old_rule; in tsnep_rxnfc_add_rule() local
253 old_rule = tsnep_get_rule(adapter, fsp->location); in tsnep_rxnfc_add_rule()
254 if (old_rule) in tsnep_rxnfc_add_rule()
255 tsnep_delete_rule(adapter, old_rule); in tsnep_rxnfc_add_rule()
/linux/drivers/net/wireless/ath/ath12k/
H A Dreg.c440 struct ieee80211_reg_rule *old_rule, *curr_rule, *new_rule; in ath12k_regd_intersect() local
450 old_rule = default_regd->reg_rules + i; in ath12k_regd_intersect()
454 if (ath12k_reg_can_intersect(old_rule, curr_rule)) in ath12k_regd_intersect()
479 old_rule = default_regd->reg_rules + i; in ath12k_regd_intersect()
483 if (ath12k_reg_can_intersect(old_rule, curr_rule)) in ath12k_regd_intersect()
484 ath12k_reg_intersect_rules(old_rule, curr_rule, in ath12k_regd_intersect()
/linux/drivers/net/wireless/ath/ath11k/
H A Dreg.c441 struct ieee80211_reg_rule *old_rule, *curr_rule, *new_rule; in ath11k_regd_intersect() local
451 old_rule = default_regd->reg_rules + i; in ath11k_regd_intersect()
455 if (ath11k_reg_can_intersect(old_rule, curr_rule)) in ath11k_regd_intersect()
480 old_rule = default_regd->reg_rules + i; in ath11k_regd_intersect()
484 if (ath11k_reg_can_intersect(old_rule, curr_rule)) in ath11k_regd_intersect()
485 ath11k_reg_intersect_rules(old_rule, curr_rule, in ath11k_regd_intersect()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c1328 struct igc_nfc_rule *rule, *old_rule; in igc_ethtool_add_nfc_rule() local
1383 old_rule = igc_get_nfc_rule(adapter, fsp->location); in igc_ethtool_add_nfc_rule()
1384 if (old_rule) in igc_ethtool_add_nfc_rule()
1385 igc_del_nfc_rule(adapter, old_rule); in igc_ethtool_add_nfc_rule()
/linux/drivers/net/dsa/qca/
H A Dqca8k.h439 u16 old_rule; member
/linux/net/netfilter/
H A Dnf_tables_api.c4013 struct nft_rule *rule, *old_rule = NULL; in nf_tables_newrule() local
4072 old_rule = rule; in nf_tables_newrule()
4083 old_rule = __nft_rule_lookup(chain, pos_handle); in nf_tables_newrule()
4084 if (IS_ERR(old_rule)) { in nf_tables_newrule()
4086 return PTR_ERR(old_rule); in nf_tables_newrule()
4089 old_rule = nft_rule_lookup_byid(net, chain, nla[NFTA_RULE_POSITION_ID]); in nf_tables_newrule()
4090 if (IS_ERR(old_rule)) { in nf_tables_newrule()
4092 return PTR_ERR(old_rule); in nf_tables_newrule()
4185 err = nft_delrule(&ctx, old_rule); in nf_tables_newrule()
4194 list_add_tail_rcu(&rule->list, &old_rule->list); in nf_tables_newrule()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c5199 struct hclge_fd_rule *old_rule, in hclge_update_fd_rule_node() argument
5215 new_rule->rule_node.next = old_rule->rule_node.next; in hclge_update_fd_rule_node()
5216 new_rule->rule_node.pprev = old_rule->rule_node.pprev; in hclge_update_fd_rule_node()
5217 memcpy(old_rule, new_rule, sizeof(*old_rule)); in hclge_update_fd_rule_node()
5221 hclge_fd_dec_rule_cnt(hdev, old_rule->location); in hclge_update_fd_rule_node()
5222 hclge_fd_free_node(hdev, old_rule); in hclge_update_fd_rule_node()
5236 if (old_rule->state == HCLGE_FD_TO_ADD) { in hclge_update_fd_rule_node()
5237 hclge_fd_dec_rule_cnt(hdev, old_rule->location); in hclge_update_fd_rule_node()
5238 hclge_fd_free_node(hdev, old_rule); in hclge_update_fd_rule_node()
5241 old_rule->state = HCLGE_FD_TO_DEL; in hclge_update_fd_rule_node()