Searched refs:bucketOffsets (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_ldm.c | 113 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 D | zstd_compress_internal.h | 170 BYTE* bucketOffsets; /* Next position in bucket to insert entry */ member
|
H A D | zstd_compress.c | 1548 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 D | zstdmt_compress.c | 508 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 D | zstd_ldm.c | 184 BYTE* const pOffset = ldmState->bucketOffsets + hash; in ZSTD_ldm_insertEntry()
|
H A D | zstd_compress_internal.h | 263 BYTE* bucketOffsets; /* Next position in bucket to insert entry */ member
|
H A D | zstd_compress.c | 1955 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()
|