Lines Matching refs:reloc_roots

133 	struct list_head reloc_roots;  member
646 list_add_tail(&root->root_list, &rc->reloc_roots); in __add_reloc_root()
1818 LIST_HEAD(reloc_roots); in prepare_to_merge()
1855 while (!list_empty(&rc->reloc_roots)) { in prepare_to_merge()
1856 reloc_root = list_entry(rc->reloc_roots.next, in prepare_to_merge()
1873 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1877 list_splice(&reloc_roots, &rc->reloc_roots); in prepare_to_merge()
1901 LIST_HEAD(reloc_roots); in merge_reloc_roots()
1914 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
1917 while (!list_empty(&reloc_roots)) { in merge_reloc_roots()
1919 reloc_root = list_entry(reloc_roots.next, in merge_reloc_roots()
1932 &reloc_roots); in merge_reloc_roots()
1960 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
1964 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
1966 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
3516 INIT_LIST_HEAD(&rc->reloc_roots); in alloc_reloc_control()
3529 free_reloc_roots(&rc->reloc_roots); in free_reloc_control()
3717 LIST_HEAD(reloc_roots); in btrfs_recover_relocation()
3764 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
3792 if (list_empty(&reloc_roots)) in btrfs_recover_relocation()
3813 while (!list_empty(&reloc_roots)) { in btrfs_recover_relocation()
3814 reloc_root = list_entry(reloc_roots.next, in btrfs_recover_relocation()
3820 &rc->reloc_roots); in btrfs_recover_relocation()
3828 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
3861 free_reloc_roots(&reloc_roots); in btrfs_recover_relocation()