Home
last modified time | relevance | path

Searched refs:ZSTD_CCtxWorkspaceBound (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/crypto/
H A Dzstd.c36 const size_t wksp_size = ZSTD_CCtxWorkspaceBound(params.cParams); in zstd_comp_init()
/kernel/linux/linux-5.10/include/linux/
H A Dzstd.h212 * ZSTD_CCtxWorkspaceBound() - amount of memory needed to initialize a ZSTD_CCtx
216 * ZSTD_CCtxWorkspaceBound() for each set of parameters and use the maximum
222 size_t ZSTD_CCtxWorkspaceBound(ZSTD_compressionParameters cParams);
235 * @workspaceSize: The size of workspace. Use ZSTD_CCtxWorkspaceBound() to
245 * least as large as ZSTD_CCtxWorkspaceBound(params.cParams).
309 * least as large as ZSTD_CCtxWorkspaceBound(params.cParams).
389 * least as large as ZSTD_CCtxWorkspaceBound(cParams) where
/kernel/linux/linux-5.10/lib/zstd/
H A Dcompress.c90 size_t ZSTD_CCtxWorkspaceBound(ZSTD_compressionParameters cParams) in ZSTD_CCtxWorkspaceBound() function
2845 size_t ZSTD_CDictWorkspaceBound(ZSTD_compressionParameters cParams) { return ZSTD_CCtxWorkspaceBound(cParams) + ZSTD_ALIGN(sizeof(ZSTD_CDict)); } in ZSTD_CDictWorkspaceBound()
2979 return ZSTD_CCtxWorkspaceBound(cParams) + ZSTD_ALIGN(sizeof(ZSTD_CStream)) + ZSTD_ALIGN(inBuffSize) + ZSTD_ALIGN(outBuffSize); in ZSTD_CStreamWorkspaceBound()
3449 EXPORT_SYMBOL(ZSTD_CCtxWorkspaceBound); variable

Completed in 17 milliseconds