Home
last modified time | relevance | path

Searched refs:ip_end (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/u-boot/lib/lzo/
H A Dlzo1x_decompress.c20 #define HAVE_IP(x, ip_end, ip) ((size_t)(ip_end - ip) < (x)) argument
144 const unsigned char * const ip_end = in + in_len; in lzo1x_decompress_safe() local
158 if (HAVE_IP(t + 1, ip_end, ip)) in lzo1x_decompress_safe()
166 while ((ip < ip_end)) { in lzo1x_decompress_safe()
171 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
176 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
183 if (HAVE_IP(t + 4, ip_end, ip)) in lzo1x_decompress_safe()
243 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
248 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
262 if (HAVE_IP(1, ip_end, ip)) in lzo1x_decompress_safe()
[all …]
/OK3568_Linux_fs/kernel/lib/lzo/
H A Dlzo1x_compress.c30 const unsigned char * const ip_end = in + in_len - 20; in lzo1x_1_do_compress() local
47 if (unlikely(ip >= ip_end)) in lzo1x_1_do_compress()
53 const unsigned char *limit = ip_end in lzo1x_1_do_compress()
55 ? ip_end : ip + MAX_ZERO_RUN_LENGTH + 1; in lzo1x_1_do_compress()
175 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress()
200 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress()
236 if (unlikely(ip + m_len >= ip_end)) in lzo1x_1_do_compress()
H A Dlzo1x_decompress_safe.c23 #define HAVE_IP(x) ((size_t)(ip_end - ip) >= (size_t)(x))
47 const unsigned char * const ip_end = in + in_len; in lzo1x_decompress_safe() local
275 ip == ip_end ? LZO_E_OK : in lzo1x_decompress_safe()
276 ip < ip_end ? LZO_E_INPUT_NOT_CONSUMED : LZO_E_INPUT_OVERRUN); in lzo1x_decompress_safe()
/OK3568_Linux_fs/u-boot/fs/jffs2/
H A Dcompr_lzo.c97 #define TEST_IP (ip < ip_end)
101 if ((lzo_uint)(ip_end - ip) < (lzo_uint)(x)) goto input_overrun
159 const lzo_byte *const ip_end = in + in_len; in lzo1x_decompress() local
379 return (ip == ip_end ? LZO_E_OK : in lzo1x_decompress()
381 ip_end ? LZO_E_INPUT_NOT_CONSUMED : LZO_E_INPUT_OVERRUN)); in lzo1x_decompress()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ibm/ehea/
H A Dehea_qmr.h92 u8 ip_end; member
H A Dehea_main.c1964 swqe->ip_end = swqe->ip_start + ip_hdrlen(skb) - 1; in xmit_common()
1971 swqe->tcp_offset = swqe->ip_end + 1 + in xmit_common()
1979 swqe->tcp_offset = swqe->ip_end + 1 + in xmit_common()