Searched refs:dead_roots (Results 1 – 3 of 3) sorted by relevance
1379 if (!list_empty(&fs_info->dead_roots)) { in btrfs_maybe_wake_unfinished_drop()1380 struct btrfs_root *root = list_first_entry(&fs_info->dead_roots, in btrfs_maybe_wake_unfinished_drop()1408 list_add(&root->root_list, &fs_info->dead_roots); in btrfs_add_dead_root()1410 list_add_tail(&root->root_list, &fs_info->dead_roots); in btrfs_add_dead_root()2619 if (list_empty(&fs_info->dead_roots)) { in btrfs_clean_one_deleted_snapshot()2623 root = list_first_entry(&fs_info->dead_roots, in btrfs_clean_one_deleted_snapshot()
500 struct list_head dead_roots; member
1836 while (!list_empty(&fs_info->dead_roots)) { in btrfs_free_fs_roots()1837 gang[0] = list_entry(fs_info->dead_roots.next, in btrfs_free_fs_roots()2658 INIT_LIST_HEAD(&fs_info->dead_roots); in btrfs_init_fs_info()