Lines Matching refs:splice
4386 struct list_head splice; in btrfs_destroy_all_ordered_extents() local
4388 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_ordered_extents()
4391 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_destroy_all_ordered_extents()
4392 while (!list_empty(&splice)) { in btrfs_destroy_all_ordered_extents()
4393 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_ordered_extents()
4501 struct list_head splice; in btrfs_destroy_delalloc_inodes() local
4503 INIT_LIST_HEAD(&splice); in btrfs_destroy_delalloc_inodes()
4506 list_splice_init(&root->delalloc_inodes, &splice); in btrfs_destroy_delalloc_inodes()
4508 while (!list_empty(&splice)) { in btrfs_destroy_delalloc_inodes()
4510 btrfs_inode = list_first_entry(&splice, struct btrfs_inode, in btrfs_destroy_delalloc_inodes()
4532 struct list_head splice; in btrfs_destroy_all_delalloc_inodes() local
4534 INIT_LIST_HEAD(&splice); in btrfs_destroy_all_delalloc_inodes()
4537 list_splice_init(&fs_info->delalloc_roots, &splice); in btrfs_destroy_all_delalloc_inodes()
4538 while (!list_empty(&splice)) { in btrfs_destroy_all_delalloc_inodes()
4539 root = list_first_entry(&splice, struct btrfs_root, in btrfs_destroy_all_delalloc_inodes()