Searched refs:neededSpace (Results 1 – 4 of 4) sorted by relevance
| /src/sys/contrib/zstd/lib/decompress/ |
| H A D | zstd_ddict.c | 193 size_t const neededSpace = sizeof(ZSTD_DDict) in ZSTD_initStaticDDict() local 199 if (sBufferSize < neededSpace) return NULL; in ZSTD_initStaticDDict()
|
| /src/sys/contrib/openzfs/module/zstd/lib/decompress/ |
| H A D | zstd_ddict.c | 194 size_t const neededSpace = sizeof(ZSTD_DDict) in ZSTD_initStaticDDict() local 200 if (sBufferSize < neededSpace) return NULL; in ZSTD_initStaticDDict()
|
| /src/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress.c | 1489 size_t const neededSpace = in ZSTD_estimateCCtxSize_usingCCtxParams_internal() local 1499 DEBUGLOG(5, "estimate workspace : %u", (U32)neededSpace); in ZSTD_estimateCCtxSize_usingCCtxParams_internal() 1500 return neededSpace; in ZSTD_estimateCCtxSize_usingCCtxParams_internal() 1874 size_t const neededSpace = in ZSTD_resetCCtx_internal() local 1880 FORWARD_IF_ERROR(neededSpace, "cctx size estimate failed!"); in ZSTD_resetCCtx_internal() 1885 int const workspaceTooSmall = ZSTD_cwksp_sizeof(ws) < neededSpace; in ZSTD_resetCCtx_internal() 1886 int const workspaceWasteful = ZSTD_cwksp_check_wasteful(ws, neededSpace); in ZSTD_resetCCtx_internal() 1888 DEBUGLOG(4, "Need %zu B workspace", neededSpace); in ZSTD_resetCCtx_internal() 1894 neededSpace >> 10); in ZSTD_resetCCtx_internal() 1901 FORWARD_IF_ERROR(ZSTD_cwksp_create(ws, neededSpace, zc->customMem), ""); in ZSTD_resetCCtx_internal() [all …]
|
| /src/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress.c | 1740 size_t const neededSpace = in ZSTD_estimateCCtxSize_usingCCtxParams_internal() local 1751 DEBUGLOG(5, "estimate workspace : %u", (U32)neededSpace); in ZSTD_estimateCCtxSize_usingCCtxParams_internal() 1752 return neededSpace; in ZSTD_estimateCCtxSize_usingCCtxParams_internal() 2148 size_t const neededSpace = in ZSTD_resetCCtx_internal() local 2153 FORWARD_IF_ERROR(neededSpace, "cctx size estimate failed!"); in ZSTD_resetCCtx_internal() 2158 int const workspaceTooSmall = ZSTD_cwksp_sizeof(ws) < neededSpace; in ZSTD_resetCCtx_internal() 2159 int const workspaceWasteful = ZSTD_cwksp_check_wasteful(ws, neededSpace); in ZSTD_resetCCtx_internal() 2161 DEBUGLOG(4, "Need %zu B workspace", neededSpace); in ZSTD_resetCCtx_internal() 2167 neededSpace >> 10); in ZSTD_resetCCtx_internal() 2174 FORWARD_IF_ERROR(ZSTD_cwksp_create(ws, neededSpace, zc->customMem), ""); in ZSTD_resetCCtx_internal() [all …]
|