Searched refs:workspaceSize (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/include/linux/ |
D | zstd_lib.h | 1475 ZSTDLIB_API ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize); 1476 ZSTDLIB_API ZSTD_CStream* ZSTD_initStaticCStream(void* workspace, size_t workspaceSize); /*< sam… 1478 ZSTDLIB_API ZSTD_DCtx* ZSTD_initStaticDCtx(void* workspace, size_t workspaceSize); 1479 ZSTDLIB_API ZSTD_DStream* ZSTD_initStaticDStream(void* workspace, size_t workspaceSize); /*< sam… 1482 void* workspace, size_t workspaceSize, 1489 void* workspace, size_t workspaceSize,
|
/linux-6.1.9/lib/zstd/compress/ |
D | huf_compress.c | 67 …dst, size_t dstSize, const void* weightTable, size_t wtSize, void* workspace, size_t workspaceSize) in HUF_compressWeights() argument 77 if (workspaceSize < sizeof(HUF_CompressWeightsWksp)) return ERROR(GENERIC); in HUF_compressWeights() 115 void* workspace, size_t workspaceSize) in HUF_writeCTable_wksp() argument 122 if (workspaceSize < sizeof(HUF_WriteCTableWksp)) return ERROR(GENERIC); in HUF_writeCTable_wksp()
|
D | zstd_compress.c | 103 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx() argument 107 if (workspaceSize <= sizeof(ZSTD_CCtx)) return NULL; /* minimum size */ in ZSTD_initStaticCCtx() 109 ZSTD_cwksp_init(&ws, workspace, workspaceSize, ZSTD_cwksp_static_alloc); in ZSTD_initStaticCCtx() 116 cctx->staticSize = workspaceSize; in ZSTD_initStaticCCtx() 3645 { size_t const workspaceSize = in ZSTD_createCDict_advanced_internal() local 3651 void* const workspace = ZSTD_customMalloc(workspaceSize, customMem); in ZSTD_createCDict_advanced_internal() 3660 ZSTD_cwksp_init(&ws, workspace, workspaceSize, ZSTD_cwksp_dynamic_alloc); in ZSTD_createCDict_advanced_internal() 3785 void* workspace, size_t workspaceSize, in ZSTD_initStaticCDict() argument 3804 ZSTD_cwksp_init(&ws, workspace, workspaceSize, ZSTD_cwksp_static_alloc); in ZSTD_initStaticCDict() 3811 (unsigned)workspaceSize, (unsigned)neededSize, (unsigned)(workspaceSize < neededSize)); in ZSTD_initStaticCDict() [all …]
|
/linux-6.1.9/lib/zstd/decompress/ |
D | zstd_decompress.c | 267 ZSTD_DCtx* ZSTD_initStaticDCtx(void *workspace, size_t workspaceSize) in ZSTD_initStaticDCtx() argument 272 if (workspaceSize < sizeof(ZSTD_DCtx)) return NULL; /* minimum size */ in ZSTD_initStaticDCtx() 275 dctx->staticSize = workspaceSize; in ZSTD_initStaticDCtx() 1236 …size_t const workspaceSize = sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy-… in ZSTD_loadDEntropy() local 1241 workspace, workspaceSize); in ZSTD_loadDEntropy() 1245 workspace, workspaceSize); in ZSTD_loadDEntropy() 1444 ZSTD_DStream* ZSTD_initStaticDStream(void *workspace, size_t workspaceSize) in ZSTD_initStaticDStream() argument 1446 return ZSTD_initStaticDCtx(workspace, workspaceSize); in ZSTD_initStaticDStream()
|
/linux-6.1.9/lib/zstd/common/ |
D | huf.h | 192 …UF_CElt* CTable, unsigned maxSymbolValue, unsigned huffLog, void* workspace, size_t workspaceSize);
|