Lines Matching full:ordered
133 * Calculate the total size needed to allocate for an ordered sum structure
400 * No ordered extents csums, as ordered extents are only for write in btrfs_lookup_bio_sums()
642 * @one_ordered: If true, @bio only refers to one ordered extent.
650 struct btrfs_ordered_extent *ordered = NULL; in btrfs_csum_one_bio() local
682 if (!ordered) { in btrfs_csum_one_bio()
683 ordered = btrfs_lookup_ordered_extent(inode, offset); in btrfs_csum_one_bio()
685 * The bio range is not covered by any ordered extent, in btrfs_csum_one_bio()
688 if (unlikely(!ordered)) { in btrfs_csum_one_bio()
690 "no ordered extent for root %llu ino %llu offset %llu\n", in btrfs_csum_one_bio()
704 !in_range(offset, ordered->file_offset, in btrfs_csum_one_bio()
705 ordered->num_bytes)) { in btrfs_csum_one_bio()
710 btrfs_add_ordered_sum(ordered, sums); in btrfs_csum_one_bio()
711 btrfs_put_ordered_extent(ordered); in btrfs_csum_one_bio()
721 ordered = btrfs_lookup_ordered_extent(inode, in btrfs_csum_one_bio()
723 ASSERT(ordered); /* Logic error */ in btrfs_csum_one_bio()
743 btrfs_add_ordered_sum(ordered, sums); in btrfs_csum_one_bio()
744 btrfs_put_ordered_extent(ordered); in btrfs_csum_one_bio()
1109 * extent items when we complete an ordered extent for a range in btrfs_csum_file_blocks()