Lines Matching refs:reloc_roots
145 struct list_head reloc_roots; member
660 list_add_tail(&root->root_list, &rc->reloc_roots); in __add_reloc_root()
1865 LIST_HEAD(reloc_roots); in prepare_to_merge()
1902 while (!list_empty(&rc->reloc_roots)) { in prepare_to_merge()
1903 reloc_root = list_entry(rc->reloc_roots.next, in prepare_to_merge()
1914 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1946 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1966 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1977 list_splice(&reloc_roots, &rc->reloc_roots); in prepare_to_merge()
2001 LIST_HEAD(reloc_roots); in merge_reloc_roots()
2014 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
2017 while (!list_empty(&reloc_roots)) { in merge_reloc_roots()
2019 reloc_root = list_entry(reloc_roots.next, in merge_reloc_roots()
2050 &reloc_roots); in merge_reloc_roots()
2078 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
2082 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
2084 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
3972 INIT_LIST_HEAD(&rc->reloc_roots); in alloc_reloc_control()
3984 free_reloc_roots(&rc->reloc_roots); in free_reloc_control()
4206 LIST_HEAD(reloc_roots); in btrfs_recover_relocation()
4253 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4281 if (list_empty(&reloc_roots)) in btrfs_recover_relocation()
4308 while (!list_empty(&reloc_roots)) { in btrfs_recover_relocation()
4309 reloc_root = list_entry(reloc_roots.next, in btrfs_recover_relocation()
4315 &rc->reloc_roots); in btrfs_recover_relocation()
4323 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4331 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4364 free_reloc_roots(&reloc_roots); in btrfs_recover_relocation()