Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c1133 size_t const maxNbSeq = blockSize / divider; in ZSTD_estimateCCtxSize_usingCCtxParams() local
1135 + ZSTD_cwksp_alloc_size(maxNbSeq * sizeof(seqDef)) in ZSTD_estimateCCtxSize_usingCCtxParams()
1136 + 3 * ZSTD_cwksp_alloc_size(maxNbSeq * sizeof(BYTE)); in ZSTD_estimateCCtxSize_usingCCtxParams()
1443 size_t const maxNbSeq = blockSize / divider; in ZSTD_resetCCtx_internal() local
1445 + ZSTD_cwksp_alloc_size(maxNbSeq * sizeof(seqDef)) in ZSTD_resetCCtx_internal()
1446 + 3 * ZSTD_cwksp_alloc_size(maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
1554 zc->seqStore.maxNbSeq = maxNbSeq; in ZSTD_resetCCtx_internal()
1555 zc->seqStore.llCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
1556 zc->seqStore.mlCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
1557 zc->seqStore.ofCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
[all …]
H A Dzstd_compress_internal.h451 assert((size_t)(seqStorePtr->sequences - seqStorePtr->sequencesStart) < seqStorePtr->maxNbSeq); in ZSTD_storeSeq()
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dzstd_internal.h340 size_t maxNbSeq; member
/freebsd/sys/contrib/zstd/lib/common/
H A Dzstd_internal.h307 size_t maxNbSeq; member
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c1470 size_t const maxNbSeq = blockSize / divider; in ZSTD_estimateCCtxSize_usingCCtxParams_internal() local
1472 + ZSTD_cwksp_aligned_alloc_size(maxNbSeq * sizeof(seqDef)) in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1473 + 3 * ZSTD_cwksp_alloc_size(maxNbSeq * sizeof(BYTE)); in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
1860 size_t const maxNbSeq = blockSize / divider; in ZSTD_resetCCtx_internal() local
1961 zc->seqStore.maxNbSeq = maxNbSeq; in ZSTD_resetCCtx_internal()
1962 zc->seqStore.llCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
1963 zc->seqStore.mlCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
1964 zc->seqStore.ofCode = ZSTD_cwksp_reserve_buffer(ws, maxNbSeq * sizeof(BYTE)); in ZSTD_resetCCtx_internal()
1965 … zc->seqStore.sequencesStart = (seqDef*)ZSTD_cwksp_reserve_aligned(ws, maxNbSeq * sizeof(seqDef)); in ZSTD_resetCCtx_internal()
2396 assert(nbSeq <= seqStorePtr->maxNbSeq); in ZSTD_seqToCodes()
[all …]
H A Dzstd_compress_internal.h615 assert((size_t)(seqStorePtr->sequences - seqStorePtr->sequencesStart) < seqStorePtr->maxNbSeq); in ZSTD_storeSeq()