Lines Matching refs:reloc_roots

136 	struct list_head reloc_roots;  member
650 list_add_tail(&root->root_list, &rc->reloc_roots); in __add_reloc_root()
1850 LIST_HEAD(reloc_roots); in prepare_to_merge()
1887 while (!list_empty(&rc->reloc_roots)) { in prepare_to_merge()
1888 reloc_root = list_entry(rc->reloc_roots.next, in prepare_to_merge()
1899 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1919 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1930 list_splice(&reloc_roots, &rc->reloc_roots); in prepare_to_merge()
1954 LIST_HEAD(reloc_roots); in merge_reloc_roots()
1967 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
1970 while (!list_empty(&reloc_roots)) { in merge_reloc_roots()
1972 reloc_root = list_entry(reloc_roots.next, in merge_reloc_roots()
2006 &reloc_roots); in merge_reloc_roots()
2034 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
2038 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
2040 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
3904 INIT_LIST_HEAD(&rc->reloc_roots); in alloc_reloc_control()
3917 free_reloc_roots(&rc->reloc_roots); in free_reloc_control()
4139 LIST_HEAD(reloc_roots); in btrfs_recover_relocation()
4186 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4214 if (list_empty(&reloc_roots)) in btrfs_recover_relocation()
4241 while (!list_empty(&reloc_roots)) { in btrfs_recover_relocation()
4242 reloc_root = list_entry(reloc_roots.next, in btrfs_recover_relocation()
4248 &rc->reloc_roots); in btrfs_recover_relocation()
4256 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4264 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4297 free_reloc_roots(&reloc_roots); in btrfs_recover_relocation()