Searched refs:dead_roots (Results 1 – 4 of 4) sorted by relevance
1448 if (!list_empty(&fs_info->dead_roots)) { in btrfs_maybe_wake_unfinished_drop()1449 struct btrfs_root *root = list_first_entry(&fs_info->dead_roots, in btrfs_maybe_wake_unfinished_drop()1477 list_add(&root->root_list, &fs_info->dead_roots); in btrfs_add_dead_root()1479 list_add_tail(&root->root_list, &fs_info->dead_roots); in btrfs_add_dead_root()2690 if (list_empty(&fs_info->dead_roots)) { in btrfs_clean_one_deleted_snapshot()2694 root = list_first_entry(&fs_info->dead_roots, in btrfs_clean_one_deleted_snapshot()
4999 if (!list_empty(&fs_info->dead_roots)) { in btrfs_ioctl_subvol_sync()5000 root = list_last_entry(&fs_info->dead_roots, in btrfs_ioctl_subvol_sync()5017 args.count = list_count_nodes(&fs_info->dead_roots); in btrfs_ioctl_subvol_sync()5025 if (!list_empty(&fs_info->dead_roots)) { in btrfs_ioctl_subvol_sync()5026 root = list_last_entry(&fs_info->dead_roots, in btrfs_ioctl_subvol_sync()5039 if (!list_empty(&fs_info->dead_roots)) { in btrfs_ioctl_subvol_sync()5040 root = list_first_entry(&fs_info->dead_roots, in btrfs_ioctl_subvol_sync()
649 struct list_head dead_roots; member
1830 while (!list_empty(&fs_info->dead_roots)) { in btrfs_free_fs_roots()1831 gang[0] = list_first_entry(&fs_info->dead_roots, in btrfs_free_fs_roots()2760 INIT_LIST_HEAD(&fs_info->dead_roots); in btrfs_init_fs_info()