Home
last modified time | relevance | path

Searched refs:pending_buf (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/yocto/poky/meta/recipes-core/zlib/zlib/
H A DCVE-2018-25032.patch44 - /* We overlay pending_buf and d_buf+l_buf. This works since the average
56 - s->pending_buf = (uchf *) overlay;
58 + /* We overlay pending_buf and sym_buf. This works since the average size
67 + * sym_buf starts one-fourth of the way into pending_buf. So there are
68 + * three bytes in sym_buf for every four bytes in pending_buf. Each symbol
72 + * 31 bits are written to pending_buf. The closest the written pending_buf
76 + * 8*n bits into pending_buf. (Note that the symbol buffer fills when n-1
97 + s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, 4);
101 s->pending_buf == Z_NULL) {
107 - s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;
[all …]
/OK3568_Linux_fs/u-boot/lib/zlib/
H A Ddeflate.c290 s->pending_buf = (uchf *) overlay;
294 s->pending_buf == Z_NULL) {
301 s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize;
369 s->pending_out = s->pending_buf;
577 strm->state->pending_out = strm->state->pending_buf;
644 strm->adler = crc32(strm->adler, s->pending_buf,
687 strm->adler = crc32(strm->adler, s->pending_buf + beg,
698 strm->adler = crc32(strm->adler, s->pending_buf + beg,
716 strm->adler = crc32(strm->adler, s->pending_buf + beg,
729 strm->adler = crc32(strm->adler, s->pending_buf + beg,
[all …]
H A Ddeflate.h97 Bytef *pending_buf; /* output still pending */ member
275 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);}
/OK3568_Linux_fs/kernel/lib/zlib_deflate/
H A Ddefutil.h76 Byte *pending_buf; /* output still pending */ member
260 #define put_byte(s, c) {s->pending_buf[s->pending++] = (c);}
438 s->pending_out = s->pending_buf; in flush_pending()
H A Ddeflate.c268 s->pending_buf = (uch *) overlay; in zlib_deflateInit2()
272 s->l_buf = s->pending_buf + (1+sizeof(ush))*s->lit_bufsize; in zlib_deflateInit2()
297 s->pending_out = s->pending_buf; in zlib_deflateReset()
H A Ddeftree.c1056 memcpy(&s->pending_buf[s->pending], buf, len);
/OK3568_Linux_fs/kernel/lib/zlib_dfltcc/
H A Ddfltcc_deflate.c92 memmove(state->pending_buf, state->pending_out, state->pending); in send_eobs()
93 state->pending_out = state->pending_buf; in send_eobs()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c1455 ring->pending_buf += num; in hns3_tx_doorbell()
1464 if (!ring->pending_buf) in hns3_tx_doorbell()
1467 writel(ring->pending_buf, in hns3_tx_doorbell()
1469 ring->pending_buf = 0; in hns3_tx_doorbell()
1922 tx_ring->stats.sw_err_cnt, tx_ring->pending_buf); in hns3_get_tx_timeo_queue_info()
2946 ring->pending_buf = 1; in hns3_alloc_skb()
3026 ring->pending_buf++; in hns3_add_frag()
3235 unused_count -= ring->pending_buf; in hns3_clean_rx_ring()
3255 unused_count += ring->pending_buf; in hns3_clean_rx_ring()
3257 ring->pending_buf = 0; in hns3_clean_rx_ring()
[all …]
H A Dhns3_enet.h410 int pending_buf; member