Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\lz4\lz4defs.h Create Date:2022-07-28 06:17:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:LZ4_count

Proto:static inline __attribute__((__always_inline__)) unsigned int LZ4_count(const BYTE *pIn, const BYTE *pMatch, const BYTE *pInLimit)

Type:unsigned int

Parameter:

TypeParameterName
const BYTE *pIn
const BYTE *pMatch
const BYTE *pInLimit
187  pStart = pIn
189  When Value is more likely to compile time(pIn < pInLimit - (STEPSIZE - 1)) cycle
190  diff = LZ4_read_ARCH(pMatch) ^ LZ4_read_ARCH(pIn)
192  If Not diff Then
193  pIn += STEPSIZE
194  pMatch += STEPSIZE
195  Continue
198  pIn += LZ4_NbCommonBytes(diff)
200  Return pIn - pStart
211  If pIn < pInLimit - 1 && -************************************* Reading and writing into memory == -************************************* Reading and writing into memory Then
213  pIn += 2
214  pMatch += 2
217  If pIn < pInLimit && pMatch == pIn Then pIn++
220  Return pIn - pStart
Caller
NameDescribe
LZ4_compress_genericLZ4_compress_generic() :* inlined, to ensure branches are decided at compilation time
LZ4_compress_destSize_generic-******************************* *_destSize() variant
LZ4HC_InsertAndFindBestMatch
LZ4HC_InsertAndGetWiderMatch