Lines Matching refs:reloc_roots
134 struct list_head reloc_roots; member
648 list_add_tail(&root->root_list, &rc->reloc_roots); in __add_reloc_root()
1845 LIST_HEAD(reloc_roots); in prepare_to_merge()
1882 while (!list_empty(&rc->reloc_roots)) { in prepare_to_merge()
1883 reloc_root = list_entry(rc->reloc_roots.next, in prepare_to_merge()
1894 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1914 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1925 list_splice(&reloc_roots, &rc->reloc_roots); in prepare_to_merge()
1949 LIST_HEAD(reloc_roots); in merge_reloc_roots()
1962 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
1965 while (!list_empty(&reloc_roots)) { in merge_reloc_roots()
1967 reloc_root = list_entry(reloc_roots.next, in merge_reloc_roots()
2001 &reloc_roots); in merge_reloc_roots()
2029 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
2033 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
2035 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
3942 INIT_LIST_HEAD(&rc->reloc_roots); in alloc_reloc_control()
3955 free_reloc_roots(&rc->reloc_roots); in free_reloc_control()
4151 LIST_HEAD(reloc_roots); in btrfs_recover_relocation()
4198 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4226 if (list_empty(&reloc_roots)) in btrfs_recover_relocation()
4253 while (!list_empty(&reloc_roots)) { in btrfs_recover_relocation()
4254 reloc_root = list_entry(reloc_roots.next, in btrfs_recover_relocation()
4260 &rc->reloc_roots); in btrfs_recover_relocation()
4268 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4276 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4309 free_reloc_roots(&reloc_roots); in btrfs_recover_relocation()