Home
last modified time | relevance | path

Searched refs:src_len (Results 1 – 7 of 7) sorted by relevance

/xen/xen/common/
A Dunlzo.c136 u32 src_len, dst_len; in unlzo() local
214 src_len = get_unaligned_be32(in_buf); in unlzo()
218 if (src_len <= 0 || src_len > dst_len || src_len > in_len) { in unlzo()
229 if (unlikely(dst_len == src_len)) in unlzo()
230 memcpy(out_buf, in_buf, src_len); in unlzo()
232 r = lzo1x_decompress_safe(in_buf, src_len, in unlzo()
246 *posp += src_len + 12; in unlzo()
251 in_buf += src_len; in unlzo()
252 in_len -= src_len; in unlzo()
/xen/xen/include/xen/
A Dlz4.h40 int lz4_compress(const unsigned char *src, size_t src_len,
57 int lz4hc_compress(const unsigned char *src, size_t src_len,
71 int lz4_decompress(const unsigned char *src, size_t *src_len,
86 int lz4_decompress_unknownoutputsize(const unsigned char *src, size_t src_len,
A Dlzo.h23 int lzo1x_1_compress(const unsigned char *src, size_t src_len,
27 int lzo1x_decompress_safe(const unsigned char *src, size_t src_len,
/xen/tools/libxc/
A Dxc_dom_bzimageloader.c476 lzo_uint src_len, dst_len, out_len; in xc_try_lzo1x_decode() local
502 src_len = lzo_read_32(cur + 4); in xc_try_lzo1x_decode()
507 if ( src_len <= 0 || src_len > dst_len || src_len > left ) in xc_try_lzo1x_decode()
526 ret = lzo1x_decompress_safe(cur, src_len, in xc_try_lzo1x_decode()
537 cur += src_len; in xc_try_lzo1x_decode()
538 left -= src_len; in xc_try_lzo1x_decode()
/xen/xen/common/lz4/
A Ddecompress.c305 int INIT lz4_decompress(const unsigned char *src, size_t *src_len, in lz4_decompress() argument
314 *src_len = input_len; in lz4_decompress()
323 int lz4_decompress_unknownoutputsize(const unsigned char *src, size_t src_len, in lz4_decompress_unknownoutputsize() argument
329 out_len = lz4_uncompress_unknownoutputsize(src, dest, src_len, in lz4_decompress_unknownoutputsize()
/xen/xen/arch/x86/hvm/
A Dsave.c372 uint32_t src_len) in _hvm_write_entry() argument
374 memcpy(&h->data[h->cur], src, src_len); in _hvm_write_entry()
375 h->cur += src_len; in _hvm_write_entry()
/xen/xen/include/asm-x86/hvm/
A Dsave.h38 void *src, uint32_t src_len);

Completed in 9 milliseconds