Lines Matching refs:root_list
502 list_add_tail(&root->root_list, &rc->reloc_roots); in __add_reloc_root()
540 if (!list_empty(&root->root_list)) { in __del_reloc_root()
542 list_del_init(&root->root_list); in __del_reloc_root()
1714 struct btrfs_root, root_list); in prepare_to_merge()
1715 list_del_init(&reloc_root->root_list); in prepare_to_merge()
1724 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1756 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1776 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1801 list_for_each_entry_safe(reloc_root, tmp, list, root_list) in free_reloc_roots()
1829 reloc_root = list_first_entry(&reloc_roots, struct btrfs_root, root_list); in merge_reloc_roots()
1857 if (list_empty(&reloc_root->root_list)) in merge_reloc_roots()
1858 list_add_tail(&reloc_root->root_list, in merge_reloc_roots()
1873 list_del_init(&reloc_root->root_list); in merge_reloc_roots()
4094 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4145 reloc_root = list_first_entry(&reloc_roots, struct btrfs_root, root_list); in btrfs_recover_relocation()
4146 list_del(&reloc_root->root_list); in btrfs_recover_relocation()
4149 list_add_tail(&reloc_root->root_list, in btrfs_recover_relocation()
4158 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4166 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()