Searched refs:old_rule (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/engleder/ |
D | tsnep_rxnfc.c | 207 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-6.1.9/drivers/net/wireless/ath/ath11k/ |
D | reg.c | 427 struct ieee80211_reg_rule *old_rule, *curr_rule, *new_rule; in ath11k_regd_intersect() local 437 old_rule = default_regd->reg_rules + i; in ath11k_regd_intersect() 441 if (ath11k_reg_can_intersect(old_rule, curr_rule)) in ath11k_regd_intersect() 466 old_rule = default_regd->reg_rules + i; in ath11k_regd_intersect() 470 if (ath11k_reg_can_intersect(old_rule, curr_rule)) in ath11k_regd_intersect() 471 ath11k_reg_intersect_rules(old_rule, curr_rule, in ath11k_regd_intersect()
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_ethtool.c | 1305 struct igc_nfc_rule *rule, *old_rule; in igc_ethtool_add_nfc_rule() local 1340 old_rule = igc_get_nfc_rule(adapter, fsp->location); in igc_ethtool_add_nfc_rule() 1341 if (old_rule) in igc_ethtool_add_nfc_rule() 1342 igc_del_nfc_rule(adapter, old_rule); in igc_ethtool_add_nfc_rule()
|
/linux-6.1.9/net/netfilter/ |
D | nf_tables_api.c | 3407 struct nft_rule *rule, *old_rule = NULL; in nf_tables_newrule() local 3464 old_rule = rule; in nf_tables_newrule() 3478 old_rule = __nft_rule_lookup(chain, pos_handle); in nf_tables_newrule() 3479 if (IS_ERR(old_rule)) { in nf_tables_newrule() 3481 return PTR_ERR(old_rule); in nf_tables_newrule() 3484 old_rule = nft_rule_lookup_byid(net, chain, nla[NFTA_RULE_POSITION_ID]); in nf_tables_newrule() 3485 if (IS_ERR(old_rule)) { in nf_tables_newrule() 3487 return PTR_ERR(old_rule); in nf_tables_newrule() 3570 err = nft_delrule(&ctx, old_rule); in nf_tables_newrule() 3579 list_add_tail_rcu(&rule->list, &old_rule->list); in nf_tables_newrule() [all …]
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 5206 struct hclge_fd_rule *old_rule, in hclge_update_fd_rule_node() argument 5222 new_rule->rule_node.next = old_rule->rule_node.next; in hclge_update_fd_rule_node() 5223 new_rule->rule_node.pprev = old_rule->rule_node.pprev; in hclge_update_fd_rule_node() 5224 memcpy(old_rule, new_rule, sizeof(*old_rule)); in hclge_update_fd_rule_node() 5228 hclge_fd_dec_rule_cnt(hdev, old_rule->location); in hclge_update_fd_rule_node() 5229 hclge_fd_free_node(hdev, old_rule); in hclge_update_fd_rule_node() 5243 if (old_rule->state == HCLGE_FD_TO_ADD) { in hclge_update_fd_rule_node() 5244 hclge_fd_dec_rule_cnt(hdev, old_rule->location); in hclge_update_fd_rule_node() 5245 hclge_fd_free_node(hdev, old_rule); in hclge_update_fd_rule_node() 5248 old_rule->state = HCLGE_FD_TO_DEL; in hclge_update_fd_rule_node()
|