Home
last modified time | relevance | path

Searched refs:bucketOffsets (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_ldm.c113 BYTE* const bucketOffsets = ldmState->bucketOffsets; in ZSTD_ldm_insertEntry() local
114 *(ZSTD_ldm_getBucket(ldmState, hash, ldmParams) + bucketOffsets[hash]) = entry; in ZSTD_ldm_insertEntry()
115 bucketOffsets[hash]++; in ZSTD_ldm_insertEntry()
116 bucketOffsets[hash] &= ((U32)1 << ldmParams.bucketSizeLog) - 1; in ZSTD_ldm_insertEntry()
H A Dzstd_compress_internal.h170 BYTE* bucketOffsets; /* Next position in bucket to insert entry */ member
H A Dzstd_compress.c1548 zc->ldmState.bucketOffsets = ZSTD_cwksp_reserve_buffer(ws, ldmBucketSize); in ZSTD_resetCCtx_internal()
1549 memset(zc->ldmState.bucketOffsets, 0, ldmBucketSize); in ZSTD_resetCCtx_internal()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c508 if (serialState->ldmState.bucketOffsets == NULL || prevBucketLog < bucketLog) { in ZSTDMT_serialState_reset()
509 ZSTD_customFree(serialState->ldmState.bucketOffsets, cMem); in ZSTDMT_serialState_reset()
510 serialState->ldmState.bucketOffsets = (BYTE*)ZSTD_customMalloc(numBuckets, cMem); in ZSTDMT_serialState_reset()
512 if (!serialState->ldmState.hashTable || !serialState->ldmState.bucketOffsets) in ZSTDMT_serialState_reset()
516 ZSTD_memset(serialState->ldmState.bucketOffsets, 0, numBuckets); in ZSTDMT_serialState_reset()
559 ZSTD_customFree(serialState->ldmState.bucketOffsets, cMem); in ZSTDMT_serialState_free()
H A Dzstd_ldm.c184 BYTE* const pOffset = ldmState->bucketOffsets + hash; in ZSTD_ldm_insertEntry()
H A Dzstd_compress_internal.h263 BYTE* bucketOffsets; /* Next position in bucket to insert entry */ member
H A Dzstd_compress.c1955 zc->ldmState.bucketOffsets = ZSTD_cwksp_reserve_buffer(ws, numBuckets); in ZSTD_resetCCtx_internal()
1956 ZSTD_memset(zc->ldmState.bucketOffsets, 0, numBuckets); in ZSTD_resetCCtx_internal()