Home
last modified time | relevance | path

Searched refs:zbuf (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/lib/
H A Ddecompress_inflate.c48 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()
153 strm->next_in = zbuf; in __gunzip()
183 *pos = strm->next_in - zbuf+8; in __gunzip()
[all …]
/openbmc/linux/lib/zlib_inflate/
H A Dinfutil.c12 const u8 *zbuf = buf; in zlib_inflate_blob() local
27 strm->next_in = zbuf; in zlib_inflate_blob()
/openbmc/qemu/ui/
H A Dvnc-clipboard.c159 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 Dbnx2x_init_ops.h45 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len);
H A Dbnx2x_main.c6616 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()