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()
3858 INIT_LIST_HEAD(&rc->reloc_roots); in alloc_reloc_control()
3871 free_reloc_roots(&rc->reloc_roots); in free_reloc_control()
4089 LIST_HEAD(reloc_roots); in btrfs_recover_relocation()
4135 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4160 if (list_empty(&reloc_roots)) in btrfs_recover_relocation()
4185 while (!list_empty(&reloc_roots)) { in btrfs_recover_relocation()
4186 reloc_root = list_entry(reloc_roots.next, in btrfs_recover_relocation()
4192 &rc->reloc_roots); in btrfs_recover_relocation()
4200 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4208 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4241 free_reloc_roots(&reloc_roots); in btrfs_recover_relocation()