Lines Matching refs:reloc_roots
166 struct list_head reloc_roots; member
1282 list_add_tail(&root->root_list, &rc->reloc_roots); in __add_reloc_root()
2376 LIST_HEAD(reloc_roots); in prepare_to_merge()
2413 while (!list_empty(&rc->reloc_roots)) { in prepare_to_merge()
2414 reloc_root = list_entry(rc->reloc_roots.next, in prepare_to_merge()
2430 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
2433 list_splice(&reloc_roots, &rc->reloc_roots); in prepare_to_merge()
2464 LIST_HEAD(reloc_roots); in merge_reloc_roots()
2477 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
2480 while (!list_empty(&reloc_roots)) { in merge_reloc_roots()
2482 reloc_root = list_entry(reloc_roots.next, in merge_reloc_roots()
2495 &reloc_roots); in merge_reloc_roots()
2513 if (!list_empty(&reloc_roots)) in merge_reloc_roots()
2514 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
2518 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
2520 if (!list_empty(&reloc_roots)) in merge_reloc_roots()
2521 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
4273 INIT_LIST_HEAD(&rc->reloc_roots); in alloc_reloc_control()
4450 LIST_HEAD(reloc_roots); in btrfs_recover_relocation()
4496 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
4522 if (list_empty(&reloc_roots)) in btrfs_recover_relocation()
4544 while (!list_empty(&reloc_roots)) { in btrfs_recover_relocation()
4545 reloc_root = list_entry(reloc_roots.next, in btrfs_recover_relocation()
4551 &rc->reloc_roots); in btrfs_recover_relocation()
4587 if (!list_empty(&reloc_roots)) in btrfs_recover_relocation()
4588 free_reloc_roots(&reloc_roots); in btrfs_recover_relocation()