Lines Matching +defs:path +defs:root
235 static bool reloc_root_is_dead(const struct btrfs_root *root) in reloc_root_is_dead()
256 static bool have_reloc_root(const struct btrfs_root *root) in have_reloc_root()
265 bool btrfs_should_ignore_reloc_root(const struct btrfs_root *root) in btrfs_should_ignore_reloc_root()
299 struct btrfs_root *root = NULL; in find_reloc_root() local
401 struct btrfs_path *path; in build_backref_tree() local
467 static int __add_reloc_root(struct btrfs_root *root) in __add_reloc_root()
500 static void __del_reloc_root(struct btrfs_root *root) in __del_reloc_root()
544 static int __update_reloc_root(struct btrfs_root *root) in __update_reloc_root()
575 struct btrfs_root *root, u64 objectid) in create_reloc_root()
678 struct btrfs_root *root) in btrfs_init_reloc_root()
744 struct btrfs_root *root) in btrfs_update_reloc_root()
795 struct btrfs_root *root = BTRFS_I(reloc_inode)->root; in get_new_location() local
796 struct btrfs_path *path; in get_new_location() local
843 struct btrfs_root *root, in replace_file_extents()
974 int slot, const struct btrfs_path *path, in memcmp_node_keys()
996 struct btrfs_path *path, struct btrfs_key *next_key, in replace_path()
1234 int walk_up_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, in walk_up_reloc_tree()
1271 int walk_down_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, in walk_down_reloc_tree()
1316 static int invalidate_extent_cache(struct btrfs_root *root, in invalidate_extent_cache()
1388 static int find_next_key(struct btrfs_path *path, int level, in find_next_key()
1411 struct btrfs_root *root) in insert_dirty_subvol()
1440 struct btrfs_root *root; in clean_dirty_subvols() local
1491 struct btrfs_root *root) in merge_reloc_root()
1499 struct btrfs_path *path; in merge_reloc_root() local
1658 struct btrfs_root *root = rc->extent_root; in prepare_to_merge() local
1796 struct btrfs_root *root; in merge_reloc_roots() local
1916 struct btrfs_root *root; in record_reloc_root_in_trans() local
1957 struct btrfs_root *root; in select_reloc_root() local
2051 struct btrfs_root *root; in select_one_root() local
2179 struct btrfs_path *path, int lowest) in do_relocation()
2184 struct btrfs_root *root; in do_relocation() local
2339 struct btrfs_path *path) in link_to_upper()
2349 struct btrfs_path *path, int err) in finish_pending_nodes()
2450 struct btrfs_path *path) in relocate_tree_block()
2452 struct btrfs_root *root; in relocate_tree_block() local
2538 struct btrfs_path *path) in relocate_cowonly_block()
2541 struct btrfs_root *root; in relocate_cowonly_block() local
2584 struct btrfs_path *path; in relocate_tree_blocks() local
3012 struct btrfs_root *root = BTRFS_I(inode)->root; in relocate_data_extent() local
3074 struct btrfs_path *path, in add_tree_block()
3177 struct btrfs_path *path; in __add_tree_block() local
3247 struct btrfs_root *root = fs_info->tree_root; in delete_block_group_cache() local
3326 struct btrfs_path *path, in add_data_references()
3374 int find_next_extent(struct reloc_control *rc, struct btrfs_path *path, in find_next_extent()
3528 struct btrfs_path *path; in relocate_block_group() local
3586 struct btrfs_root *root = BTRFS_I(rc->data_inode)->root; in relocate_block_group() local
3702 struct btrfs_root *root, u64 objectid) in __insert_orphan_inode()
3704 struct btrfs_path *path; in __insert_orphan_inode() local
3731 struct btrfs_root *root, u64 objectid) in delete_orphan_inode()
3733 struct btrfs_path *path; in delete_orphan_inode() local
3769 struct btrfs_root *root; in create_reloc_inode() local
3910 struct btrfs_path *path; in btrfs_relocate_block_group() local
4058 static noinline_for_stack int mark_garbage_root(struct btrfs_root *root) in mark_garbage_root()
4093 struct btrfs_path *path; in btrfs_recover_relocation() local
4304 struct btrfs_root *root, in btrfs_reloc_cow_block()
4373 struct btrfs_root *root = pending->root; in btrfs_reloc_pre_snapshot() local
4408 struct btrfs_root *root = pending->root; in btrfs_reloc_post_snapshot() local