Home
last modified time | relevance | path

Searched refs:tableSize (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/lib/zstd/compress/
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()
83 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp()
96 …ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… 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; /* size = tableSize + 8 (may write beyond tableSize)… in FSE_buildCTable_wksp()
142 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in FSE_buildCTable_wksp()
[all …]
/linux-6.6.21/lib/zstd/common/
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; u++) { in FSE_buildDTable_internal()
[all …]
Dfse.h575 { U32 const tableSize = 1 << tableLog; in FSE_bitCost() local
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) argument
/linux-6.6.21/arch/arc/kernel/
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
940 tableSize = sizeof(unsigned long); in arc_unwind()
[all …]
/linux-6.6.21/lib/zstd/decompress/
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 …]