Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/
A Ddecompress_unzstd.c127 const size_t wksp_size = zstd_dctx_workspace_bound(); in decompress_single() local
128 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() local
266 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()
/linux-6.3-rc2/crypto/
A 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-6.3-rc2/kernel/module/
A 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 = 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