Home
last modified time | relevance | path

Searched refs:wksp_size (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/lib/
Ddecompress_unzstd.c129 const size_t wksp_size = zstd_dctx_workspace_bound(); in decompress_single() local
130 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() local
268 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()
/Linux-v6.6/crypto/
Dzstd.c36 const size_t wksp_size = zstd_cctx_workspace_bound(&params.cParams); in zstd_comp_init() local
38 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() local
61 ctx->dwksp = vzalloc(wksp_size); in zstd_decomp_init()
67 ctx->dctx = zstd_init_dctx(ctx->dwksp, wksp_size); in zstd_decomp_init()
/Linux-v6.6/kernel/module/
Ddecompress.c214 size_t wksp_size; in module_zstd_decompress() local
243 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()