Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Ddecompress_inflate.c44 u8 *zbuf; in __gunzip() local
62 zbuf = buf; in __gunzip()
64 zbuf = malloc(GZIP_IOBUF_SIZE); in __gunzip()
67 if (!zbuf) { in __gunzip()
89 len = fill(zbuf, GZIP_IOBUF_SIZE); in __gunzip()
93 zbuf[0] != 0x1f || zbuf[1] != 0x8b || zbuf[2] != 0x08) { in __gunzip()
103 strm->next_in = zbuf + 10; in __gunzip()
106 if (zbuf[3] & 0x8) { in __gunzip()
134 len = fill(zbuf, GZIP_IOBUF_SIZE); in __gunzip()
140 strm->next_in = zbuf; in __gunzip()
[all …]
/Linux-v4.19/lib/zlib_inflate/
Dinfutil.c12 const u8 *zbuf = buf; in zlib_inflate_blob() local
27 strm->next_in = zbuf; in zlib_inflate_blob()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init_ops.h45 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len);
Dbnx2x_main.c6598 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len) in bnx2x_gunzip() argument
6603 if ((zbuf[0] != 0x1f) || (zbuf[1] != 0x8b) || (zbuf[2] != Z_DEFLATED)) { in bnx2x_gunzip()
6612 if (zbuf[3] & FNAME) in bnx2x_gunzip()
6613 while ((zbuf[n++] != 0) && (n < len)); in bnx2x_gunzip()
6615 bp->strm->next_in = (typeof(bp->strm->next_in))zbuf + n; in bnx2x_gunzip()