Searched refs:new_tree (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/arch/sparc/kernel/ |
D | cpumap.c | 187 struct cpuinfo_tree *new_tree; in build_cpuinfo_tree() local 197 new_tree = kzalloc(sizeof(struct cpuinfo_tree) + in build_cpuinfo_tree() 199 if (!new_tree) in build_cpuinfo_tree() 202 new_tree->total_nodes = n; in build_cpuinfo_tree() 203 memcpy(&new_tree->level, tmp_level, sizeof(tmp_level)); in build_cpuinfo_tree() 209 n = new_tree->level[level].start_index; in build_cpuinfo_tree() 212 node = &new_tree->nodes[n]; in build_cpuinfo_tree() 216 kfree(new_tree); in build_cpuinfo_tree() 224 ? new_tree->level[level - 1].start_index : -1; in build_cpuinfo_tree() 228 ? cpu : new_tree->level[level + 1].start_index; in build_cpuinfo_tree() [all …]
|
/Linux-v4.19/fs/ocfs2/ |
D | refcounttree.c | 568 struct ocfs2_refcount_tree *new_tree = NULL, *tree = NULL; in ocfs2_create_refcount_tree() local 606 new_tree = ocfs2_allocate_refcount_tree(osb, first_blkno); in ocfs2_create_refcount_tree() 607 if (!new_tree) { in ocfs2_create_refcount_tree() 619 ocfs2_set_new_buffer_uptodate(&new_tree->rf_ci, new_bh); in ocfs2_create_refcount_tree() 621 ret = ocfs2_journal_access_rb(handle, &new_tree->rf_ci, new_bh, in ocfs2_create_refcount_tree() 660 new_tree->rf_generation = le32_to_cpu(rb->rf_generation); in ocfs2_create_refcount_tree() 661 ocfs2_init_refcount_tree_lock(osb, new_tree, first_blkno, in ocfs2_create_refcount_tree() 662 new_tree->rf_generation); in ocfs2_create_refcount_tree() 673 BUG_ON(tree && tree->rf_generation == new_tree->rf_generation); in ocfs2_create_refcount_tree() 676 ocfs2_insert_refcount_tree(osb, new_tree); in ocfs2_create_refcount_tree() [all …]
|
/Linux-v4.19/drivers/md/persistent-data/ |
D | dm-btree.c | 784 dm_block_t new_tree; in insert() local 787 r = dm_btree_empty(info, &new_tree); in insert() 791 new_le = cpu_to_le64(new_tree); in insert()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 857 struct mlxsw_sp_lpm_tree *new_tree) in mlxsw_sp_vr_lpm_tree_replace() argument 862 fib->lpm_tree = new_tree; in mlxsw_sp_vr_lpm_tree_replace() 863 mlxsw_sp_lpm_tree_hold(new_tree); in mlxsw_sp_vr_lpm_tree_replace() 864 err = mlxsw_sp_vr_lpm_tree_bind(mlxsw_sp, fib, new_tree->id); in mlxsw_sp_vr_lpm_tree_replace() 871 mlxsw_sp_lpm_tree_put(mlxsw_sp, new_tree); in mlxsw_sp_vr_lpm_tree_replace() 878 struct mlxsw_sp_lpm_tree *new_tree) in mlxsw_sp_vrs_lpm_tree_replace() argument 882 u8 old_id, new_id = new_tree->id; in mlxsw_sp_vrs_lpm_tree_replace() 895 new_tree); in mlxsw_sp_vrs_lpm_tree_replace() 900 memcpy(new_tree->prefix_ref_count, old_tree->prefix_ref_count, in mlxsw_sp_vrs_lpm_tree_replace() 901 sizeof(new_tree->prefix_ref_count)); in mlxsw_sp_vrs_lpm_tree_replace() [all …]
|