Searched refs:zbuf (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/lib/ |
H A D | decompress_inflate.c | 48 u8 *zbuf; in __gunzip() local 66 zbuf = buf; in __gunzip() 68 zbuf = malloc(GZIP_IOBUF_SIZE); in __gunzip() 71 if (!zbuf) { in __gunzip() 98 len = fill(zbuf, GZIP_IOBUF_SIZE); in __gunzip() 102 zbuf[0] != 0x1f || zbuf[1] != 0x8b || zbuf[2] != 0x08) { in __gunzip() 112 strm->next_in = zbuf + 10; in __gunzip() 115 if (zbuf[3] & 0x8) { in __gunzip() 147 len = fill(zbuf, GZIP_IOBUF_SIZE); in __gunzip() 153 strm->next_in = zbuf; in __gunzip() [all …]
|
/openbmc/qemu/migration/ |
H A D | multifd-qpl.c | 43 uint8_t *zbuf; member 200 qpl->zbuf = g_malloc0(size * num); in multifd_qpl_init() 217 g_free(qpl->zbuf); in multifd_qpl_deinit() 394 uint8_t *zbuf = qpl->zbuf; in multifd_qpl_compress_pages_slow_path() local 399 multifd_qpl_prepare_comp_job(job, buf, zbuf, size); in multifd_qpl_compress_pages_slow_path() 401 multifd_qpl_fill_packet(i, p, zbuf, job->total_out); in multifd_qpl_compress_pages_slow_path() 406 zbuf += size; in multifd_qpl_compress_pages_slow_path() 426 uint8_t *zbuf; in multifd_qpl_compress_pages() local 430 zbuf = qpl->zbuf + (size * i); in multifd_qpl_compress_pages() 432 multifd_qpl_prepare_comp_job(hw_job->job, buf, zbuf, size); in multifd_qpl_compress_pages() [all …]
|
/openbmc/linux/lib/zlib_inflate/ |
H A D | infutil.c | 12 const u8 *zbuf = buf; in zlib_inflate_blob() local 27 strm->next_in = zbuf; in zlib_inflate_blob()
|
/openbmc/qemu/ui/ |
H A D | vnc-clipboard.c | 159 g_autofree void *zbuf = NULL; in vnc_clipboard_provide() local 177 zbuf = deflate_buffer(buf, info->types[type].size + 4, &zsize); in vnc_clipboard_provide() 178 if (!zbuf) { in vnc_clipboard_provide() 189 vnc_write(vs, zbuf, zsize); in vnc_clipboard_provide()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_init_ops.h | 45 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len);
|
H A D | bnx2x_main.c | 6616 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len) in bnx2x_gunzip() argument 6621 if ((zbuf[0] != 0x1f) || (zbuf[1] != 0x8b) || (zbuf[2] != Z_DEFLATED)) { in bnx2x_gunzip() 6630 if (zbuf[3] & FNAME) in bnx2x_gunzip() 6631 while ((zbuf[n++] != 0) && (n < len)); in bnx2x_gunzip() 6633 bp->strm->next_in = (typeof(bp->strm->next_in))zbuf + n; in bnx2x_gunzip()
|