Lines Matching refs:splice
4156 struct list_head splice; in btrfs_destroy_all_ordered_extents() local
4158 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents()
4161 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4162 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4163 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4248 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
4250 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
4253 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4255 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4256 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4275 struct list_head splice; in btrfs_destroy_all_delalloc_inodes() local
4277 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_delalloc_inodes()
4280 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
4281 while (!list_empty(&splice)) { in btrfs_destroy_all_delalloc_inodes()
4282 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()