函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\842\842_compress.c Create Date:2022-07-27 07:54:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pdate the hashtable entries.* only call this after finding/adding the current template* the dataN fields for the current 8 byte block must be already updated

函数原型:static void update_hashtables(struct sw842_param *p)

返回类型:void

参数:

类型参数名称
struct sw842_param *p
425  pos等于ininstart
426  n8等于pos右移3位的值取模1左移I8_BITS位的值
427  n4等于pos右移2位的值取模1左移I4_BITS位的值
428  n2等于pos右移1位的值取模1左移I2_BITS位的值
430  replace_hash(p, 8, n8, 0)
431  replace_hash(p, 4, n4, 0)
432  replace_hash(p, 4, n4, 1)
433  replace_hash(p, 2, n2, 0)
434  replace_hash(p, 2, n2, 1)
435  replace_hash(p, 2, n2, 2)
436  replace_hash(p, 2, n2, 3)
调用者
名称描述
sw842_compresssw842_compress* Compress the uncompressed buffer of length @ilen at @in to the output buffer*@out, using no more than @olen bytes, using the 842 compression format