Searched refs:wksp_size (Results 1 – 3 of 3) sorted by relevance
127 const size_t wksp_size = zstd_dctx_workspace_bound(); in decompress_single() local128 void *wksp = large_malloc(wksp_size); in decompress_single()129 zstd_dctx *dctx = zstd_init_dctx(wksp, wksp_size); in decompress_single()176 size_t wksp_size; in __unzstd() local266 wksp_size = zstd_dstream_workspace_bound(header.windowSize); in __unzstd()267 wksp = large_malloc(wksp_size); in __unzstd()268 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 = kmalloc(wksp_size, GFP_KERNEL); in module_zstd_decompress()250 dstream = zstd_init_dstream(header.windowSize, wksp, wksp_size); in module_zstd_decompress()
Completed in 5 milliseconds