Searched refs:n_tree (Results 1 – 1 of 1) sorted by relevance
80 struct bkey_i_snapshot_tree *n_tree = in bch2_snapshot_tree_create() local83 if (IS_ERR(n_tree)) in bch2_snapshot_tree_create()84 return PTR_ERR(n_tree); in bch2_snapshot_tree_create()86 n_tree->v.master_subvol = cpu_to_le32(subvol_id); in bch2_snapshot_tree_create()87 n_tree->v.root_snapshot = cpu_to_le32(root_id); in bch2_snapshot_tree_create()88 *tree_id = n_tree->k.p.offset; in bch2_snapshot_tree_create()1357 struct bkey_i_snapshot_tree *n_tree; in bch2_snapshot_node_create_tree() local1360 n_tree = __bch2_snapshot_tree_create(trans); in bch2_snapshot_node_create_tree()1361 ret = PTR_ERR_OR_ZERO(n_tree) ?: in bch2_snapshot_node_create_tree()1362 create_snapids(trans, 0, n_tree->k.p.offset, in bch2_snapshot_node_create_tree()[all …]