Lines Matching refs:splice
4797 struct list_head splice; in btrfs_destroy_all_ordered_extents() local
4799 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents()
4802 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4803 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4804 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4909 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
4911 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
4914 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4916 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4918 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4940 struct list_head splice; in btrfs_destroy_all_delalloc_inodes() local
4942 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_delalloc_inodes()
4945 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
4946 while (!list_empty(&splice)) { in btrfs_destroy_all_delalloc_inodes()
4947 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()