Lines Matching refs:splice
611 struct list_head splice, works; in btrfs_wait_ordered_extents() local
615 INIT_LIST_HEAD(&splice); in btrfs_wait_ordered_extents()
620 list_splice_init(&root->ordered_extents, &splice); in btrfs_wait_ordered_extents()
621 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_extents()
622 ordered = list_first_entry(&splice, struct btrfs_ordered_extent, in btrfs_wait_ordered_extents()
642 list_splice_tail(&splice, &root->ordered_extents); in btrfs_wait_ordered_extents()
659 struct list_head splice; in btrfs_wait_ordered_roots() local
662 INIT_LIST_HEAD(&splice); in btrfs_wait_ordered_roots()
666 list_splice_init(&fs_info->ordered_roots, &splice); in btrfs_wait_ordered_roots()
667 while (!list_empty(&splice) && nr) { in btrfs_wait_ordered_roots()
668 root = list_first_entry(&splice, struct btrfs_root, in btrfs_wait_ordered_roots()
685 list_splice_tail(&splice, &fs_info->ordered_roots); in btrfs_wait_ordered_roots()