Lines Matching refs:unc_end
30 const u8 *unc_end; member
64 len1 += get_match_len(src + 3, ctx->unc_end, in longest_match_std()
72 len2 += get_match_len(src + 3, ctx->unc_end, in longest_match_std()
100 get_match_len(src, ctx->unc_end, ptr, ctx->max_len); in longest_match_best()
139 const u8 *unc, const u8 *unc_end, u8 *cmpr, in compress_chunk() argument
154 if (unc + LZNT_CHUNK_SIZE < unc_end) in compress_chunk()
155 unc_end = unc + LZNT_CHUNK_SIZE; in compress_chunk()
160 ctx->unc_end = unc_end; in compress_chunk()
163 while (up < unc_end) { in compress_chunk()
170 max_len = up + 3 <= unc_end ? (*match)(up, ctx) : 0; in compress_chunk()
227 static inline ssize_t decompress_chunk(u8 *unc, u8 *unc_end, const u8 *cmpr, in decompress_chunk() argument
238 while (up < unc_end && cmpr < cmpr_end) { in decompress_chunk()
272 if (up + length >= unc_end) in decompress_chunk()
273 length = unc_end - up; in decompress_chunk()
326 const u8 *unc_end = unc_chunk + unc_size; in compress_lznt() local
337 for (; unc_chunk < unc_end; unc_chunk += LZNT_CHUNK_SIZE) { in compress_lznt()
339 err = compress_chunk(match, unc_chunk, unc_end, p, end, in compress_lznt()
365 u8 *unc_end = unc_chunk + unc_size; in decompress_lznt() local
390 decompress_chunk(unc_chunk, unc_end, in decompress_lznt()
398 unc_use = unc_chunk + LZNT_CHUNK_SIZE > unc_end ? in decompress_lznt()
399 unc_end - unc_chunk : in decompress_lznt()
416 if (unc_chunk >= unc_end) in decompress_lznt()
439 if (t2 >= unc_end) in decompress_lznt()