Searched refs:snapshot_tree (Results 1 – 4 of 4) sorted by relevance
/linux/fs/bcachefs/ |
H A D | subvolume.c | 154 u32 snapshot_tree = bch2_snapshot_tree(c, snapshot_root); in check_subvol() local 157 ret = bch2_snapshot_tree_lookup(trans, snapshot_tree, &st); in check_subvol() 160 "%s: snapshot tree %u not found", __func__, snapshot_tree); in check_subvol() 469 struct bkey_s_c_snapshot_tree snapshot_tree = in __bch2_subvolume_delete() local 472 0, snapshot_tree); in __bch2_subvolume_delete() 473 ret = bkey_err(snapshot_tree); in __bch2_subvolume_delete() 479 if (le32_to_cpu(snapshot_tree.v->master_subvol) == subvolid) { in __bch2_subvolume_delete() 482 &snapshot_tree.s_c, in __bch2_subvolume_delete() 483 0, snapshot_tree); in __bch2_subvolume_delete()
|
H A D | snapshot.c | 54 BTREE_ITER_with_updates, snapshot_tree, s); in bch2_snapshot_tree_lookup() 74 s_t = bch2_bkey_alloc(trans, &iter, 0, snapshot_tree); in __bch2_snapshot_tree_create() 558 u = bch2_bkey_make_mut_typed(trans, iter, &k, 0, snapshot_tree); in check_snapshot_tree() 1240 0, snapshot_tree); in bch2_snapshot_node_delete()
|
H A D | fsck.c | 621 u32 snapshot_tree = le32_to_cpu(s->v.tree); in reconstruct_subvol() local 628 BTREE_ID_snapshot_trees, POS(0, snapshot_tree), in reconstruct_subvol() 629 0, snapshot_tree); in reconstruct_subvol() 631 bch_err_msg(c, ret, "getting snapshot tree %u", snapshot_tree); in reconstruct_subvol()
|
H A D | bcachefs_format.h | 422 x(snapshot_tree, 31, BKEY_TYPE_strict_btree_checks) \
|