Lines Matching refs:dst_data
153 void *dst_data, struct bch_extent_crc_unpacked crc) in __bio_uncompress() argument
166 ret = LZ4_decompress_safe_partial(src_data.b, dst_data, in __bio_uncompress()
175 .next_out = dst_data, in __bio_uncompress()
202 dst_data, dst_len, in __bio_uncompress()
271 struct bbuf dst_data = { NULL }; in bch2_bio_uncompress() local
279 dst_data = dst_len == dst_iter.bi_size in bch2_bio_uncompress()
283 ret = __bio_uncompress(c, src, dst_data.b, crc); in bch2_bio_uncompress()
287 if (dst_data.type != BB_NONE && in bch2_bio_uncompress()
288 dst_data.type != BB_VMAP) in bch2_bio_uncompress()
289 memcpy_to_bio(dst, dst_iter, dst_data.b + (crc.offset << 9)); in bch2_bio_uncompress()
291 bio_unmap_or_unbounce(c, dst_data); in bch2_bio_uncompress()
390 struct bbuf src_data = { NULL }, dst_data = { NULL }; in __bio_compress() local
404 dst_data = bio_map_or_bounce(c, dst, WRITE); in __bio_compress()
423 dst_data.b, *dst_len, in __bio_compress()
461 memset(dst_data.b + *dst_len, 0, pad); in __bio_compress()
464 if (dst_data.type != BB_NONE && in __bio_compress()
465 dst_data.type != BB_VMAP) in __bio_compress()
466 memcpy_to_bio(dst, dst->bi_iter, dst_data.b); in __bio_compress()
475 bio_unmap_or_unbounce(c, dst_data); in __bio_compress()