Lines Matching defs:trans
91 static noinline int backpointer_mod_err(struct btree_trans *trans, in backpointer_mod_err()
140 int bch2_bucket_backpointer_mod_nowritebuffer(struct btree_trans *trans, in bch2_bucket_backpointer_mod_nowritebuffer()
175 static int bch2_backpointer_del(struct btree_trans *trans, struct bpos pos) in bch2_backpointer_del()
183 static inline int bch2_backpointers_maybe_flush(struct btree_trans *trans, in bch2_backpointers_maybe_flush()
192 static int backpointer_target_not_found(struct btree_trans *trans, in backpointer_target_not_found()
259 static struct btree *__bch2_backpointer_get_node(struct btree_trans *trans, in __bch2_backpointer_get_node()
297 static struct bkey_s_c __bch2_backpointer_get_key(struct btree_trans *trans, in __bch2_backpointer_get_key()
353 struct btree *bch2_backpointer_get_node(struct btree_trans *trans, in bch2_backpointer_get_node()
361 struct bkey_s_c bch2_backpointer_get_key(struct btree_trans *trans, in bch2_backpointer_get_key()
370 static int bch2_check_backpointer_has_valid_bucket(struct btree_trans *trans, struct bkey_s_c k, in bch2_check_backpointer_has_valid_bucket()
442 static int drop_dev_and_update(struct btree_trans *trans, enum btree_id btree, in drop_dev_and_update()
454 static int check_extent_checksum(struct btree_trans *trans, in check_extent_checksum()
523 static int check_bp_exists(struct btree_trans *trans, in check_bp_exists()
656 static int check_extent_to_backpointers(struct btree_trans *trans, in check_extent_to_backpointers()
693 static int check_btree_root_to_backpointers(struct btree_trans *trans, in check_btree_root_to_backpointers()
747 static int bch2_get_btree_in_memory_pos(struct btree_trans *trans, in bch2_get_btree_in_memory_pos()
791 static int bch2_check_extents_to_backpointers_pass(struct btree_trans *trans, in bch2_check_extents_to_backpointers_pass()
856 static int check_bucket_backpointer_mismatch(struct btree_trans *trans, struct bkey_s_c alloc_k, in check_bucket_backpointer_mismatch()
985 static int btree_node_get_and_pin(struct btree_trans *trans, struct bkey_i *k, in btree_node_get_and_pin()
1002 static int bch2_pin_backpointer_nodes_with_missing(struct btree_trans *trans, in bch2_pin_backpointer_nodes_with_missing()
1095 struct btree_trans *trans = bch2_trans_get(c); in bch2_check_extents_to_backpointers() local
1167 static int check_one_backpointer(struct btree_trans *trans, in check_one_backpointer()
1195 static int check_bucket_backpointers_to_extents(struct btree_trans *trans, in check_bucket_backpointers_to_extents()
1214 static int bch2_check_backpointers_to_extents_pass(struct btree_trans *trans, in bch2_check_backpointers_to_extents_pass()
1238 struct btree_trans *trans = bch2_trans_get(c); in bch2_check_backpointers_to_extents() local