Home
last modified time | relevance | path

Searched refs:workspace_size (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/lib/zstd/
Dzstd_decompress_module.c47 zstd_dctx *zstd_init_dctx(void *workspace, size_t workspace_size) in zstd_init_dctx() argument
51 return ZSTD_initStaticDCtx(workspace, workspace_size); in zstd_init_dctx()
69 size_t workspace_size) in zstd_init_dstream() argument
74 return ZSTD_initStaticDStream(workspace, workspace_size); in zstd_init_dstream()
Dzstd_compress_module.c88 zstd_cctx *zstd_init_cctx(void *workspace, size_t workspace_size) in zstd_init_cctx() argument
92 return ZSTD_initStaticCCtx(workspace, workspace_size); in zstd_init_cctx()
111 unsigned long long pledged_src_size, void *workspace, size_t workspace_size) in zstd_init_cstream() argument
118 cstream = ZSTD_initStaticCStream(workspace, workspace_size); in zstd_init_cstream()
/linux-6.1.9/include/linux/
Dzstd.h165 zstd_cctx *zstd_init_cctx(void *workspace, size_t workspace_size);
204 zstd_dctx *zstd_init_dctx(void *workspace, size_t workspace_size);
276 unsigned long long pledged_src_size, void *workspace, size_t workspace_size);
367 size_t workspace_size);
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_cudbg.c144 u32 workspace_size; in cudbg_alloc_compress_buff() local
146 workspace_size = cudbg_get_workspace_size(); in cudbg_alloc_compress_buff()
148 workspace_size); in cudbg_alloc_compress_buff()
154 CUDBG_COMPRESS_BUFF_SIZE - workspace_size; in cudbg_alloc_compress_buff()
/linux-6.1.9/fs/f2fs/
Dcompress.c342 unsigned int workspace_size; in zstd_init_compress_ctx() local
350 workspace_size = zstd_cstream_workspace_bound(&params.cParams); in zstd_init_compress_ctx()
353 workspace_size, GFP_NOFS); in zstd_init_compress_ctx()
357 stream = zstd_init_cstream(&params, 0, workspace, workspace_size); in zstd_init_compress_ctx()
428 unsigned int workspace_size; in zstd_init_decompress_ctx() local
432 workspace_size = zstd_dstream_workspace_bound(max_window_size); in zstd_init_decompress_ctx()
435 workspace_size, GFP_NOFS); in zstd_init_decompress_ctx()
439 stream = zstd_init_dstream(max_window_size, workspace, workspace_size); in zstd_init_decompress_ctx()
/linux-6.1.9/drivers/base/firmware_loader/
Dmain.c313 size_t len, out_size, workspace_size; in fw_decompress_zstd() local
335 workspace_size = zstd_dctx_workspace_bound(); in fw_decompress_zstd()
336 workspace = kvzalloc(workspace_size, GFP_KERNEL); in fw_decompress_zstd()
342 ctx = zstd_init_dctx(workspace, workspace_size); in fw_decompress_zstd()