Lines Matching refs:splice
4412 struct list_head splice; in btrfs_destroy_all_ordered_extents() local
4414 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents()
4417 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4418 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4419 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4527 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
4529 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
4532 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4534 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4536 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4562 struct list_head splice; in btrfs_destroy_all_delalloc_inodes() local
4564 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_delalloc_inodes()
4567 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
4568 while (!list_empty(&splice)) { in btrfs_destroy_all_delalloc_inodes()
4569 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()