Home
last modified time | relevance | path

Searched refs:tableSize (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dfse_compress.c71 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local
72 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp()
75 void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableLog ? tableSize>>1 : 1) ; in FSE_buildCTable_wksp()
77 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp()
81 FSE_FUNCTION_TYPE* const tableSymbol = (FSE_FUNCTION_TYPE*)(cumul + (maxSV1+1)); /* size = tableSize */ in FSE_buildCTable_wksp()
83 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp()
96 ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just to keep scan-build happy */ in FSE_buildCTable_wksp()
111 cumul[maxSV1] = (U16)(tableSize+1); in FSE_buildCTable_wksp()
115 if (highThreshold == tableSize - 1) { in FSE_buildCTable_wksp()
119 BYTE* const spread = tableSymbol + tableSize; /* siz in FSE_buildCTable_wksp()
241 const int tableSize = 1 << tableLog; FSE_writeNCount_generic() local
539 const unsigned tableSize = 1 << nbBits; FSE_buildCTable_raw() local
[all...]
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dfse_decompress.c79 U32 const tableSize = 1 << tableLog; in FSE_buildDTable_internal() local
80 U32 highThreshold = tableSize-1; in FSE_buildDTable_internal()
105 if (highThreshold == tableSize - 1) { in FSE_buildDTable_internal()
106 size_t const tableMask = tableSize-1; in FSE_buildDTable_internal()
107 size_t const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable_internal()
139 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in FSE_buildDTable_internal()
140 for (s = 0; s < (size_t)tableSize; s += unroll) { in FSE_buildDTable_internal()
151 U32 const tableMask = tableSize-1; in FSE_buildDTable_internal()
152 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable_internal()
166 for (u=0; u<tableSize; in FSE_buildDTable_internal()
211 const unsigned tableSize = 1 << nbBits; FSE_buildDTable_raw() local
[all...]
H A Dfse.h575 { U32 const tableSize = 1 << tableLog; in FSE_bitCost()
576 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize); in FSE_bitCost()
579 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold); in FSE_bitCost()
706 #define FSE_TABLESTEP(tableSize) (((tableSize)>>1) + ((tableSize)>>3) + 3)
/kernel/linux/linux-5.10/lib/zstd/
H A Dfse_compress.c94 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local
95 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp()
98 void *const FSCT = ((U32 *)ptr) + 1 /* header */ + (tableLog ? tableSize >> 1 : 1); in FSE_buildCTable_wksp()
100 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp()
101 U32 highThreshold = tableSize - 1; in FSE_buildCTable_wksp()
136 cumul[maxSymbolValue + 1] = tableSize + 1; in FSE_buildCTable_wksp()
160 for (u = 0; u < tableSize; u++) { in FSE_buildCTable_wksp()
162 tableU16[cumul[s]++] = (U16)(tableSize + u); /* TableU16 : sorted by symbol order; gives next state value */ in FSE_buildCTable_wksp()
210 const int tableSize = 1 << tableLog; in FSE_writeNCount_generic() local
225 remaining = tableSize in FSE_writeNCount_generic()
668 const unsigned tableSize = 1 << nbBits; FSE_buildCTable_raw() local
[all...]
H A Dfse_decompress.c95 U32 const tableSize = 1 << tableLog; in FSE_buildDTable_wksp() local
96 U32 highThreshold = tableSize - 1; in FSE_buildDTable_wksp()
130 U32 const tableMask = tableSize - 1; in FSE_buildDTable_wksp()
131 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable_wksp()
149 for (u = 0; u < tableSize; u++) { in FSE_buildDTable_wksp()
153 tableDecode[u].newState = (U16)((nextState << tableDecode[u].nbBits) - tableSize); in FSE_buildDTable_wksp()
186 const unsigned tableSize = 1 << nbBits; in FSE_buildDTable_raw() local
187 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw()
H A Dfse.h573 #define FSE_TABLESTEP(tableSize) ((tableSize >> 1) + (tableSize >> 3) + 3)
/kernel/linux/linux-5.10/arch/arc/kernel/
H A Dunwind.c261 unsigned long tableSize = table->size, hdrSize; in init_unwind_hdr() local
281 if (tableSize & (sizeof(*fde) - 1)) in init_unwind_hdr()
285 tableSize > sizeof(*fde) && tableSize - sizeof(*fde) >= *fde; in init_unwind_hdr()
286 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) { in init_unwind_hdr()
311 if (tableSize || !n) in init_unwind_hdr()
332 for (fde = table->address, tableSize = table->size, n = 0; in init_unwind_hdr()
333 tableSize; in init_unwind_hdr()
334 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) { in init_unwind_hdr()
936 unsigned long tableSize; in arc_unwind() local
[all...]
/kernel/linux/linux-6.6/arch/arc/kernel/
H A Dunwind.c257 unsigned long tableSize = table->size, hdrSize; in init_unwind_hdr() local
277 if (tableSize & (sizeof(*fde) - 1)) in init_unwind_hdr()
281 tableSize > sizeof(*fde) && tableSize - sizeof(*fde) >= *fde; in init_unwind_hdr()
282 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) { in init_unwind_hdr()
307 if (tableSize || !n) in init_unwind_hdr()
328 for (fde = table->address, tableSize = table->size, n = 0; in init_unwind_hdr()
329 tableSize; in init_unwind_hdr()
330 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) { in init_unwind_hdr()
934 unsigned long tableSize; in arc_unwind() local
[all...]
/kernel/linux/linux-6.6/lib/zstd/decompress/
H A Dzstd_decompress_block.c451 U32 const tableSize = 1 << tableLog; in ZSTD_buildFSETable_body() local
455 U32 highThreshold = tableSize - 1; in ZSTD_buildFSETable_body()
482 assert(tableSize <= 512); in ZSTD_buildFSETable_body()
488 if (highThreshold == tableSize - 1) { in ZSTD_buildFSETable_body()
489 size_t const tableMask = tableSize-1; in ZSTD_buildFSETable_body()
490 size_t const step = FSE_TABLESTEP(tableSize); in ZSTD_buildFSETable_body()
522 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in ZSTD_buildFSETable_body()
523 for (s = 0; s < (size_t)tableSize; s += unroll) { in ZSTD_buildFSETable_body()
534 U32 const tableMask = tableSize-1; in ZSTD_buildFSETable_body()
535 U32 const step = FSE_TABLESTEP(tableSize); in ZSTD_buildFSETable_body()
[all...]

Completed in 11 milliseconds