Lines Matching refs:btrfs_trans_handle
43 static int __btrfs_free_extent(struct btrfs_trans_handle *trans,
51 static int alloc_reserved_file_extent(struct btrfs_trans_handle *trans,
55 static int alloc_reserved_tree_block(struct btrfs_trans_handle *trans,
116 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, in btrfs_lookup_extent_info()
443 static noinline int lookup_extent_data_ref(struct btrfs_trans_handle *trans, in lookup_extent_data_ref()
519 static noinline int insert_extent_data_ref(struct btrfs_trans_handle *trans, in insert_extent_data_ref()
598 static noinline int remove_extent_data_ref(struct btrfs_trans_handle *trans, in remove_extent_data_ref()
686 static noinline int lookup_tree_block_ref(struct btrfs_trans_handle *trans, in lookup_tree_block_ref()
710 static noinline int insert_tree_block_ref(struct btrfs_trans_handle *trans, in insert_tree_block_ref()
785 int lookup_inline_extent_backref(struct btrfs_trans_handle *trans, in lookup_inline_extent_backref()
1046 static int lookup_extent_backref(struct btrfs_trans_handle *trans, in lookup_extent_backref()
1142 int insert_inline_extent_backref(struct btrfs_trans_handle *trans, in insert_inline_extent_backref()
1182 static int remove_extent_backref(struct btrfs_trans_handle *trans, in remove_extent_backref()
1377 int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans, in btrfs_inc_extent_ref()
1435 static int __btrfs_inc_extent_ref(struct btrfs_trans_handle *trans, in __btrfs_inc_extent_ref()
1494 static int run_delayed_data_ref(struct btrfs_trans_handle *trans, in run_delayed_data_ref()
1557 static int run_delayed_extent_op(struct btrfs_trans_handle *trans, in run_delayed_extent_op()
1644 static int run_delayed_tree_ref(struct btrfs_trans_handle *trans, in run_delayed_tree_ref()
1684 static int run_one_delayed_ref(struct btrfs_trans_handle *trans, in run_one_delayed_ref()
1762 static int run_and_cleanup_extent_op(struct btrfs_trans_handle *trans, in run_and_cleanup_extent_op()
1798 static int cleanup_ref_head(struct btrfs_trans_handle *trans, in cleanup_ref_head()
1853 struct btrfs_trans_handle *trans) in btrfs_obtain_ref_head()
1885 static int btrfs_run_delayed_refs_for_head(struct btrfs_trans_handle *trans, in btrfs_run_delayed_refs_for_head()
1969 static noinline int __btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, in __btrfs_run_delayed_refs()
2114 int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, in btrfs_run_delayed_refs()
2171 int btrfs_set_disk_extent_flags(struct btrfs_trans_handle *trans, in btrfs_set_disk_extent_flags()
2375 static int __btrfs_mod_ref(struct btrfs_trans_handle *trans, in __btrfs_mod_ref()
2461 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_inc_ref()
2467 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_dec_ref()
2509 static int pin_down_extent(struct btrfs_trans_handle *trans, in pin_down_extent()
2532 int btrfs_pin_extent(struct btrfs_trans_handle *trans, in btrfs_pin_extent()
2549 int btrfs_pin_extent_for_log_replay(struct btrfs_trans_handle *trans, in btrfs_pin_extent_for_log_replay()
2756 int btrfs_finish_extent_commit(struct btrfs_trans_handle *trans) in btrfs_finish_extent_commit()
2826 static int do_free_extent_accounting(struct btrfs_trans_handle *trans, in do_free_extent_accounting()
2914 static int __btrfs_free_extent(struct btrfs_trans_handle *trans, in __btrfs_free_extent()
3208 static noinline int check_ref_cleanup(struct btrfs_trans_handle *trans, in check_ref_cleanup()
3257 void btrfs_free_tree_block(struct btrfs_trans_handle *trans, in btrfs_free_tree_block()
3341 int btrfs_free_extent(struct btrfs_trans_handle *trans, struct btrfs_ref *ref) in btrfs_free_extent()
4093 struct btrfs_trans_handle *trans; in find_free_extent_update_loop()
4613 int btrfs_pin_reserved_extent(struct btrfs_trans_handle *trans, u64 start, in btrfs_pin_reserved_extent()
4631 static int alloc_reserved_extent(struct btrfs_trans_handle *trans, u64 bytenr, in alloc_reserved_extent()
4653 static int alloc_reserved_file_extent(struct btrfs_trans_handle *trans, in alloc_reserved_file_extent()
4716 static int alloc_reserved_tree_block(struct btrfs_trans_handle *trans, in alloc_reserved_tree_block()
4791 int btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_reserved_file_extent()
4814 int btrfs_alloc_logged_file_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_logged_file_extent()
4855 btrfs_init_new_buffer(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_init_new_buffer()
4944 struct extent_buffer *btrfs_alloc_tree_block(struct btrfs_trans_handle *trans, in btrfs_alloc_tree_block()
5053 static noinline void reada_walk_down(struct btrfs_trans_handle *trans, in reada_walk_down()
5141 static noinline int walk_down_proc(struct btrfs_trans_handle *trans, in walk_down_proc()
5213 static int check_ref_exists(struct btrfs_trans_handle *trans, in check_ref_exists()
5249 static noinline int do_walk_down(struct btrfs_trans_handle *trans, in do_walk_down()
5460 static noinline int walk_up_proc(struct btrfs_trans_handle *trans, in walk_up_proc()
5566 static noinline int walk_down_tree(struct btrfs_trans_handle *trans, in walk_down_tree()
5598 static noinline int walk_up_tree(struct btrfs_trans_handle *trans, in walk_up_tree()
5652 struct btrfs_trans_handle *trans; in btrfs_drop_snapshot()
5911 int btrfs_drop_subtree(struct btrfs_trans_handle *trans, in btrfs_drop_subtree()