Lines Matching refs:reloc_roots

153 	struct list_head reloc_roots;  member
492 list_add_tail(&root->root_list, &rc->reloc_roots); in __add_reloc_root()
1662 LIST_HEAD(reloc_roots); in prepare_to_merge()
1699 while (!list_empty(&rc->reloc_roots)) { in prepare_to_merge()
1700 reloc_root = list_entry(rc->reloc_roots.next, in prepare_to_merge()
1711 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1743 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1763 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1774 list_splice(&reloc_roots, &rc->reloc_roots); in prepare_to_merge()
1798 LIST_HEAD(reloc_roots); in merge_reloc_roots()
1811 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
1814 while (!list_empty(&reloc_roots)) { in merge_reloc_roots()
1816 reloc_root = list_entry(reloc_roots.next, in merge_reloc_roots()
1847 &reloc_roots); in merge_reloc_roots()
1875 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
1879 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
1881 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
3860 INIT_LIST_HEAD(&rc->reloc_roots); in alloc_reloc_control()
3873 free_reloc_roots(&rc->reloc_roots); in free_reloc_control()
4091 LIST_HEAD(reloc_roots); in btrfs_recover_relocation()
4137 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4162 if (list_empty(&reloc_roots)) in btrfs_recover_relocation()
4187 while (!list_empty(&reloc_roots)) { in btrfs_recover_relocation()
4188 reloc_root = list_entry(reloc_roots.next, in btrfs_recover_relocation()
4194 &rc->reloc_roots); in btrfs_recover_relocation()
4202 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4210 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4243 free_reloc_roots(&reloc_roots); in btrfs_recover_relocation()