Lines Matching refs:rowLog
852 … ZSTD_row_prefetch(U32 const* hashTable, U16 const* tagTable, U32 const relRow, U32 const rowLog) { in ZSTD_row_prefetch() argument
854 if (rowLog >= 5) { in ZSTD_row_prefetch()
859 if (rowLog == 6) { in ZSTD_row_prefetch()
862 assert(rowLog == 4 || rowLog == 5 || rowLog == 6); in ZSTD_row_prefetch()
864 …assert(ZSTD_isAligned(tagTable + relRow, (size_t)1 << rowLog)); /* prefetched tagRow sits on corre… in ZSTD_row_prefetch()
872 U32 const rowLog, U32 const mls, in ZSTD_row_fillHashCache() argument
883 U32 const row = (hash >> ZSTD_ROW_HASH_TAG_BITS) << rowLog; in ZSTD_row_fillHashCache()
884 ZSTD_row_prefetch(hashTable, tagTable, row, rowLog); in ZSTD_row_fillHashCache()
900 U32 const rowLog, U32 const mls) in ZSTD_row_nextCachedHash() argument
903 U32 const row = (newHash >> ZSTD_ROW_HASH_TAG_BITS) << rowLog; in ZSTD_row_nextCachedHash()
904 ZSTD_row_prefetch(hashTable, tagTable, row, rowLog); in ZSTD_row_nextCachedHash()
916 U32 const mls, U32 const rowLog, in ZSTD_row_update_internalImpl() argument
926 …_row_nextCachedHash(ms->hashCache, hashTable, tagTable, base, updateStartIdx, hashLog, rowLog, mls) in ZSTD_row_update_internalImpl()
928 U32 const relRow = (hash >> ZSTD_ROW_HASH_TAG_BITS) << rowLog; in ZSTD_row_update_internalImpl()
945 U32 const mls, U32 const rowLog, in ZSTD_row_update_internal() argument
963 ZSTD_row_update_internalImpl(ms, idx, bound, mls, rowLog, rowMask, useCache); in ZSTD_row_update_internal()
965 ZSTD_row_fillHashCache(ms, base, rowLog, mls, idx, ip+1); in ZSTD_row_update_internal()
969 ZSTD_row_update_internalImpl(ms, idx, target, mls, rowLog, rowMask, useCache); in ZSTD_row_update_internal()
978 const U32 rowLog = BOUNDED(4, ms->cParams.searchLog, 6); in ZSTD_row_update() local
979 const U32 rowMask = (1u << rowLog) - 1; in ZSTD_row_update()
982 DEBUGLOG(5, "ZSTD_row_update(), rowLog=%u", rowLog); in ZSTD_row_update()
983 ZSTD_row_update_internal(ms, ip, mls, rowLog, rowMask, 0 /* dont use cache */); in ZSTD_row_update()
1134 const U32 rowLog) in ZSTD_RowFindBestMatch() argument
1152 const U32 rowEntries = (1U << rowLog); in ZSTD_RowFindBestMatch()
1154 …const U32 cappedSearchLog = MIN(cParams->searchLog, rowLog); /* nb of searches is capped at nb ent… in ZSTD_RowFindBestMatch()
1174 ddsExtraAttempts = cParams->searchLog > rowLog ? 1U << (cParams->searchLog - rowLog) : 0; in ZSTD_RowFindBestMatch()
1182 U32 const dmsRelRow = (dmsHash >> ZSTD_ROW_HASH_TAG_BITS) << rowLog; in ZSTD_RowFindBestMatch()
1186 ZSTD_row_prefetch(dmsHashTable, dmsTagTable, dmsRelRow, rowLog); in ZSTD_RowFindBestMatch()
1190 ZSTD_row_update_internal(ms, ip, mls, rowLog, rowMask, 1 /* useCache */); in ZSTD_RowFindBestMatch()
1192 …t hash = ZSTD_row_nextCachedHash(hashCache, hashTable, tagTable, base, curr, hashLog, rowLog, mls); in ZSTD_RowFindBestMatch()
1193 U32 const relRow = (hash >> ZSTD_ROW_HASH_TAG_BITS) << rowLog; in ZSTD_RowFindBestMatch()
1362 #define GEN_ZSTD_ROW_VTABLE(dictMode, mls, rowLog) \ argument
1363 static size_t ZSTD_RowFindBestMatch_##dictMode##_##mls##_##rowLog( \
1369 assert(MAX(4, MIN(6, ms->cParams.searchLog)) == rowLog); \
1370 return ZSTD_RowFindBestMatch(ms, ip, iLimit, offsetPtr, mls, ZSTD_##dictMode, rowLog); \
1372 static const ZSTD_LazyVTable ZSTD_RowVTable_##dictMode##_##mls##_##rowLog = { \
1373 ZSTD_RowFindBestMatch_##dictMode##_##mls##_##rowLog \
1462 U32 const rowLog = MAX(4, MIN(6, ms->cParams.searchLog)); in ZSTD_selectLazyVTable() local
1469 return rowVTables[dictMode][mls - 4][rowLog - 4]; in ZSTD_selectLazyVTable()
1527 const U32 rowLog = MAX(4, MIN(6, ms->cParams.searchLog)); in ZSTD_compressBlock_lazy_generic() local
1528 ZSTD_row_fillHashCache(ms, base, rowLog, in ZSTD_compressBlock_lazy_generic()
1884 const U32 rowLog = ms->cParams.searchLog < 5 ? 4 : 5; in ZSTD_compressBlock_lazy_extDict_generic() local
1894 ZSTD_row_fillHashCache(ms, base, rowLog, in ZSTD_compressBlock_lazy_extDict_generic()