Lines Matching refs:btrfs_trans_handle
77 static int update_block_group(struct btrfs_trans_handle *trans,
80 static int __btrfs_free_extent(struct btrfs_trans_handle *trans,
89 static int alloc_reserved_file_extent(struct btrfs_trans_handle *trans,
94 static int alloc_reserved_tree_block(struct btrfs_trans_handle *trans,
99 static int do_chunk_alloc(struct btrfs_trans_handle *trans,
805 int btrfs_lookup_extent_info(struct btrfs_trans_handle *trans, in btrfs_lookup_extent_info()
1042 static int convert_extent_item_v0(struct btrfs_trans_handle *trans, in convert_extent_item_v0()
1158 static noinline int lookup_extent_data_ref(struct btrfs_trans_handle *trans, in lookup_extent_data_ref()
1245 static noinline int insert_extent_data_ref(struct btrfs_trans_handle *trans, in insert_extent_data_ref()
1324 static noinline int remove_extent_data_ref(struct btrfs_trans_handle *trans, in remove_extent_data_ref()
1423 static noinline int lookup_tree_block_ref(struct btrfs_trans_handle *trans, in lookup_tree_block_ref()
1456 static noinline int insert_tree_block_ref(struct btrfs_trans_handle *trans, in insert_tree_block_ref()
1531 int lookup_inline_extent_backref(struct btrfs_trans_handle *trans, in lookup_inline_extent_backref()
1784 static int lookup_extent_backref(struct btrfs_trans_handle *trans, in lookup_extent_backref()
1880 int insert_inline_extent_backref(struct btrfs_trans_handle *trans, in insert_inline_extent_backref()
1907 static int insert_extent_backref(struct btrfs_trans_handle *trans, in insert_extent_backref()
1926 static int remove_extent_backref(struct btrfs_trans_handle *trans, in remove_extent_backref()
2072 int btrfs_inc_extent_ref(struct btrfs_trans_handle *trans, in btrfs_inc_extent_ref()
2097 static int __btrfs_inc_extent_ref(struct btrfs_trans_handle *trans, in __btrfs_inc_extent_ref()
2157 static int run_delayed_data_ref(struct btrfs_trans_handle *trans, in run_delayed_data_ref()
2222 static int run_delayed_extent_op(struct btrfs_trans_handle *trans, in run_delayed_extent_op()
2315 static int run_delayed_tree_ref(struct btrfs_trans_handle *trans, in run_delayed_tree_ref()
2369 static int run_one_delayed_ref(struct btrfs_trans_handle *trans, in run_one_delayed_ref()
2453 static noinline int __btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, in __btrfs_run_delayed_refs()
2758 int btrfs_check_space_for_delayed_refs(struct btrfs_trans_handle *trans, in btrfs_check_space_for_delayed_refs()
2794 int btrfs_should_throttle_delayed_refs(struct btrfs_trans_handle *trans, in btrfs_should_throttle_delayed_refs()
2826 struct btrfs_trans_handle *trans; in delayed_ref_async_start()
2899 int btrfs_run_delayed_refs(struct btrfs_trans_handle *trans, in btrfs_run_delayed_refs()
2978 int btrfs_set_disk_extent_flags(struct btrfs_trans_handle *trans, in btrfs_set_disk_extent_flags()
3003 static noinline int check_delayed_ref(struct btrfs_trans_handle *trans, in check_delayed_ref()
3065 static noinline int check_committed_ref(struct btrfs_trans_handle *trans, in check_committed_ref()
3136 int btrfs_cross_ref_exist(struct btrfs_trans_handle *trans, in btrfs_cross_ref_exist()
3172 static int __btrfs_mod_ref(struct btrfs_trans_handle *trans, in __btrfs_mod_ref()
3187 int (*process_func)(struct btrfs_trans_handle *, struct btrfs_root *, in __btrfs_mod_ref()
3246 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_inc_ref()
3252 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_dec_ref()
3258 static int write_one_cache_group(struct btrfs_trans_handle *trans, in write_one_cache_group()
3316 struct btrfs_trans_handle *trans, in cache_save_setup()
3473 int btrfs_setup_space_cache(struct btrfs_trans_handle *trans, in btrfs_setup_space_cache()
3511 int btrfs_start_dirty_block_groups(struct btrfs_trans_handle *trans, in btrfs_start_dirty_block_groups()
3671 int btrfs_write_dirty_block_groups(struct btrfs_trans_handle *trans, in btrfs_write_dirty_block_groups()
4027 struct btrfs_trans_handle *trans; in btrfs_alloc_data_chunk_ondemand()
4279 void check_system_chunk(struct btrfs_trans_handle *trans, in check_system_chunk()
4336 static int do_chunk_alloc(struct btrfs_trans_handle *trans, in do_chunk_alloc()
4560 struct btrfs_trans_handle *trans; in shrink_delalloc()
4573 trans = (struct btrfs_trans_handle *)current->journal_info; in shrink_delalloc()
4648 struct btrfs_trans_handle *trans; in may_commit_transaction()
4650 trans = (struct btrfs_trans_handle *)current->journal_info; in may_commit_transaction()
4698 struct btrfs_trans_handle *trans; in flush_space()
5028 const struct btrfs_trans_handle *trans, in get_block_rsv()
5390 void btrfs_trans_release_metadata(struct btrfs_trans_handle *trans, in btrfs_trans_release_metadata()
5409 void btrfs_trans_release_chunk_metadata(struct btrfs_trans_handle *trans) in btrfs_trans_release_chunk_metadata()
5424 int btrfs_orphan_reserve_metadata(struct btrfs_trans_handle *trans, in btrfs_orphan_reserve_metadata()
5847 static int update_block_group(struct btrfs_trans_handle *trans, in update_block_group()
6180 void btrfs_prepare_extent_commit(struct btrfs_trans_handle *trans, in btrfs_prepare_extent_commit()
6326 int btrfs_finish_extent_commit(struct btrfs_trans_handle *trans, in btrfs_finish_extent_commit()
6413 static int __btrfs_free_extent(struct btrfs_trans_handle *trans, in __btrfs_free_extent()
6686 static noinline int check_ref_cleanup(struct btrfs_trans_handle *trans, in check_ref_cleanup()
6752 void btrfs_free_tree_block(struct btrfs_trans_handle *trans, in btrfs_free_tree_block()
6811 int btrfs_free_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_free_extent()
7423 struct btrfs_trans_handle *trans; in find_free_extent()
7617 static int alloc_reserved_file_extent(struct btrfs_trans_handle *trans, in alloc_reserved_file_extent()
7688 static int alloc_reserved_tree_block(struct btrfs_trans_handle *trans, in alloc_reserved_tree_block()
7770 int btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_reserved_file_extent()
7793 int btrfs_alloc_logged_file_extent(struct btrfs_trans_handle *trans, in btrfs_alloc_logged_file_extent()
7825 btrfs_init_new_buffer(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_init_new_buffer()
7865 use_block_rsv(struct btrfs_trans_handle *trans, in use_block_rsv()
7929 struct extent_buffer *btrfs_alloc_tree_block(struct btrfs_trans_handle *trans, in btrfs_alloc_tree_block()
8032 static noinline void reada_walk_down(struct btrfs_trans_handle *trans, in reada_walk_down()
8117 static int record_one_subtree_extent(struct btrfs_trans_handle *trans, in record_one_subtree_extent()
8141 static int account_leaf_items(struct btrfs_trans_handle *trans, in account_leaf_items()
8246 static int account_shared_subtree(struct btrfs_trans_handle *trans, in account_shared_subtree()
8361 static noinline int walk_down_proc(struct btrfs_trans_handle *trans, in walk_down_proc()
8442 static noinline int do_walk_down(struct btrfs_trans_handle *trans, in do_walk_down()
8601 static noinline int walk_up_proc(struct btrfs_trans_handle *trans, in walk_up_proc()
8703 static noinline int walk_down_tree(struct btrfs_trans_handle *trans, in walk_down_tree()
8735 static noinline int walk_up_tree(struct btrfs_trans_handle *trans, in walk_up_tree()
8786 struct btrfs_trans_handle *trans; in btrfs_drop_snapshot()
9001 int btrfs_drop_subtree(struct btrfs_trans_handle *trans, in btrfs_drop_subtree()
9164 struct btrfs_trans_handle *trans; in btrfs_inc_block_group_ro()
9232 int btrfs_force_chunk_alloc(struct btrfs_trans_handle *trans, in btrfs_force_chunk_alloc()
9314 struct btrfs_trans_handle *trans; in btrfs_can_relocate()
9855 void btrfs_create_pending_block_groups(struct btrfs_trans_handle *trans, in btrfs_create_pending_block_groups()
9889 int btrfs_make_block_group(struct btrfs_trans_handle *trans, in btrfs_make_block_group()
10003 int btrfs_remove_block_group(struct btrfs_trans_handle *trans, in btrfs_remove_block_group()
10298 struct btrfs_trans_handle *
10348 struct btrfs_trans_handle *trans; in btrfs_delete_unused_bgs()