Home
last modified time | relevance | path

Searched refs:ostart (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/lib/zstd/compress/
Dzstd_compress_literals.c18 BYTE* const ostart = (BYTE*)dst; in ZSTD_noCompressLiterals() local
26 ostart[0] = (BYTE)((U32)set_basic + (srcSize<<3)); in ZSTD_noCompressLiterals()
29 MEM_writeLE16(ostart, (U16)((U32)set_basic + (1<<2) + (srcSize<<4))); in ZSTD_noCompressLiterals()
32 MEM_writeLE32(ostart, (U32)((U32)set_basic + (3<<2) + (srcSize<<4))); in ZSTD_noCompressLiterals()
38 ZSTD_memcpy(ostart + flSize, src, srcSize); in ZSTD_noCompressLiterals()
45 BYTE* const ostart = (BYTE*)dst; in ZSTD_compressRleLiteralsBlock() local
53 ostart[0] = (BYTE)((U32)set_rle + (srcSize<<3)); in ZSTD_compressRleLiteralsBlock()
56 MEM_writeLE16(ostart, (U16)((U32)set_rle + (1<<2) + (srcSize<<4))); in ZSTD_compressRleLiteralsBlock()
59 MEM_writeLE32(ostart, (U32)((U32)set_rle + (3<<2) + (srcSize<<4))); in ZSTD_compressRleLiteralsBlock()
65 ostart[flSize] = *(const BYTE*)src; in ZSTD_compressRleLiteralsBlock()
[all …]
Dzstd_compress_superblock.c49 BYTE* const ostart = (BYTE*)dst; in ZSTD_compressSubBlock_literal() local
50 BYTE* const oend = ostart + dstSize; in ZSTD_compressSubBlock_literal()
51 BYTE* op = ostart + lhSize; in ZSTD_compressSubBlock_literal()
107 MEM_writeLE24(ostart, lhc); in ZSTD_compressSubBlock_literal()
112 MEM_writeLE32(ostart, lhc); in ZSTD_compressSubBlock_literal()
117 MEM_writeLE32(ostart, lhc); in ZSTD_compressSubBlock_literal()
118 ostart[4] = (BYTE)(cLitSize >> 10); in ZSTD_compressSubBlock_literal()
125 DEBUGLOG(5, "Compressed literals: %u -> %u", (U32)litSize, (U32)(op-ostart)); in ZSTD_compressSubBlock_literal()
126 return op-ostart; in ZSTD_compressSubBlock_literal()
168 BYTE* const ostart = (BYTE*)dst; in ZSTD_compressSubBlock_sequences() local
[all …]
Dhuf_compress.c91 BYTE* const ostart = (BYTE*) dst; in HUF_compressWeights() local
92 BYTE* op = ostart; in HUF_compressWeights()
93 BYTE* const oend = ostart + dstSize; in HUF_compressWeights()
125 return (size_t)(op-ostart); in HUF_compressWeights()
970 BYTE* const ostart = (BYTE*)dst; in HUF_compress1X_usingCTable_internal_body() local
971 BYTE* const oend = ostart + dstSize; in HUF_compress1X_usingCTable_internal_body()
972 BYTE* op = ostart; in HUF_compress1X_usingCTable_internal_body()
1087 BYTE* const ostart = (BYTE*) dst; in HUF_compress4X_usingCTable_internal() local
1088 BYTE* const oend = ostart + dstSize; in HUF_compress4X_usingCTable_internal()
1089 BYTE* op = ostart; in HUF_compress4X_usingCTable_internal()
[all …]
Dfse_compress.c237 BYTE* const ostart = (BYTE*) header; in FSE_writeNCount_generic() local
238 BYTE* out = ostart; in FSE_writeNCount_generic()
239 BYTE* const oend = ostart + headerBufferSize; in FSE_writeNCount_generic()
324 return (out-ostart); in FSE_writeNCount_generic()
Dzstd_compress.c2365 BYTE* const ostart = dst; in ZSTD_buildSequencesStatistics() local
2367 BYTE* op = ostart; in ZSTD_buildSequencesStatistics()
2473 stats.size = (size_t)(op-ostart); in ZSTD_buildSequencesStatistics()
2502 BYTE* const ostart = (BYTE*)dst; in ZSTD_entropyCompressSeqStore_internal() local
2503 BYTE* const oend = ostart + dstCapacity; in ZSTD_entropyCompressSeqStore_internal()
2504 BYTE* op = ostart; in ZSTD_entropyCompressSeqStore_internal()
2552 return (size_t)(op - ostart); in ZSTD_entropyCompressSeqStore_internal()
2596 DEBUGLOG(5, "compressed block size : %u", (unsigned)(op - ostart)); in ZSTD_entropyCompressSeqStore_internal()
2597 return (size_t)(op - ostart); in ZSTD_entropyCompressSeqStore_internal()
3091 BYTE* const ostart = fseMetadata->fseTablesBuffer; in ZSTD_buildBlockEntropyStats_sequences() local
[all …]
/linux-6.12.1/lib/842/
D842_decompress.c55 u8 *ostart; member
165 u64 index, offset, total = round_down(p->out - p->ostart, 8); in __do_index()
203 (unsigned long)beN_to_cpu(&p->ostart[offset], size)); in __do_index()
205 memcpy(p->out, &p->ostart[offset], size); in __do_index()
289 p.ostart = out; in sw842_decompress()
/linux-6.12.1/lib/zstd/common/
Dfse_decompress.c236 BYTE* const ostart = (BYTE*) dst; in FSE_decompress_usingDTable_generic() local
237 BYTE* op = ostart; in FSE_decompress_usingDTable_generic()
290 return op-ostart; in FSE_decompress_usingDTable_generic()
/linux-6.12.1/lib/zstd/decompress/
Dhuf_decompress.c558 BYTE* const ostart = (BYTE*) dst; in HUF_decompress4X1_usingDTable_internal_body() local
559 BYTE* const oend = ostart + dstSize; in HUF_decompress4X1_usingDTable_internal_body()
578 BYTE* const opStart2 = ostart + segmentSize; in HUF_decompress4X1_usingDTable_internal_body()
581 BYTE* op1 = ostart; in HUF_decompress4X1_usingDTable_internal_body()
1229 { BYTE* const ostart = (BYTE*) dst; in HUF_decompress1X2_usingDTable_internal_body() local
1230 BYTE* const oend = ostart + dstSize; in HUF_decompress1X2_usingDTable_internal_body()
1234 HUF_decodeStreamX2(ostart, &bitD, oend, dt, dtd.tableLog); in HUF_decompress1X2_usingDTable_internal_body()
1252 BYTE* const ostart = (BYTE*) dst; in HUF_decompress4X2_usingDTable_internal_body() local
1253 BYTE* const oend = ostart + dstSize; in HUF_decompress4X2_usingDTable_internal_body()
1272 BYTE* const opStart2 = ostart + segmentSize; in HUF_decompress4X2_usingDTable_internal_body()
[all …]
Dzstd_decompress_block.c1330 BYTE* const ostart = (BYTE*)dst; local
1331 BYTE* const oend = ostart + maxDstSize;
1332 BYTE* op = ostart;
1534 return op-ostart;
1547 BYTE* const ostart = (BYTE*)dst; local
1548 …BYTE* const oend = dctx->litBufferLocation == ZSTD_not_in_dst ? ostart + maxDstSize : dctx->litBuf…
1549 BYTE* op = ostart;
1623 return op-ostart;
1676 BYTE* const ostart = (BYTE*)dst; local
1677 … BYTE* const oend = dctx->litBufferLocation == ZSTD_in_dst ? dctx->litBuffer : ostart + maxDstSize;
[all …]
Dzstd_decompress.c837 BYTE* const ostart = (BYTE*)dst; in ZSTD_decompressFrame() local
838 BYTE* const oend = dstCapacity != 0 ? ostart + dstCapacity : ostart; in ZSTD_decompressFrame()
839 BYTE* op = ostart; in ZSTD_decompressFrame()
917 RETURN_ERROR_IF((U64)(op-ostart) != dctx->fParams.frameContentSize, in ZSTD_decompressFrame()
931 ZSTD_DCtx_trace_end(dctx, (U64)(op-ostart), (U64)(ip-istart), /* streaming */ 0); in ZSTD_decompressFrame()
935 return (size_t)(op-ostart); in ZSTD_decompressFrame()
1885 char* const ostart = output->pos != 0 ? dst + output->pos : dst; in ZSTD_decompressStream() local
1887 char* op = ostart; in ZSTD_decompressStream()
2102 if ((ip==istart) && (op==ostart)) { /* no forward progress */ in ZSTD_decompressStream()
/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_tx.c384 unsigned ostart = start; in qib_chg_pioavailkernel() local
439 dd->f_txchk_change(dd, ostart, len, avail, rcd); in qib_chg_pioavailkernel()
/linux-6.12.1/kernel/
Dresource.c540 resource_size_t ostart, oend; in __region_intersects() local
571 ostart = max(res.start, p->start); in __region_intersects()
584 if (dp->start > ostart) in __region_intersects()
591 ostart = max(ostart, dp->end + 1); in __region_intersects()