Lines Matching refs:reloc_roots

164 	struct list_head reloc_roots;  member
1269 list_add_tail(&root->root_list, &rc->reloc_roots); in __add_reloc_root()
2284 LIST_HEAD(reloc_roots); in prepare_to_merge()
2321 while (!list_empty(&rc->reloc_roots)) { in prepare_to_merge()
2322 reloc_root = list_entry(rc->reloc_roots.next, in prepare_to_merge()
2338 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
2341 list_splice(&reloc_roots, &rc->reloc_roots); in prepare_to_merge()
2372 LIST_HEAD(reloc_roots); in merge_reloc_roots()
2385 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
2388 while (!list_empty(&reloc_roots)) { in merge_reloc_roots()
2390 reloc_root = list_entry(reloc_roots.next, in merge_reloc_roots()
2403 &reloc_roots); in merge_reloc_roots()
2414 &reloc_roots); in merge_reloc_roots()
2426 if (!list_empty(&reloc_roots)) in merge_reloc_roots()
2427 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
2431 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
2433 if (!list_empty(&reloc_roots)) in merge_reloc_roots()
2434 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
4178 INIT_LIST_HEAD(&rc->reloc_roots); in alloc_reloc_control()
4358 LIST_HEAD(reloc_roots); in btrfs_recover_relocation()
4404 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4430 if (list_empty(&reloc_roots)) in btrfs_recover_relocation()
4452 while (!list_empty(&reloc_roots)) { in btrfs_recover_relocation()
4453 reloc_root = list_entry(reloc_roots.next, in btrfs_recover_relocation()
4459 &rc->reloc_roots); in btrfs_recover_relocation()
4491 if (!list_empty(&reloc_roots)) in btrfs_recover_relocation()
4492 free_reloc_roots(&reloc_roots); in btrfs_recover_relocation()