Home
last modified time | relevance | path

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

/linux-4.4.14/lib/
Ddecompress_inflate.c43 u8 *zbuf; in __gunzip() local
61 zbuf = buf; in __gunzip()
63 zbuf = malloc(GZIP_IOBUF_SIZE); in __gunzip()
66 if (!zbuf) { in __gunzip()
88 len = fill(zbuf, GZIP_IOBUF_SIZE); in __gunzip()
92 zbuf[0] != 0x1f || zbuf[1] != 0x8b || zbuf[2] != 0x08) { in __gunzip()
102 strm->next_in = zbuf + 10; in __gunzip()
105 if (zbuf[3] & 0x8) { in __gunzip()
133 len = fill(zbuf, GZIP_IOBUF_SIZE); in __gunzip()
139 strm->next_in = zbuf; in __gunzip()
[all …]
/linux-4.4.14/lib/zlib_inflate/
Dinfutil.c12 const u8 *zbuf = buf; in zlib_inflate_blob() local
27 strm->next_in = zbuf; in zlib_inflate_blob()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init_ops.h45 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len);
Dbnx2x_main.c6596 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len) in bnx2x_gunzip() argument
6601 if ((zbuf[0] != 0x1f) || (zbuf[1] != 0x8b) || (zbuf[2] != Z_DEFLATED)) { in bnx2x_gunzip()
6610 if (zbuf[3] & FNAME) in bnx2x_gunzip()
6611 while ((zbuf[n++] != 0) && (n < len)); in bnx2x_gunzip()
6613 bp->strm->next_in = (typeof(bp->strm->next_in))zbuf + n; in bnx2x_gunzip()