Lines Matching +defs:path +defs:root
72 struct btrfs_root *root = btrfs_extent_root(fs_info, start); in btrfs_lookup_data_extent() local
75 struct btrfs_path *path; in btrfs_lookup_data_extent() local
106 struct btrfs_path *path; in btrfs_lookup_extent_info() local
428 struct btrfs_path *path, in lookup_extent_data_ref()
433 struct btrfs_root *root = btrfs_extent_root(trans->fs_info, bytenr); in lookup_extent_data_ref() local
503 struct btrfs_path *path, in insert_extent_data_ref()
507 struct btrfs_root *root = btrfs_extent_root(trans->fs_info, bytenr); in insert_extent_data_ref() local
580 struct btrfs_root *root, in remove_extent_data_ref()
581 struct btrfs_path *path, in remove_extent_data_ref()
624 static noinline u32 extent_data_ref_count(struct btrfs_path *path, in extent_data_ref_count()
666 struct btrfs_path *path, in lookup_tree_block_ref()
670 struct btrfs_root *root = btrfs_extent_root(trans->fs_info, bytenr); in lookup_tree_block_ref() local
690 struct btrfs_path *path, in insert_tree_block_ref()
694 struct btrfs_root *root = btrfs_extent_root(trans->fs_info, bytenr); in insert_tree_block_ref() local
729 static int find_next_key(struct btrfs_path *path, int level, in find_next_key()
765 struct btrfs_path *path, in lookup_inline_extent_backref()
772 struct btrfs_root *root = btrfs_extent_root(fs_info, bytenr); in lookup_inline_extent_backref() local
995 struct btrfs_path *path, in setup_inline_extent_backref()
1054 struct btrfs_path *path, in lookup_extent_backref()
1085 struct btrfs_path *path, in update_inline_extent_backref()
1200 struct btrfs_path *path, in insert_inline_extent_backref()
1236 struct btrfs_root *root, in remove_extent_backref()
1237 struct btrfs_path *path, in remove_extent_backref()
1490 struct btrfs_path *path; in __btrfs_inc_extent_ref() local
1544 u64 root = href->owning_root; in free_head_ref_squota_rsv() local
1632 struct btrfs_root *root; in run_delayed_extent_op() local
1634 struct btrfs_path *path; in run_delayed_extent_op() local
2088 static u64 find_middle(struct rb_root *root) in find_middle()
2203 struct btrfs_path *path, in check_delayed_ref()
2206 struct btrfs_root *root = inode->root; in check_delayed_ref() local
2334 struct btrfs_path *path, in check_committed_ref()
2337 struct btrfs_root *root = inode->root; in check_committed_ref() local
2412 u64 bytenr, struct btrfs_path *path) in btrfs_cross_ref_exist()
2457 struct btrfs_root *root, in __btrfs_mod_ref()
2544 int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_inc_ref()
2550 int btrfs_dec_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_dec_ref()
2556 static u64 get_alloc_profile_by_root(struct btrfs_root *root, int data) in get_alloc_profile_by_root()
2990 #define abort_and_dump(trans, path, fmt, args...) \ argument
3063 struct btrfs_path *path; in __btrfs_free_extent() local
4122 struct btrfs_root *root = fs_info->chunk_root; in find_free_extent_update_loop() local
4354 static noinline int find_free_extent(struct btrfs_root *root, in find_free_extent()
4653 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, in btrfs_reserve_extent()
4780 struct btrfs_path *path; in alloc_reserved_file_extent() local
4854 struct btrfs_path *path; in alloc_reserved_tree_block() local
4918 struct btrfs_root *root, u64 owner, in btrfs_alloc_reserved_file_extent()
5017 btrfs_init_new_buffer(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_init_new_buffer()
5101 struct btrfs_root *root, in btrfs_alloc_tree_block()
5255 static bool visit_node_for_delete(struct btrfs_root *root, struct walk_control *wc, in visit_node_for_delete()
5310 struct btrfs_root *root, in reada_walk_down()
5312 struct btrfs_path *path) in reada_walk_down()
5388 struct btrfs_root *root, in walk_down_proc()
5389 struct btrfs_path *path, in walk_down_proc()
5471 struct btrfs_root *root, u64 bytenr, u64 parent, in check_ref_exists()
5476 struct btrfs_path *path; in check_ref_exists() local
5538 struct btrfs_root *root, in check_next_block_uptodate()
5539 struct btrfs_path *path, in check_next_block_uptodate()
5584 static int maybe_drop_reference(struct btrfs_trans_handle *trans, struct btrfs_root *root, in maybe_drop_reference()
5585 struct btrfs_path *path, struct walk_control *wc, in maybe_drop_reference()
5672 struct btrfs_root *root, in do_walk_down()
5673 struct btrfs_path *path, in do_walk_down()
5783 struct btrfs_root *root, in walk_up_proc()
5784 struct btrfs_path *path, in walk_up_proc()
5920 struct btrfs_root *root, in walk_down_tree()
5921 struct btrfs_path *path, in walk_down_tree()
5969 struct btrfs_root *root, in walk_up_tree()
5970 struct btrfs_path *path, in walk_up_tree()
6016 int btrfs_drop_snapshot(struct btrfs_root *root, int update_ref, int for_reloc) in btrfs_drop_snapshot()
6020 struct btrfs_path *path; in btrfs_drop_snapshot() local
6291 struct btrfs_root *root, in btrfs_drop_subtree()
6296 struct btrfs_path *path; in btrfs_drop_subtree() local