Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\lz4\lz4_compress.c Create Date:2022-07-28 07:00:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:LZ4_getPositionOnHash

Proto:static const BYTE *LZ4_getPositionOnHash(U32 h, void *tableBase, tableType_t tableType, const BYTE *srcBase)

Type:BYTE

Parameter:

TypeParameterName
U32h
void *tableBase
tableType_ttableType
const BYTE *srcBase
140  If tableType == byPtr Then
141  hashTable = tableBase
143  Return hashTable[h]
146  If tableType == byU32 Then
147  hashTable = tableBase
149  Return hashTable[h] + srcBase
154  hashTable = tableBase
156  Return hashTable[h] + srcBase
Caller
NameDescribe
LZ4_getPosition
LZ4_compress_genericLZ4_compress_generic() :* inlined, to ensure branches are decided at compilation time
LZ4_compress_destSize_generic-******************************* *_destSize() variant