Home
last modified time | relevance | path

Searched refs:tagTable (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_lazy.c759 #define ZSTD_ROW_HASH_TAG_OFFSET 16 /* byte offset of hashes in the match state's tagTable from the beginning of a row */
823 * Returns the next index to insert at within a tagTable row, and updates the "head"
841 * Performs prefetching for the hashTable and tagTable at a given row.
843 FORCE_INLINE_TEMPLATE void ZSTD_row_prefetch(U32 const* hashTable, U16 const* tagTable, U32 const relRow, U32 const rowLog) { in ZSTD_row_prefetch() argument
849 PREFETCH_L1(tagTable + relRow); in ZSTD_row_prefetch()
851 PREFETCH_L1(tagTable + relRow + 32); in ZSTD_row_prefetch()
855 assert(ZSTD_isAligned(tagTable + relRow, (size_t)1 << rowLog)); /* prefetched tagRow sits on correct multiple of bytes (32,64,128) */ in ZSTD_row_prefetch()
867 U16 const* const tagTable = ms->tagTable; in ZSTD_row_fillHashCache() local
875 ZSTD_row_prefetch(hashTable, tagTable, ro in ZSTD_row_fillHashCache()
888 ZSTD_row_nextCachedHash(U32* cache, U32 const* hashTable, U16 const* tagTable, BYTE const* base, U32 idx, U32 const hashLog, U32 const rowLog, U32 const mls) ZSTD_row_nextCachedHash() argument
911 U16* const tagTable = ms->tagTable; ZSTD_row_update_internalImpl() local
1128 U16* const tagTable = ms->tagTable; ZSTD_RowFindBestMatch() local
[all...]
H A Dzstd_compress.c1702 ms->tagTable = (U16*)ZSTD_cwksp_reserve_aligned(ws, tagTableSize); in ZSTD_reset_matchState()
1703 if (ms->tagTable) ZSTD_memset(ms->tagTable, 0, tagTableSize); in ZSTD_reset_matchState()
2069 ZSTD_memcpy(cctx->blockState.matchState.tagTable, in ZSTD_resetCCtx_byCopyingCDict()
2070 cdict->matchState.tagTable, in ZSTD_resetCCtx_byCopyingCDict()
4178 ZSTD_memset(ms->tagTable, 0, tagTableSize); in ZSTD_loadDictionaryContent()
H A Dzstd_compress_internal.h215 U16* tagTable; /* For row-based matchFinder: A row-based table containing the hashes and head index. */ member

Completed in 18 milliseconds