Lines Matching refs:splice
2756 struct list_head splice; in btrfs_destroy_ordered_operations() local
2758 INIT_LIST_HEAD(&splice); in btrfs_destroy_ordered_operations()
2763 list_splice_init(&root->fs_info->ordered_operations, &splice); in btrfs_destroy_ordered_operations()
2764 while (!list_empty(&splice)) { in btrfs_destroy_ordered_operations()
2765 btrfs_inode = list_entry(splice.next, struct btrfs_inode, in btrfs_destroy_ordered_operations()
2781 struct list_head splice; in btrfs_destroy_ordered_extents() local
2785 INIT_LIST_HEAD(&splice); in btrfs_destroy_ordered_extents()
2789 list_splice_init(&root->fs_info->ordered_extents, &splice); in btrfs_destroy_ordered_extents()
2790 while (!list_empty(&splice)) { in btrfs_destroy_ordered_extents()
2791 ordered = list_entry(splice.next, struct btrfs_ordered_extent, in btrfs_destroy_ordered_extents()
2870 struct list_head splice; in btrfs_destroy_pending_snapshots() local
2872 INIT_LIST_HEAD(&splice); in btrfs_destroy_pending_snapshots()
2874 list_splice_init(&t->pending_snapshots, &splice); in btrfs_destroy_pending_snapshots()
2876 while (!list_empty(&splice)) { in btrfs_destroy_pending_snapshots()
2877 snapshot = list_entry(splice.next, in btrfs_destroy_pending_snapshots()
2892 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
2894 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
2896 list_splice_init(&root->fs_info->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
2900 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
2901 btrfs_inode = list_entry(splice.next, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()