Lines Matching refs:splice
4108 struct list_head splice; in btrfs_destroy_all_ordered_extents() local
4110 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents()
4113 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4114 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4115 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4208 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
4210 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
4213 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4215 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4216 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4235 struct list_head splice; in btrfs_destroy_all_delalloc_inodes() local
4237 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_delalloc_inodes()
4240 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
4241 while (!list_empty(&splice)) { in btrfs_destroy_all_delalloc_inodes()
4242 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()