Searched refs:dead_roots (Results 1 – 4 of 4) sorted by relevance
1459 if (!list_empty(&fs_info->dead_roots)) { in btrfs_maybe_wake_unfinished_drop() 1460 struct btrfs_root *root = list_first_entry(&fs_info->dead_roots, in btrfs_maybe_wake_unfinished_drop() 1488 list_add(&root->root_list, &fs_info->dead_roots); in btrfs_add_dead_root() 1490 list_add_tail(&root->root_list, &fs_info->dead_roots); in btrfs_add_dead_root() 2693 * 0 if there are no more dead_roots at the time of call2707 if (list_empty(&fs_info->dead_roots)) { in btrfs_clean_one_deleted_snapshot() 2711 root = list_first_entry(&fs_info->dead_roots, in btrfs_clean_one_deleted_snapshot()
5056 if (!list_empty(&fs_info->dead_roots)) { in btrfs_ioctl_subvol_sync() 5057 root = list_last_entry(&fs_info->dead_roots, in btrfs_ioctl_subvol_sync() 5074 args.count = list_count_nodes(&fs_info->dead_roots); in btrfs_ioctl_subvol_sync() 5082 if (!list_empty(&fs_info->dead_roots)) { in btrfs_ioctl_subvol_sync() 5083 root = list_last_entry(&fs_info->dead_roots, in btrfs_ioctl_subvol_sync() 5096 if (!list_empty(&fs_info->dead_roots)) { in btrfs_ioctl_subvol_sync() 5097 root = list_first_entry(&fs_info->dead_roots, in btrfs_ioctl_subvol_sync()
665 struct list_head dead_roots; member
1855 while (!list_empty(&fs_info->dead_roots)) { in btrfs_free_fs_roots()1856 gang[0] = list_first_entry(&fs_info->dead_roots, in btrfs_free_fs_roots()2789 INIT_LIST_HEAD(&fs_info->dead_roots); in btrfs_init_fs_info()