Lines Matching refs:ordered
227 btrfs_finish_ordered_extent(cb->bbio.ordered, NULL, cb->start, cb->len, in btrfs_finish_compressed_write_work()
277 void btrfs_submit_compressed_write(struct btrfs_ordered_extent *ordered, in btrfs_submit_compressed_write() argument
283 struct btrfs_inode *inode = BTRFS_I(ordered->inode); in btrfs_submit_compressed_write()
287 ASSERT(IS_ALIGNED(ordered->file_offset, fs_info->sectorsize)); in btrfs_submit_compressed_write()
288 ASSERT(IS_ALIGNED(ordered->num_bytes, fs_info->sectorsize)); in btrfs_submit_compressed_write()
290 cb = alloc_compressed_bio(inode, ordered->file_offset, in btrfs_submit_compressed_write()
293 cb->start = ordered->file_offset; in btrfs_submit_compressed_write()
294 cb->len = ordered->num_bytes; in btrfs_submit_compressed_write()
296 cb->compressed_len = ordered->disk_num_bytes; in btrfs_submit_compressed_write()
300 cb->bbio.bio.bi_iter.bi_sector = ordered->disk_bytenr >> SECTOR_SHIFT; in btrfs_submit_compressed_write()
301 cb->bbio.ordered = ordered; in btrfs_submit_compressed_write()