Searched refs:oend_w (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/lib/zstd/decompress/ |
H A D | zstd_decompress_block.c | 783 * and write up to 16 bytes past oend_w (op >= oend_w is allowed). 792 static void ZSTD_safecopy(BYTE* op, const BYTE* const oend_w, BYTE const* ip, ptrdiff_t length, ZSTD_overlap_e ovtype) { in ZSTD_safecopy() argument 796 assert((ovtype == ZSTD_no_overlap && (diff <= -8 || diff >= 8 || op >= oend_w)) || in ZSTD_safecopy() 813 if (oend <= oend_w) { in ZSTD_safecopy() 818 if (op <= oend_w) { in ZSTD_safecopy() 820 assert(oend > oend_w); in ZSTD_safecopy() 821 ZSTD_wildcopy(op, ip, oend_w - op, ovtype); in ZSTD_safecopy() 822 ip += oend_w - op; in ZSTD_safecopy() 823 op += oend_w in ZSTD_safecopy() 870 BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; ZSTD_execSequenceEnd() local 908 ZSTD_execSequenceEndSplitLitBuffer(BYTE* op, BYTE* const oend, const BYTE* const oend_w, seq_t sequence, const BYTE** litPtr, const BYTE* const litLimit, const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd) ZSTD_execSequenceEndSplitLitBuffer() argument 961 BYTE* const oend_w = oend - WILDCOPY_OVERLENGTH; /* risk : address space underflow on oend=NULL */ ZSTD_execSequence() local 1046 ZSTD_execSequenceSplitLitBuffer(BYTE* op, BYTE* const oend, const BYTE* const oend_w, seq_t sequence, const BYTE** litPtr, const BYTE* const litLimit, const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd) ZSTD_execSequenceSplitLitBuffer() argument [all...] |
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | decompress.c | 886 BYTE *const oend_w = oend - WILDCOPY_OVERLENGTH; in ZSTD_execSequenceLast7() local 895 if (oLitEnd <= oend_w) in ZSTD_execSequenceLast7() 899 if (op < oend_w) { in ZSTD_execSequenceLast7() 900 ZSTD_wildcopy(op, *litPtr, oend_w - op); in ZSTD_execSequenceLast7() 901 *litPtr += oend_w - op; in ZSTD_execSequenceLast7() 902 op = oend_w; in ZSTD_execSequenceLast7() 1013 BYTE *const oend_w = oend - WILDCOPY_OVERLENGTH; in ZSTD_execSequence() local 1022 if (oLitEnd > oend_w) in ZSTD_execSequence() 1050 if (op > oend_w || sequence.matchLength < MINMATCH) { in ZSTD_execSequence() 1058 /* Requirement: op <= oend_w in ZSTD_execSequence() 1269 BYTE *const oend_w = oend - WILDCOPY_OVERLENGTH; ZSTD_execSequenceLong() local [all...] |
Completed in 6 milliseconds