Lines Matching refs:splice
4872 struct list_head splice; in btrfs_destroy_all_ordered_extents() local
4874 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents()
4877 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4878 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4879 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4984 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
4986 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
4989 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4991 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4993 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
5015 struct list_head splice; in btrfs_destroy_all_delalloc_inodes() local
5017 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_delalloc_inodes()
5020 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
5021 while (!list_empty(&splice)) { in btrfs_destroy_all_delalloc_inodes()
5022 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()