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_putPositionOnHash

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

Type:void

Parameter:

TypeParameterName
const BYTE *p
U32h
void *tableBase
tableType_t consttableType
const BYTE *srcBase
99  Case tableType == byPtr
101  hashTable = tableBase
103  hashTable[h] = p
104  Return
106  Case tableType == byU32
108  hashTable = tableBase
110  hashTable[h] = p - srcBase
111  Return
113  Case tableType == byU16
115  hashTable = tableBase
117  hashTable[h] = p - srcBase
118  Return
Caller
NameDescribe
LZ4_putPosition
LZ4_compress_genericLZ4_compress_generic() :* inlined, to ensure branches are decided at compilation time
LZ4_compress_destSize_generic-******************************* *_destSize() variant