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()
1729 struct btrfs_root, root_list); in prepare_to_merge()
1730 list_del_init(&reloc_root->root_list); in prepare_to_merge()
1739 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1771 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1791 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1816 list_for_each_entry_safe(reloc_root, tmp, list, root_list) in free_reloc_roots()
1844 reloc_root = list_first_entry(&reloc_roots, struct btrfs_root, root_list); in merge_reloc_roots()
1872 if (list_empty(&reloc_root->root_list)) in merge_reloc_roots()
1873 list_add_tail(&reloc_root->root_list, in merge_reloc_roots()
1888 list_del_init(&reloc_root->root_list); in merge_reloc_roots()
4125 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4176 reloc_root = list_first_entry(&reloc_roots, struct btrfs_root, root_list); in btrfs_recover_relocation()
4177 list_del(&reloc_root->root_list); in btrfs_recover_relocation()
4180 list_add_tail(&reloc_root->root_list, in btrfs_recover_relocation()
4189 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4197 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()