Lines Matching refs:splice
4314 struct list_head splice; in btrfs_destroy_all_ordered_extents() local
4316 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents()
4319 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4320 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4321 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4429 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
4431 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
4434 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4436 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4438 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4460 struct list_head splice; in btrfs_destroy_all_delalloc_inodes() local
4462 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_delalloc_inodes()
4465 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
4466 while (!list_empty(&splice)) { in btrfs_destroy_all_delalloc_inodes()
4467 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()