Lines Matching refs:dst_data
174 void *dst_data, struct bch_extent_crc_unpacked crc) in __bio_uncompress() argument
200 ret2 = LZ4_decompress_safe_partial(src_data.b, dst_data, in __bio_uncompress()
209 .next_out = dst_data, in __bio_uncompress()
238 dst_data, dst_len, in __bio_uncompress()
311 struct bbuf dst_data = { NULL }; in bch2_bio_uncompress() local
319 dst_data = dst_len == dst_iter.bi_size in bch2_bio_uncompress()
323 ret = __bio_uncompress(c, src, dst_data.b, crc); in bch2_bio_uncompress()
327 if (dst_data.type != BB_NONE && in bch2_bio_uncompress()
328 dst_data.type != BB_VMAP) in bch2_bio_uncompress()
329 memcpy_to_bio(dst, dst_iter, dst_data.b + (crc.offset << 9)); in bch2_bio_uncompress()
331 bio_unmap_or_unbounce(c, dst_data); in bch2_bio_uncompress()
431 struct bbuf src_data = { NULL }, dst_data = { NULL }; in __bio_compress() local
458 dst_data = bio_map_or_bounce(c, dst, WRITE); in __bio_compress()
477 dst_data.b, *dst_len, in __bio_compress()
515 memset(dst_data.b + *dst_len, 0, pad); in __bio_compress()
518 if (dst_data.type != BB_NONE && in __bio_compress()
519 dst_data.type != BB_VMAP) in __bio_compress()
520 memcpy_to_bio(dst, dst->bi_iter, dst_data.b); in __bio_compress()
529 bio_unmap_or_unbounce(c, dst_data); in __bio_compress()