Lines Matching refs:m_len

41 		size_t t, m_len, m_off;  in lzo1x_1_do_compress()  local
162 m_len = 4; in lzo1x_1_do_compress()
166 v = get_unaligned((const u64 *) (ip + m_len)) ^ in lzo1x_1_do_compress()
167 get_unaligned((const u64 *) (m_pos + m_len)); in lzo1x_1_do_compress()
170 m_len += 8; in lzo1x_1_do_compress()
171 v = get_unaligned((const u64 *) (ip + m_len)) ^ in lzo1x_1_do_compress()
172 get_unaligned((const u64 *) (m_pos + m_len)); in lzo1x_1_do_compress()
173 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress()
178 m_len += (unsigned) __builtin_ctzll(v) / 8; in lzo1x_1_do_compress()
180 m_len += (unsigned) __builtin_clzll(v) / 8; in lzo1x_1_do_compress()
186 v = get_unaligned((const u32 *) (ip + m_len)) ^ in lzo1x_1_do_compress()
187 get_unaligned((const u32 *) (m_pos + m_len)); in lzo1x_1_do_compress()
190 m_len += 4; in lzo1x_1_do_compress()
191 v = get_unaligned((const u32 *) (ip + m_len)) ^ in lzo1x_1_do_compress()
192 get_unaligned((const u32 *) (m_pos + m_len)); in lzo1x_1_do_compress()
195 m_len += 4; in lzo1x_1_do_compress()
196 v = get_unaligned((const u32 *) (ip + m_len)) ^ in lzo1x_1_do_compress()
197 get_unaligned((const u32 *) (m_pos + m_len)); in lzo1x_1_do_compress()
198 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress()
203 m_len += (unsigned) __builtin_ctz(v) / 8; in lzo1x_1_do_compress()
205 m_len += (unsigned) __builtin_clz(v) / 8; in lzo1x_1_do_compress()
210 if (unlikely(ip[m_len] == m_pos[m_len])) { in lzo1x_1_do_compress()
212 m_len += 1; in lzo1x_1_do_compress()
213 if (ip[m_len] != m_pos[m_len]) in lzo1x_1_do_compress()
215 m_len += 1; in lzo1x_1_do_compress()
216 if (ip[m_len] != m_pos[m_len]) in lzo1x_1_do_compress()
218 m_len += 1; in lzo1x_1_do_compress()
219 if (ip[m_len] != m_pos[m_len]) in lzo1x_1_do_compress()
221 m_len += 1; in lzo1x_1_do_compress()
222 if (ip[m_len] != m_pos[m_len]) in lzo1x_1_do_compress()
224 m_len += 1; in lzo1x_1_do_compress()
225 if (ip[m_len] != m_pos[m_len]) in lzo1x_1_do_compress()
227 m_len += 1; in lzo1x_1_do_compress()
228 if (ip[m_len] != m_pos[m_len]) in lzo1x_1_do_compress()
230 m_len += 1; in lzo1x_1_do_compress()
231 if (ip[m_len] != m_pos[m_len]) in lzo1x_1_do_compress()
233 m_len += 1; in lzo1x_1_do_compress()
234 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress()
236 } while (ip[m_len] == m_pos[m_len]); in lzo1x_1_do_compress()
243 ip += m_len; in lzo1x_1_do_compress()
244 if (m_len <= M2_MAX_LEN && m_off <= M2_MAX_OFFSET) { in lzo1x_1_do_compress()
246 *op++ = (((m_len - 1) << 5) | ((m_off & 7) << 2)); in lzo1x_1_do_compress()
250 if (m_len <= M3_MAX_LEN) in lzo1x_1_do_compress()
251 *op++ = (M3_MARKER | (m_len - 2)); in lzo1x_1_do_compress()
253 m_len -= M3_MAX_LEN; in lzo1x_1_do_compress()
255 while (unlikely(m_len > 255)) { in lzo1x_1_do_compress()
256 m_len -= 255; in lzo1x_1_do_compress()
259 *op++ = (m_len); in lzo1x_1_do_compress()
265 if (m_len <= M4_MAX_LEN) in lzo1x_1_do_compress()
267 | (m_len - 2)); in lzo1x_1_do_compress()
270 && (m_len >= 261) in lzo1x_1_do_compress()
271 && (m_len <= 264)) in lzo1x_1_do_compress()
279 ip -= m_len - 260; in lzo1x_1_do_compress()
280 m_len = 260; in lzo1x_1_do_compress()
282 m_len -= M4_MAX_LEN; in lzo1x_1_do_compress()
284 while (unlikely(m_len > 255)) { in lzo1x_1_do_compress()
285 m_len -= 255; in lzo1x_1_do_compress()
288 *op++ = (m_len); in lzo1x_1_do_compress()