Lines Matching refs:splice
4169 struct list_head splice; in btrfs_destroy_all_ordered_extents() local
4171 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents()
4174 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4175 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4176 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4265 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
4267 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
4270 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4272 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4274 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4296 struct list_head splice; in btrfs_destroy_all_delalloc_inodes() local
4298 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_delalloc_inodes()
4301 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
4302 while (!list_empty(&splice)) { in btrfs_destroy_all_delalloc_inodes()
4303 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()