Home
last modified time | relevance | path

Searched refs:old_node (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/scripts/dtc/
Dlivetree.c142 struct node *merge_nodes(struct node *old_node, struct node *new_node) in merge_nodes() argument
148 old_node->deleted = 0; in merge_nodes()
152 add_label(&old_node->labels, l->label); in merge_nodes()
163 delete_property_by_name(old_node, new_prop->name); in merge_nodes()
169 for_each_property_withdel(old_node, old_prop) { in merge_nodes()
187 add_property(old_node, new_prop); in merge_nodes()
200 delete_node_by_name(old_node, new_child->name); in merge_nodes()
206 for_each_child_withdel(old_node, old_child) { in merge_nodes()
216 add_child(old_node, new_child); in merge_nodes()
219 old_node->srcpos = srcpos_extend(old_node->srcpos, new_node->srcpos); in merge_nodes()
[all …]
Ddtc.h240 struct node *merge_nodes(struct node *old_node, struct node *new_node);
241 struct node *add_orphan_node(struct node *old_node, struct node *new_node, char *ref);
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c1518 struct bnxt_tc_flow_node *new_node, *old_node; in bnxt_tc_add_flow() local
1548 old_node = rhashtable_lookup_fast(&tc_info->flow_table, in bnxt_tc_add_flow()
1551 if (old_node) in bnxt_tc_add_flow()
1552 __bnxt_tc_del_flow(bp, old_node); in bnxt_tc_add_flow()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c8237 struct hclge_mac_node *old_node, *new_node; in hclge_update_mac_node_for_dev_addr() local
8261 old_node = hclge_find_mac_node(list, old_addr); in hclge_update_mac_node_for_dev_addr()
8262 if (old_node) { in hclge_update_mac_node_for_dev_addr()
8263 if (old_node->state == HCLGE_MAC_TO_ADD) { in hclge_update_mac_node_for_dev_addr()
8264 list_del(&old_node->node); in hclge_update_mac_node_for_dev_addr()
8265 kfree(old_node); in hclge_update_mac_node_for_dev_addr()
8267 old_node->state = HCLGE_MAC_TO_DEL; in hclge_update_mac_node_for_dev_addr()