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()
299 static int __bch2_mark_snapshot(struct btree_trans *trans, in __bch2_mark_snapshot()
353 int bch2_mark_snapshot(struct btree_trans *trans, in bch2_mark_snapshot()
361 int bch2_snapshot_lookup(struct btree_trans *trans, u32 id, in bch2_snapshot_lookup()
368 static int bch2_snapshot_live(struct btree_trans *trans, u32 id) in bch2_snapshot_live()
395 static int bch2_snapshot_set_equiv(struct btree_trans *trans, struct bkey_s_c k) in bch2_snapshot_set_equiv()
486 static int bch2_snapshot_tree_master_subvol(struct btree_trans *trans, in bch2_snapshot_tree_master_subvol()
530 static int check_snapshot_tree(struct btree_trans *trans, in check_snapshot_tree()
635 static int snapshot_tree_ptr_good(struct btree_trans *trans, in snapshot_tree_ptr_good()
665 static int snapshot_skiplist_good(struct btree_trans *trans, u32 id, struct bch_snapshot s) in snapshot_skiplist_good()
686 static int snapshot_tree_ptr_repair(struct btree_trans *trans, in snapshot_tree_ptr_repair()
740 static int check_snapshot(struct btree_trans *trans, in check_snapshot()
901 static int check_snapshot_exists(struct btree_trans *trans, u32 id) in check_snapshot_exists()
1028 struct btree_trans *trans = bch2_trans_get(c); in bch2_reconstruct_snapshots() local
1078 int bch2_check_key_has_snapshot(struct btree_trans *trans, in bch2_check_key_has_snapshot()
1100 int bch2_snapshot_node_set_deleted(struct btree_trans *trans, u32 id) in bch2_snapshot_node_set_deleted()
1134 static int bch2_snapshot_node_delete(struct btree_trans *trans, u32 id) in bch2_snapshot_node_delete()
1241 static int create_snapids(struct btree_trans *trans, u32 parent, u32 tree, in create_snapids()
1310 static int bch2_snapshot_node_create_children(struct btree_trans *trans, u32 parent, in bch2_snapshot_node_create_children()
1352 static int bch2_snapshot_node_create_tree(struct btree_trans *trans, in bch2_snapshot_node_create_tree()
1372 int bch2_snapshot_node_create(struct btree_trans *trans, u32 parent, in bch2_snapshot_node_create()
1406 static int delete_dead_snapshots_process_key(struct btree_trans *trans, in delete_dead_snapshots_process_key()
1480 static int bch2_snapshot_needs_delete(struct btree_trans *trans, struct bkey_s_c k) in bch2_snapshot_needs_delete()
1509 static int bch2_delete_redundant_snapshot(struct btree_trans *trans, struct bkey_s_c k) in bch2_delete_redundant_snapshot()
1535 static int bch2_fix_child_of_deleted_snapshot(struct btree_trans *trans, in bch2_fix_child_of_deleted_snapshot()
1593 struct btree_trans *trans; in bch2_delete_dead_snapshots() local
1729 int __bch2_key_has_snapshot_overwrites(struct btree_trans *trans, in __bch2_key_has_snapshot_overwrites()
1763 static int bch2_check_snapshot_needs_deletion(struct btree_trans *trans, struct bkey_s_c k) in bch2_check_snapshot_needs_deletion()