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()
1836 LIST_HEAD(reloc_roots); in prepare_to_merge()
1873 while (!list_empty(&rc->reloc_roots)) { in prepare_to_merge()
1874 reloc_root = list_entry(rc->reloc_roots.next, in prepare_to_merge()
1891 list_add(&reloc_root->root_list, &reloc_roots); in prepare_to_merge()
1895 list_splice(&reloc_roots, &rc->reloc_roots); in prepare_to_merge()
1919 LIST_HEAD(reloc_roots); in merge_reloc_roots()
1932 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
1935 while (!list_empty(&reloc_roots)) { in merge_reloc_roots()
1937 reloc_root = list_entry(reloc_roots.next, in merge_reloc_roots()
1950 &reloc_roots); in merge_reloc_roots()
1978 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
1982 list_splice_init(&rc->reloc_roots, &reloc_roots); in merge_reloc_roots()
1984 free_reloc_roots(&reloc_roots); in merge_reloc_roots()
3539 INIT_LIST_HEAD(&rc->reloc_roots); in alloc_reloc_control()
3552 free_reloc_roots(&rc->reloc_roots); in free_reloc_control()
3740 LIST_HEAD(reloc_roots); in btrfs_recover_relocation()
3787 list_add(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
3815 if (list_empty(&reloc_roots)) in btrfs_recover_relocation()
3836 while (!list_empty(&reloc_roots)) { in btrfs_recover_relocation()
3837 reloc_root = list_entry(reloc_roots.next, in btrfs_recover_relocation()
3843 &rc->reloc_roots); in btrfs_recover_relocation()
3851 list_add_tail(&reloc_root->root_list, &reloc_roots); in btrfs_recover_relocation()
3884 free_reloc_roots(&reloc_roots); in btrfs_recover_relocation()