Lines Matching defs:decompressed
980 * Copy decompressed data from working buffer to pages.
982 * @buf: The decompressed data buffer
983 * @buf_len: The decompressed data length
984 * @decompressed: Number of bytes that are already decompressed inside the
992 * |<------- full decompressed extent ----->|
995 * |<--- @decompressed --->|
997 * Note that, @cb can be a subpage of the full decompressed extent, but
999 * decompressed extent.
1010 struct compressed_bio *cb, u32 decompressed)
1013 /* Offset inside the full decompressed extent */
1016 cur_offset = decompressed;
1018 while (cur_offset < decompressed + buf_len) {
1022 /* Offset inside the full decompressed extent */
1028 * give us correct offset inside the full decompressed extent.
1033 if (decompressed + buf_len <= bvec_offset)
1038 decompressed + buf_len) - copy_start;
1045 ASSERT(copy_start - decompressed < buf_len);
1047 buf + copy_start - decompressed, copy_len);