Lines Matching refs:inbuf

189     ZSTD_inBuffer inbuf;  in zstd_stateful_compress_block()  local
195 inbuf.src = in; in zstd_stateful_compress_block()
196 inbuf.size = ilen; in zstd_stateful_compress_block()
197 inbuf.pos = 0; in zstd_stateful_compress_block()
221 ret = ZSTD_compressStream2(state->compressor, &outbuf, &inbuf, ZSTD_e_continue); in zstd_stateful_compress_block()
225 } while (inbuf.pos < inbuf.size); in zstd_stateful_compress_block()
228 if (inbuf.pos < inbuf.size) in zstd_stateful_compress_block()
248 ZSTD_inBuffer inbuf; in zstd_stateful_expand_block() local
254 inbuf.src = in; in zstd_stateful_expand_block()
255 inbuf.size = ilen; in zstd_stateful_expand_block()
256 inbuf.pos = 0; in zstd_stateful_expand_block()
268 ret = ZSTD_decompressStream(state->decompressor, &outbuf, &inbuf); in zstd_stateful_expand_block()
272 } while (ret == 0 && inbuf.pos < inbuf.size); in zstd_stateful_expand_block()
275 if (inbuf.pos < inbuf.size) in zstd_stateful_expand_block()
458 ZSTD_inBuffer inbuf; /* has const src */ member
596 ctx->decompress.inbuf.src = ctx->decompress.buffer; in bio_zstd_read()
597 ctx->decompress.inbuf.size = 0; in bio_zstd_read()
598 ctx->decompress.inbuf.pos = 0; in bio_zstd_read()
608 zret = ZSTD_decompressStream(ctx->decompress.state, &outBuf, &ctx->decompress.inbuf); in bio_zstd_read()
617 } while (ctx->decompress.inbuf.pos < ctx->decompress.inbuf.size); in bio_zstd_read()
630 ctx->decompress.inbuf.size = ret; in bio_zstd_read()
631 ctx->decompress.inbuf.pos = 0; in bio_zstd_read()
789 if (ctx->decompress.inbuf.src == ctx->decompress.buffer) in bio_zstd_ctrl()
790 ctx->decompress.inbuf.src = tmp; in bio_zstd_ctrl()
822 if (ctx->decompress.inbuf.pos < ctx->decompress.inbuf.size) in bio_zstd_ctrl()