Searched refs:new_tree (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | cpumap.c | 187 struct cpuinfo_tree *new_tree; in build_cpuinfo_tree() local 197 new_tree = kzalloc(struct_size(new_tree, nodes, n), GFP_ATOMIC); in build_cpuinfo_tree() 198 if (!new_tree) in build_cpuinfo_tree() 201 new_tree->total_nodes = n; in build_cpuinfo_tree() 208 n = new_tree->level[level].start_index; in build_cpuinfo_tree() 211 node = &new_tree->nodes[n]; in build_cpuinfo_tree() 215 kfree(new_tree); in build_cpuinfo_tree() 246 kfree(new_tree); in build_cpuinfo_tree() 252 node = &new_tree->nodes[level_rover[level]]; in build_cpuinfo_tree() 277 node = &new_tree->nodes[n]; in build_cpuinfo_tree() [all …]
|
/linux-6.3-rc2/fs/ocfs2/ |
A D | refcounttree.c | 560 struct ocfs2_refcount_tree *new_tree = NULL, *tree = NULL; in ocfs2_create_refcount_tree() local 599 if (!new_tree) { in ocfs2_create_refcount_tree() 611 ocfs2_set_new_buffer_uptodate(&new_tree->rf_ci, new_bh); in ocfs2_create_refcount_tree() 652 new_tree->rf_generation = le32_to_cpu(rb->rf_generation); in ocfs2_create_refcount_tree() 653 ocfs2_init_refcount_tree_lock(osb, new_tree, first_blkno, in ocfs2_create_refcount_tree() 654 new_tree->rf_generation); in ocfs2_create_refcount_tree() 668 ocfs2_insert_refcount_tree(osb, new_tree); in ocfs2_create_refcount_tree() 670 new_tree = NULL; in ocfs2_create_refcount_tree() 678 if (new_tree) { in ocfs2_create_refcount_tree() 679 ocfs2_metadata_cache_exit(&new_tree->rf_ci); in ocfs2_create_refcount_tree() [all …]
|
/linux-6.3-rc2/drivers/md/persistent-data/ |
A D | dm-btree.c | 1257 dm_block_t new_tree; in insert() local 1260 r = dm_btree_empty(info, &new_tree); in insert() 1264 new_le = cpu_to_le64(new_tree); in insert()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_router.c | 939 struct mlxsw_sp_lpm_tree *new_tree) in mlxsw_sp_vr_lpm_tree_replace() argument 944 fib->lpm_tree = new_tree; in mlxsw_sp_vr_lpm_tree_replace() 945 mlxsw_sp_lpm_tree_hold(new_tree); in mlxsw_sp_vr_lpm_tree_replace() 946 err = mlxsw_sp_vr_lpm_tree_bind(mlxsw_sp, fib, new_tree->id); in mlxsw_sp_vr_lpm_tree_replace() 953 mlxsw_sp_lpm_tree_put(mlxsw_sp, new_tree); in mlxsw_sp_vr_lpm_tree_replace() 960 struct mlxsw_sp_lpm_tree *new_tree) in mlxsw_sp_vrs_lpm_tree_replace() argument 964 u8 old_id, new_id = new_tree->id; in mlxsw_sp_vrs_lpm_tree_replace() 977 new_tree); in mlxsw_sp_vrs_lpm_tree_replace() 982 memcpy(new_tree->prefix_ref_count, old_tree->prefix_ref_count, in mlxsw_sp_vrs_lpm_tree_replace() 983 sizeof(new_tree->prefix_ref_count)); in mlxsw_sp_vrs_lpm_tree_replace() [all …]
|
Completed in 35 milliseconds