Home
last modified time | relevance | path

Searched refs:ldmHSize (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/lib/zstd/compress/
Dzstd_ldm.c130 size_t const ldmHSize = ((size_t)1) << params.hashLog; in ZSTD_ldm_getTableSize() local
134 + ZSTD_cwksp_alloc_size(ldmHSize * sizeof(ldmEntry_t)); in ZSTD_ldm_getTableSize()
504 U32 const ldmHSize = 1U << params->hashLog; in ZSTD_ldm_generateSequences() local
507 ZSTD_ldm_reduceTable(ldmState->hashTable, ldmHSize, correction); in ZSTD_ldm_generateSequences()
Dzstd_compress.c1698 size_t const ldmHSize = ((size_t)1) << params.ldmParams.hashLog; in ZSTD_resetCCtx_internal() local
1699 …zc->ldmState.hashTable = (ldmEntry_t*)ZSTD_cwksp_reserve_aligned(ws, ldmHSize * sizeof(ldmEntry_t)… in ZSTD_resetCCtx_internal()
1700 ZSTD_memset(zc->ldmState.hashTable, 0, ldmHSize * sizeof(ldmEntry_t)); in ZSTD_resetCCtx_internal()