* intermediate representation documented below. */
static u32
lzx_record_match(unsigned match_offset, unsigned match_len,
* intermediate representation documented below. */
static u32
lzx_record_match(unsigned match_offset, unsigned match_len,
rel_offset = le32_to_cpu(*call_insn_target);
if (rel_offset >= -input_pos && rel_offset < file_size) {
rel_offset = le32_to_cpu(*call_insn_target);
if (rel_offset >= -input_pos && rel_offset < file_size) {
/* The input data must be preprocessed. To avoid changing the original
* input, copy it to a temporary buffer. */
/* The input data must be preprocessed. To avoid changing the original
* input, copy it to a temporary buffer. */
memset(uncompressed_data + uncompressed_len, 0, 8);
/* Before doing any actual compression, do the call instruction (0xe8
memset(uncompressed_data + uncompressed_len, 0, 8);
/* Before doing any actual compression, do the call instruction (0xe8
ERROR("lzx_compress(): Data we compressed didn't "
"decompress to the original data (difference at "
"byte %u of %u)", i + 1, uncompressed_len);
ERROR("lzx_compress(): Data we compressed didn't "
"decompress to the original data (difference at "
"byte %u of %u)", i + 1, uncompressed_len);