Lines Matching defs:trans
47 int bch2_snapshot_tree_lookup(struct btree_trans *trans, u32 id, in bch2_snapshot_tree_lookup()
59 __bch2_snapshot_tree_create(struct btree_trans *trans) in __bch2_snapshot_tree_create()
77 static int bch2_snapshot_tree_create(struct btree_trans *trans, in bch2_snapshot_tree_create()
279 static int __bch2_mark_snapshot(struct btree_trans *trans, in __bch2_mark_snapshot()
333 int bch2_mark_snapshot(struct btree_trans *trans, in bch2_mark_snapshot()
341 int bch2_snapshot_lookup(struct btree_trans *trans, u32 id, in bch2_snapshot_lookup()
348 static int bch2_snapshot_live(struct btree_trans *trans, u32 id) in bch2_snapshot_live()
375 static int bch2_snapshot_set_equiv(struct btree_trans *trans, struct bkey_s_c k) in bch2_snapshot_set_equiv()
464 static int bch2_snapshot_tree_master_subvol(struct btree_trans *trans, in bch2_snapshot_tree_master_subvol()
508 static int check_snapshot_tree(struct btree_trans *trans, in check_snapshot_tree()
606 static int snapshot_tree_ptr_good(struct btree_trans *trans, in snapshot_tree_ptr_good()
636 static int snapshot_skiplist_good(struct btree_trans *trans, u32 id, struct bch_snapshot s) in snapshot_skiplist_good()
657 static int snapshot_tree_ptr_repair(struct btree_trans *trans, in snapshot_tree_ptr_repair()
711 static int check_snapshot(struct btree_trans *trans, in check_snapshot()
874 int bch2_snapshot_node_set_deleted(struct btree_trans *trans, u32 id) in bch2_snapshot_node_set_deleted()
908 static int bch2_snapshot_node_delete(struct btree_trans *trans, u32 id) in bch2_snapshot_node_delete()
1015 static int create_snapids(struct btree_trans *trans, u32 parent, u32 tree, in create_snapids()
1084 static int bch2_snapshot_node_create_children(struct btree_trans *trans, u32 parent, in bch2_snapshot_node_create_children()
1126 static int bch2_snapshot_node_create_tree(struct btree_trans *trans, in bch2_snapshot_node_create_tree()
1146 int bch2_snapshot_node_create(struct btree_trans *trans, u32 parent, in bch2_snapshot_node_create()
1180 static int snapshot_delete_key(struct btree_trans *trans, in snapshot_delete_key()
1203 static int move_key_to_correct_snapshot(struct btree_trans *trans, in move_key_to_correct_snapshot()
1251 static int bch2_snapshot_needs_delete(struct btree_trans *trans, struct bkey_s_c k) in bch2_snapshot_needs_delete()
1280 static int bch2_delete_redundant_snapshot(struct btree_trans *trans, struct bkey_s_c k) in bch2_delete_redundant_snapshot()
1306 static int bch2_fix_child_of_deleted_snapshot(struct btree_trans *trans, in bch2_fix_child_of_deleted_snapshot()
1364 struct btree_trans *trans; in bch2_delete_dead_snapshots() local
1519 int __bch2_key_has_snapshot_overwrites(struct btree_trans *trans, in __bch2_key_has_snapshot_overwrites()
1569 static int bch2_propagate_key_to_snapshot_leaf(struct btree_trans *trans, in bch2_propagate_key_to_snapshot_leaf()
1609 int bch2_propagate_key_to_snapshot_leaves(struct btree_trans *trans, in bch2_propagate_key_to_snapshot_leaves()
1649 static int bch2_check_snapshot_needs_deletion(struct btree_trans *trans, struct bkey_s_c k) in bch2_check_snapshot_needs_deletion()