Lines Matching +defs:path +defs:root
290 static bool reloc_root_is_dead(struct btrfs_root *root) in reloc_root_is_dead()
311 static bool have_reloc_root(struct btrfs_root *root) in have_reloc_root()
320 int btrfs_should_ignore_reloc_root(struct btrfs_root *root) in btrfs_should_ignore_reloc_root()
355 struct btrfs_root *root = NULL; in find_reloc_root() local
463 struct btrfs_path *path; in build_backref_tree() local
622 static int __must_check __add_reloc_root(struct btrfs_root *root) in __add_reloc_root()
654 static void __del_reloc_root(struct btrfs_root *root) in __del_reloc_root()
698 static int __update_reloc_root(struct btrfs_root *root) in __update_reloc_root()
729 struct btrfs_root *root, u64 objectid) in create_reloc_root()
832 struct btrfs_root *root) in btrfs_init_reloc_root()
892 struct btrfs_root *root) in btrfs_update_reloc_root()
941 static struct inode *find_next_inode(struct btrfs_root *root, u64 objectid) in find_next_inode()
997 struct btrfs_root *root = BTRFS_I(reloc_inode)->root; in get_new_location() local
998 struct btrfs_path *path; in get_new_location() local
1045 struct btrfs_root *root, in replace_file_extents()
1168 struct btrfs_path *path, int level) in memcmp_node_keys()
1189 struct btrfs_path *path, struct btrfs_key *next_key, in replace_path()
1399 int walk_up_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, in walk_up_reloc_tree()
1436 int walk_down_reloc_tree(struct btrfs_root *root, struct btrfs_path *path, in walk_down_reloc_tree()
1492 static int invalidate_extent_cache(struct btrfs_root *root, in invalidate_extent_cache()
1561 static int find_next_key(struct btrfs_path *path, int level, in find_next_key()
1584 struct btrfs_root *root) in insert_dirty_subvol()
1608 struct btrfs_root *root; in clean_dirty_subvols() local
1659 struct btrfs_root *root) in merge_reloc_root()
1667 struct btrfs_path *path; in merge_reloc_root() local
1832 struct btrfs_root *root = rc->extent_root; in prepare_to_merge() local
1917 struct btrfs_root *root; in merge_reloc_roots() local
2019 struct btrfs_root *root; in record_reloc_root_in_trans() local
2041 struct btrfs_root *root; in select_reloc_root() local
2106 struct btrfs_root *root; in select_one_root() local
2176 struct btrfs_root *root = rc->extent_root; in reserve_metadata_space() local
2224 struct btrfs_path *path, int lowest) in do_relocation()
2230 struct btrfs_root *root; in do_relocation() local
2384 struct btrfs_path *path) in link_to_upper()
2394 struct btrfs_path *path, int err) in finish_pending_nodes()
2491 struct btrfs_path *path) in relocate_tree_block()
2493 struct btrfs_root *root; in relocate_tree_block() local
2552 struct btrfs_path *path; in relocate_tree_blocks() local
2863 struct btrfs_path *path, in add_tree_block()
2927 struct btrfs_path *path; in __add_tree_block() local
2997 struct btrfs_root *root = fs_info->tree_root; in delete_block_group_cache() local
3077 struct btrfs_path *path, in add_data_references()
3121 int find_next_extent(struct reloc_control *rc, struct btrfs_path *path, in find_next_extent()
3287 struct btrfs_path *path; in relocate_block_group() local
3463 struct btrfs_root *root, u64 objectid) in __insert_orphan_inode()
3465 struct btrfs_path *path; in __insert_orphan_inode() local
3502 struct btrfs_root *root; in create_reloc_inode() local
3599 struct btrfs_path *path; in btrfs_relocate_block_group() local
3714 static noinline_for_stack int mark_garbage_root(struct btrfs_root *root) in mark_garbage_root()
3743 int btrfs_recover_relocation(struct btrfs_root *root) in btrfs_recover_relocation()
3750 struct btrfs_path *path; in btrfs_recover_relocation() local
3956 struct btrfs_root *root, struct extent_buffer *buf, in btrfs_reloc_cow_block()
4016 struct btrfs_root *root = pending->root; in btrfs_reloc_pre_snapshot() local
4051 struct btrfs_root *root = pending->root; in btrfs_reloc_post_snapshot() local