Searched refs:new_tree (Results 1 – 4 of 4) sorted by relevance
| /linux/arch/sparc/kernel/ |
| H A D | cpumap.c | 187 struct cpuinfo_tree *new_tree; in build_cpuinfo_tree() local 197 new_tree = kzalloc_flex(*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() 202 memcpy(&new_tree->level, tmp_level, sizeof(tmp_level)); 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() 223 ? new_tree->level[level - 1].start_index : -1; in build_cpuinfo_tree() 227 ? cpu : new_tree->level[level + 1].start_index; in build_cpuinfo_tree() [all …]
|
| /linux/drivers/android/binder/range_alloc/ |
| H A D | mod.rs | 184 let new_tree = in reserve_new() localVariable 187 self.inner = Impl::Tree(new_tree); in reserve_new()
|
| /linux/drivers/md/persistent-data/ |
| H 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/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_router.c | 968 struct mlxsw_sp_lpm_tree *new_tree) in mlxsw_sp_vr_lpm_tree_replace() argument 973 fib->lpm_tree = new_tree; in mlxsw_sp_vr_lpm_tree_replace() 974 mlxsw_sp_lpm_tree_hold(new_tree); in mlxsw_sp_vr_lpm_tree_replace() 975 err = mlxsw_sp_vr_lpm_tree_bind(mlxsw_sp, fib, new_tree->id); in mlxsw_sp_vr_lpm_tree_replace() 982 mlxsw_sp_lpm_tree_put(mlxsw_sp, new_tree); in mlxsw_sp_vr_lpm_tree_replace() 989 struct mlxsw_sp_lpm_tree *new_tree) in mlxsw_sp_vrs_lpm_tree_replace() argument 994 u8 old_id, new_id = new_tree->id; in mlxsw_sp_vrs_lpm_tree_replace() 1007 new_tree); in mlxsw_sp_vrs_lpm_tree_replace() 1012 memcpy(new_tree->prefix_ref_count, old_tree->prefix_ref_count, in mlxsw_sp_vrs_lpm_tree_replace() 1013 sizeof(new_tree->prefix_ref_count)); in mlxsw_sp_vrs_lpm_tree_replace() [all …]
|