Lines Matching refs:ordered
319 btrfs_finish_ordered_extent(cb->bbio.ordered, NULL, cb->start, cb->len, in btrfs_finish_compressed_write_work()
371 void btrfs_submit_compressed_write(struct btrfs_ordered_extent *ordered, in btrfs_submit_compressed_write() argument
377 struct btrfs_inode *inode = ordered->inode; in btrfs_submit_compressed_write()
381 ASSERT(IS_ALIGNED(ordered->file_offset, fs_info->sectorsize)); in btrfs_submit_compressed_write()
382 ASSERT(IS_ALIGNED(ordered->num_bytes, fs_info->sectorsize)); in btrfs_submit_compressed_write()
384 cb = alloc_compressed_bio(inode, ordered->file_offset, in btrfs_submit_compressed_write()
387 cb->start = ordered->file_offset; in btrfs_submit_compressed_write()
388 cb->len = ordered->num_bytes; in btrfs_submit_compressed_write()
390 cb->compressed_len = ordered->disk_num_bytes; in btrfs_submit_compressed_write()
394 cb->bbio.bio.bi_iter.bi_sector = ordered->disk_bytenr >> SECTOR_SHIFT; in btrfs_submit_compressed_write()
395 cb->bbio.ordered = ordered; in btrfs_submit_compressed_write()