Searched refs:dead_roots (Results 1 – 4 of 4) sorted by relevance
1431 if (!list_empty(&fs_info->dead_roots)) { in btrfs_maybe_wake_unfinished_drop()1432 struct btrfs_root *root = list_first_entry(&fs_info->dead_roots, in btrfs_maybe_wake_unfinished_drop()1460 list_add(&root->root_list, &fs_info->dead_roots); in btrfs_add_dead_root()1462 list_add_tail(&root->root_list, &fs_info->dead_roots); in btrfs_add_dead_root()2677 if (list_empty(&fs_info->dead_roots)) { in btrfs_clean_one_deleted_snapshot()2681 root = list_first_entry(&fs_info->dead_roots, in btrfs_clean_one_deleted_snapshot()
4998 if (!list_empty(&fs_info->dead_roots)) { in btrfs_ioctl_subvol_sync()4999 root = list_last_entry(&fs_info->dead_roots, in btrfs_ioctl_subvol_sync()5016 args.count = list_count_nodes(&fs_info->dead_roots); in btrfs_ioctl_subvol_sync()5024 if (!list_empty(&fs_info->dead_roots)) { in btrfs_ioctl_subvol_sync()5025 root = list_last_entry(&fs_info->dead_roots, in btrfs_ioctl_subvol_sync()5038 if (!list_empty(&fs_info->dead_roots)) { in btrfs_ioctl_subvol_sync()5039 root = list_first_entry(&fs_info->dead_roots, in btrfs_ioctl_subvol_sync()
647 struct list_head dead_roots; member
1824 while (!list_empty(&fs_info->dead_roots)) { in btrfs_free_fs_roots()1825 gang[0] = list_first_entry(&fs_info->dead_roots, in btrfs_free_fs_roots()2774 INIT_LIST_HEAD(&fs_info->dead_roots); in btrfs_init_fs_info()