Lines Matching refs:splice
3333 struct list_head splice; in btrfs_destroy_ordered_operations() local
3335 INIT_LIST_HEAD(&splice); in btrfs_destroy_ordered_operations()
3340 list_splice_init(&root->fs_info->ordered_operations, &splice); in btrfs_destroy_ordered_operations()
3341 while (!list_empty(&splice)) { in btrfs_destroy_ordered_operations()
3342 btrfs_inode = list_entry(splice.next, struct btrfs_inode, in btrfs_destroy_ordered_operations()
3356 struct list_head splice; in btrfs_destroy_ordered_extents() local
3360 INIT_LIST_HEAD(&splice); in btrfs_destroy_ordered_extents()
3364 list_splice_init(&root->fs_info->ordered_extents, &splice); in btrfs_destroy_ordered_extents()
3365 while (!list_empty(&splice)) { in btrfs_destroy_ordered_extents()
3366 ordered = list_entry(splice.next, struct btrfs_ordered_extent, in btrfs_destroy_ordered_extents()
3446 struct list_head splice; in btrfs_destroy_pending_snapshots() local
3448 INIT_LIST_HEAD(&splice); in btrfs_destroy_pending_snapshots()
3450 list_splice_init(&t->pending_snapshots, &splice); in btrfs_destroy_pending_snapshots()
3452 while (!list_empty(&splice)) { in btrfs_destroy_pending_snapshots()
3453 snapshot = list_entry(splice.next, in btrfs_destroy_pending_snapshots()
3466 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
3468 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
3471 list_splice_init(&root->fs_info->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
3473 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
3474 btrfs_inode = list_entry(splice.next, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()