Lines Matching defs:trans
95 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, in btrfs_lookup_extent_info()
423 static noinline int lookup_extent_data_ref(struct btrfs_trans_handle *trans, in lookup_extent_data_ref()
498 static noinline int insert_extent_data_ref(struct btrfs_trans_handle *trans, in insert_extent_data_ref()
575 static noinline int remove_extent_data_ref(struct btrfs_trans_handle *trans, in remove_extent_data_ref()
661 static noinline int lookup_tree_block_ref(struct btrfs_trans_handle *trans, in lookup_tree_block_ref()
685 static noinline int insert_tree_block_ref(struct btrfs_trans_handle *trans, in insert_tree_block_ref()
760 int lookup_inline_extent_backref(struct btrfs_trans_handle *trans, in lookup_inline_extent_backref()
990 void setup_inline_extent_backref(struct btrfs_trans_handle *trans, in setup_inline_extent_backref()
1049 static int lookup_extent_backref(struct btrfs_trans_handle *trans, in lookup_extent_backref()
1080 struct btrfs_trans_handle *trans, in update_inline_extent_backref()
1195 int insert_inline_extent_backref(struct btrfs_trans_handle *trans, in insert_inline_extent_backref()
1231 static int remove_extent_backref(struct btrfs_trans_handle *trans, in remove_extent_backref()
1446 int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans, in btrfs_inc_extent_ref()
1482 static int __btrfs_inc_extent_ref(struct btrfs_trans_handle *trans, in __btrfs_inc_extent_ref()
1555 static int run_delayed_data_ref(struct btrfs_trans_handle *trans, in run_delayed_data_ref()
1624 static int run_delayed_extent_op(struct btrfs_trans_handle *trans, in run_delayed_extent_op()
1710 static int run_delayed_tree_ref(struct btrfs_trans_handle *trans, in run_delayed_tree_ref()
1757 static int run_one_delayed_ref(struct btrfs_trans_handle *trans, in run_one_delayed_ref()
1811 static int run_and_cleanup_extent_op(struct btrfs_trans_handle *trans, in run_and_cleanup_extent_op()
1856 static int cleanup_ref_head(struct btrfs_trans_handle *trans, in cleanup_ref_head()
1911 static int btrfs_run_delayed_refs_for_head(struct btrfs_trans_handle *trans, in btrfs_run_delayed_refs_for_head()
1998 static noinline int __btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, in __btrfs_run_delayed_refs()
2141 int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, u64 min_bytes) in btrfs_run_delayed_refs()
2182 int btrfs_set_disk_extent_flags(struct btrfs_trans_handle *trans, in btrfs_set_disk_extent_flags()
2457 static int __btrfs_mod_ref(struct btrfs_trans_handle *trans, in __btrfs_mod_ref()
2545 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_inc_ref()
2551 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_dec_ref()
2593 static int pin_down_extent(struct btrfs_trans_handle *trans, in pin_down_extent()
2613 int btrfs_pin_extent(struct btrfs_trans_handle *trans, in btrfs_pin_extent()
2627 int btrfs_pin_extent_for_log_replay(struct btrfs_trans_handle *trans, in btrfs_pin_extent_for_log_replay()
2823 int btrfs_finish_extent_commit(struct btrfs_trans_handle *trans) in btrfs_finish_extent_commit()
2974 static int do_free_extent_accounting(struct btrfs_trans_handle *trans, in do_free_extent_accounting()
3016 #define abort_and_dump(trans, path, fmt, args...) \ argument
3082 static int __btrfs_free_extent(struct btrfs_trans_handle *trans, in __btrfs_free_extent()
3387 static noinline int check_ref_cleanup(struct btrfs_trans_handle *trans, in check_ref_cleanup()
3437 int btrfs_free_tree_block(struct btrfs_trans_handle *trans, in btrfs_free_tree_block()
3527 int btrfs_free_extent(struct btrfs_trans_handle *trans, struct btrfs_ref *ref) in btrfs_free_extent()
4192 struct btrfs_trans_handle *trans; in find_free_extent_update_loop() local
4766 int btrfs_pin_reserved_extent(struct btrfs_trans_handle *trans, in btrfs_pin_reserved_extent()
4784 static int alloc_reserved_extent(struct btrfs_trans_handle *trans, u64 bytenr, in alloc_reserved_extent()
4806 static int alloc_reserved_file_extent(struct btrfs_trans_handle *trans, in alloc_reserved_file_extent()
4880 static int alloc_reserved_tree_block(struct btrfs_trans_handle *trans, in alloc_reserved_tree_block()
4954 int btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_reserved_file_extent()
4983 int btrfs_alloc_logged_file_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_logged_file_extent()
5054 btrfs_init_new_buffer(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_init_new_buffer()
5137 struct extent_buffer *btrfs_alloc_tree_block(struct btrfs_trans_handle *trans, in btrfs_alloc_tree_block()
5346 static noinline void reada_walk_down(struct btrfs_trans_handle *trans, in reada_walk_down()
5424 static noinline int walk_down_proc(struct btrfs_trans_handle *trans, in walk_down_proc()
5507 static int check_ref_exists(struct btrfs_trans_handle *trans, in check_ref_exists()
5572 static int check_next_block_uptodate(struct btrfs_trans_handle *trans, in check_next_block_uptodate()
5619 static int maybe_drop_reference(struct btrfs_trans_handle *trans, struct btrfs_root *root, in maybe_drop_reference()
5706 static noinline int do_walk_down(struct btrfs_trans_handle *trans, in do_walk_down()
5817 static noinline int walk_up_proc(struct btrfs_trans_handle *trans, in walk_up_proc()
5959 static noinline int walk_down_tree(struct btrfs_trans_handle *trans, in walk_down_tree()
6008 static noinline int walk_up_tree(struct btrfs_trans_handle *trans, in walk_up_tree()
6061 struct btrfs_trans_handle *trans; in btrfs_drop_snapshot() local
6330 int btrfs_drop_subtree(struct btrfs_trans_handle *trans, in btrfs_drop_subtree()