Lines Matching refs:reloc_control

135 struct reloc_control {  struct
172 static void mark_block_processed(struct reloc_control *rc, in mark_block_processed() argument
296 struct reloc_control *rc = fs_info->reloc_ctl; in find_reloc_root()
325 static bool handle_useless_nodes(struct reloc_control *rc, in handle_useless_nodes()
395 struct reloc_control *rc, struct btrfs_key *node_key, in build_backref_tree()
472 struct reloc_control *rc = fs_info->reloc_ctl; in __add_reloc_root()
505 struct reloc_control *rc = fs_info->reloc_ctl; in __del_reloc_root()
549 struct reloc_control *rc = fs_info->reloc_ctl; in __update_reloc_root()
682 struct reloc_control *rc = fs_info->reloc_ctl; in btrfs_init_reloc_root()
842 struct reloc_control *rc, in replace_file_extents()
994 int replace_path(struct btrfs_trans_handle *trans, struct reloc_control *rc, in replace_path()
1410 struct reloc_control *rc, in insert_dirty_subvol()
1438 static int clean_dirty_subvols(struct reloc_control *rc) in clean_dirty_subvols()
1490 static noinline_for_stack int merge_reloc_root(struct reloc_control *rc, in merge_reloc_root()
1656 int prepare_to_merge(struct reloc_control *rc, int err) in prepare_to_merge()
1793 void merge_reloc_roots(struct reloc_control *rc) in merge_reloc_roots()
1952 struct reloc_control *rc, in select_reloc_root()
2089 static noinline_for_stack u64 calcu_metadata_size(struct reloc_control *rc, in calcu_metadata_size()
2123 struct reloc_control *rc, u64 num_bytes) in refill_metadata_space()
2159 struct reloc_control *rc, in reserve_metadata_space()
2176 struct reloc_control *rc, in do_relocation()
2337 struct reloc_control *rc, in link_to_upper()
2348 struct reloc_control *rc, in finish_pending_nodes()
2379 static void update_processed_blocks(struct reloc_control *rc, in update_processed_blocks()
2407 static int tree_block_processed(u64 bytenr, struct reloc_control *rc) in tree_block_processed()
2447 struct reloc_control *rc, in relocate_tree_block()
2537 struct reloc_control *rc, struct tree_block *block, in relocate_cowonly_block()
2580 struct reloc_control *rc, struct rb_root *blocks) in relocate_tree_blocks()
2650 static noinline_for_stack int prealloc_file_extent_cluster(struct reloc_control *rc) in prealloc_file_extent_cluster()
2759 static noinline_for_stack int setup_relocation_extent_mapping(struct reloc_control *rc) in setup_relocation_extent_mapping()
2810 static int relocate_one_folio(struct reloc_control *rc, in relocate_one_folio()
2967 static int relocate_file_extent_cluster(struct reloc_control *rc) in relocate_file_extent_cluster()
3006 static noinline_for_stack int relocate_data_extent(struct reloc_control *rc, in relocate_data_extent()
3072 static int add_tree_block(struct reloc_control *rc, in add_tree_block()
3172 static int __add_tree_block(struct reloc_control *rc, in __add_tree_block()
3324 static noinline_for_stack int add_data_references(struct reloc_control *rc, in add_data_references()
3374 int find_next_extent(struct reloc_control *rc, struct btrfs_path *path, in find_next_extent()
3458 static void set_reloc_control(struct reloc_control *rc) in set_reloc_control()
3467 static void unset_reloc_control(struct reloc_control *rc) in unset_reloc_control()
3477 int prepare_to_relocate(struct reloc_control *rc) in prepare_to_relocate()
3522 static noinline_for_stack int relocate_block_group(struct reloc_control *rc) in relocate_block_group()
3850 static struct reloc_control *alloc_reloc_control(struct btrfs_fs_info *fs_info) in alloc_reloc_control()
3852 struct reloc_control *rc; in alloc_reloc_control()
3867 static void free_reloc_control(struct reloc_control *rc) in free_reloc_control()
3908 struct reloc_control *rc; in btrfs_relocate_block_group()
4095 struct reloc_control *rc = NULL; in btrfs_recover_relocation()
4309 struct reloc_control *rc; in btrfs_reloc_cow_block()
4374 struct reloc_control *rc = root->fs_info->reloc_ctl; in btrfs_reloc_pre_snapshot()
4411 struct reloc_control *rc = root->fs_info->reloc_ctl; in btrfs_reloc_post_snapshot()