Lines Matching refs:splice
4217 struct list_head splice; in btrfs_destroy_all_ordered_extents() local
4219 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents()
4222 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4223 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4224 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4310 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
4312 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
4315 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4317 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4319 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4341 struct list_head splice; in btrfs_destroy_all_delalloc_inodes() local
4343 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_delalloc_inodes()
4346 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
4347 while (!list_empty(&splice)) { in btrfs_destroy_all_delalloc_inodes()
4348 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()