Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_ldm.c157 size_t const ldmHSize = ((size_t)1) << params.hashLog; in ZSTD_ldm_getTableSize() local
161 + ZSTD_cwksp_alloc_size(ldmHSize * sizeof(ldmEntry_t)); in ZSTD_ldm_getTableSize()
539 U32 const ldmHSize = 1U << params->hashLog; in ZSTD_ldm_generateSequences() local
542 ZSTD_ldm_reduceTable(ldmState->hashTable, ldmHSize, correction); in ZSTD_ldm_generateSequences()
Dzstd_compress.c1900 size_t const ldmHSize = ((size_t)1) << params->ldmParams.hashLog; in ZSTD_resetCCtx_internal() local
1901 …zc->ldmState.hashTable = (ldmEntry_t*)ZSTD_cwksp_reserve_aligned(ws, ldmHSize * sizeof(ldmEntry_t)… in ZSTD_resetCCtx_internal()
1902 ZSTD_memset(zc->ldmState.hashTable, 0, ldmHSize * sizeof(ldmEntry_t)); in ZSTD_resetCCtx_internal()