Home
last modified time | relevance | path

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

/linux/scripts/dtc/
H A 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 in merge_nodes()
[all...]
H A Ddtc.h276 struct node *merge_nodes(struct node *old_node, struct node *new_node);
277 struct node *add_orphan_node(struct node *old_node, struct node *new_node, char *ref);
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dbwc_complex.c1071 struct mlx5hws_bwc_complex_rule_hash_node *node, *old_node; in hws_bwc_rule_complex_hash_node_get() local
1098 old_node = rhashtable_lookup_get_insert_fast(refcount_hash, in hws_bwc_rule_complex_hash_node_get()
1101 if (IS_ERR(old_node)) { in hws_bwc_rule_complex_hash_node_get()
1102 ret = PTR_ERR(old_node); in hws_bwc_rule_complex_hash_node_get()
1106 if (old_node) { in hws_bwc_rule_complex_hash_node_get()
1108 refcount_inc(&old_node->refcount); in hws_bwc_rule_complex_hash_node_get()
1119 node = old_node; in hws_bwc_rule_complex_hash_node_get()
/linux/rust/kernel/
H A Drbtree.rs1270 let old_node = unsafe { KBox::from_raw(container_of!(self.node_links, Node<K, V>, links)) }; in replace() localVariable
1272 RBTreeNode { node: old_node } in replace()
/linux/drivers/bluetooth/
H A Dbtmtksdio.c1336 struct device_node *old_node; in btmtksdio_probe() local
1424 old_node = bdev->dev->of_node; in btmtksdio_probe()
1436 bdev->dev->of_node = old_node; in btmtksdio_probe()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c1530 struct bnxt_tc_flow_node *new_node, *old_node; in bnxt_tc_add_flow() local
1560 old_node = rhashtable_lookup_fast(&tc_info->flow_table, in bnxt_tc_add_flow()
1563 if (old_node) in bnxt_tc_add_flow()
1564 __bnxt_tc_del_flow(bp, old_node); in bnxt_tc_add_flow()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c1255 struct otx2_tc_flow *new_node, *old_node; in otx2_tc_add_flow() local
1291 old_node = otx2_tc_get_entry_by_cookie(flow_cfg, tc_flow_cmd->cookie); in otx2_tc_add_flow()
1292 if (old_node) in otx2_tc_add_flow()
/linux/block/
H A Dblk-mq.c4526 int old_node; in __blk_mq_realloc_hw_ctxs() local
4531 old_node = old_hctx->numa_node; in __blk_mq_realloc_hw_ctxs()
4539 node, old_node); in __blk_mq_realloc_hw_ctxs()
4540 hctx = blk_mq_alloc_and_init_hctx(set, q, i, old_node); in __blk_mq_realloc_hw_ctxs()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c9322 struct hclge_mac_node *old_node, *new_node; in hclge_update_mac_node_for_dev_addr() local
9346 old_node = hclge_find_mac_node(list, old_addr); in hclge_update_mac_node_for_dev_addr()
9347 if (old_node) { in hclge_update_mac_node_for_dev_addr()
9348 if (old_node->state == HCLGE_MAC_TO_ADD) { in hclge_update_mac_node_for_dev_addr()
9349 list_del(&old_node->node); in hclge_update_mac_node_for_dev_addr()
9350 kfree(old_node); in hclge_update_mac_node_for_dev_addr()
9352 old_node->state = HCLGE_MAC_TO_DEL; in hclge_update_mac_node_for_dev_addr()