Home
last modified time | relevance | path

Searched refs:snapshot_tree (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/fs/bcachefs/
H A Dsubvolume.c127 u32 snapshot_tree; in check_subvol() local
131 snapshot_tree = snapshot_t(c, snapshot_root)->tree; in check_subvol()
134 ret = bch2_snapshot_tree_lookup(trans, snapshot_tree, &st); in check_subvol()
137 "%s: snapshot tree %u not found", __func__, snapshot_tree); in check_subvol()
440 struct bkey_s_c_snapshot_tree snapshot_tree = in __bch2_subvolume_delete() local
443 0, snapshot_tree); in __bch2_subvolume_delete()
444 ret = bkey_err(snapshot_tree); in __bch2_subvolume_delete()
450 if (le32_to_cpu(snapshot_tree.v->master_subvol) == subvolid) { in __bch2_subvolume_delete()
453 &snapshot_tree.s_c, in __bch2_subvolume_delete()
454 0, snapshot_tree); in __bch2_subvolume_delete()
H A Dsnapshot.c52 BTREE_ITER_with_updates, snapshot_tree, s); in bch2_snapshot_tree_lookup()
72 s_t = bch2_bkey_alloc(trans, &iter, 0, snapshot_tree); in __bch2_snapshot_tree_create()
537 u = bch2_bkey_make_mut_typed(trans, iter, &k, 0, snapshot_tree); in check_snapshot_tree()
1156 0, snapshot_tree); in bch2_snapshot_node_delete()
H A Dfsck.c607 u32 snapshot_tree = le32_to_cpu(s->v.tree); in reconstruct_subvol() local
614 BTREE_ID_snapshot_trees, POS(0, snapshot_tree), in reconstruct_subvol()
615 0, snapshot_tree); in reconstruct_subvol()
617 bch_err_msg(c, ret, "getting snapshot tree %u", snapshot_tree); in reconstruct_subvol()
H A Dbcachefs_format.h422 x(snapshot_tree, 31, BKEY_TYPE_strict_btree_checks) \