Searched refs:wksp_size (Results 1 – 3 of 3) sorted by relevance
129 const size_t wksp_size = zstd_dctx_workspace_bound(); in decompress_single() local130 void *wksp = large_malloc(wksp_size); in decompress_single()131 zstd_dctx *dctx = zstd_init_dctx(wksp, wksp_size); in decompress_single()178 size_t wksp_size; in __unzstd() local268 wksp_size = zstd_dstream_workspace_bound(header.windowSize); in __unzstd()269 wksp = large_malloc(wksp_size); in __unzstd()270 dstream = zstd_init_dstream(header.windowSize, wksp, wksp_size); in __unzstd()
36 const size_t wksp_size = zstd_cctx_workspace_bound(¶ms.cParams); in zstd_comp_init() local38 ctx->cwksp = vzalloc(wksp_size); in zstd_comp_init()44 ctx->cctx = zstd_init_cctx(ctx->cwksp, wksp_size); in zstd_comp_init()59 const size_t wksp_size = zstd_dctx_workspace_bound(); in zstd_decomp_init() local61 ctx->dwksp = vzalloc(wksp_size); in zstd_decomp_init()67 ctx->dctx = zstd_init_dctx(ctx->dwksp, wksp_size); in zstd_decomp_init()
214 size_t wksp_size; in module_zstd_decompress() local243 wksp_size = zstd_dstream_workspace_bound(header.windowSize); in module_zstd_decompress()244 wksp = vmalloc(wksp_size); in module_zstd_decompress()250 dstream = zstd_init_dstream(header.windowSize, wksp, wksp_size); in module_zstd_decompress()