Home
last modified time | relevance | path

Searched refs:btMask (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_lazy.c30 U32 const btMask = (1 << btLog) - 1; in ZSTD_updateDUBT() local
47 U32* const nextCandidatePtr = bt + 2*(idx&btMask); in ZSTD_updateDUBT()
72 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertDUBT1() local
82 U32* smallerPtr = bt + 2*(curr&btMask); in ZSTD_insertDUBT1()
97 U32* const nextPtr = bt + 2*(matchIndex & btMask); in ZSTD_insertDUBT1()
180 U32 const btMask = (1 << btLog) - 1; in ZSTD_DUBT_findBetterDictMatch() local
181 U32 const btLow = (btMask >= dictHighLimit - dictLowLimit) ? dictLowLimit : dictHighLimit - btMask; in ZSTD_DUBT_findBetterDictMatch()
189 U32* const nextPtr = dictBt + 2*(dictMatchIndex & btMask); in ZSTD_DUBT_findBetterDictMatch()
249 U32 const btMask in ZSTD_DUBT_findBestMatch() local
[all...]
H A Dzstd_opt.c423 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertBt1() local
433 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBt1()
434 U32* smallerPtr = bt + 2*(curr&btMask); in ZSTD_insertBt1()
445 U32 predictedSmall = *(bt + 2*((curr-1)&btMask) + 0); in ZSTD_insertBt1()
446 U32 predictedLarge = *(bt + 2*((curr-1)&btMask) + 1); in ZSTD_insertBt1()
459 U32* const nextPtr = bt + 2*(matchIndex & btMask); in ZSTD_insertBt1()
464 const U32* predictPtr = bt + 2*((matchIndex-1) & btMask); /* written this way, as bt is a roll buffer */ in ZSTD_insertBt1()
577 U32 const btMask= (1U << btLog) - 1; in ZSTD_insertBtAndGetAllMatches() local
583 U32 const btLow = (btMask > in ZSTD_insertBtAndGetAllMatches()
[all...]
/kernel/linux/linux-5.10/lib/zstd/
H A Dzstd_opt.h246 const U32 btMask = (1U << btLog) - 1; in ZSTD_insertBtAndGetAllMatches() local
252 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBtAndGetAllMatches()
254 U32 *smallerPtr = bt + 2 * (curr & btMask); in ZSTD_insertBtAndGetAllMatches()
255 U32 *largerPtr = bt + 2 * (curr & btMask) + 1; in ZSTD_insertBtAndGetAllMatches()
296 U32 *nextPtr = bt + 2 * (matchIndex & btMask); in ZSTD_insertBtAndGetAllMatches()
H A Dcompress.c1568 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertBt1() local
1578 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBt1()
1579 U32 *smallerPtr = bt + 2 * (curr & btMask); in ZSTD_insertBt1()
1589 U32 *const nextPtr = bt + 2 * (matchIndex & btMask); in ZSTD_insertBt1()
1651 U32 const btMask = (1 << btLog) - 1; in ZSTD_insertBtAndFindBestMatch() local
1660 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBtAndFindBestMatch()
1662 U32 *smallerPtr = bt + 2 * (curr & btMask); in ZSTD_insertBtAndFindBestMatch()
1663 U32 *largerPtr = bt + 2 * (curr & btMask) in ZSTD_insertBtAndFindBestMatch()
[all...]

Completed in 13 milliseconds