Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\842\842_compress.c Create Date:2022-07-28 06:57:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:add_repeat_template

Proto:static int add_repeat_template(struct sw842_param *p, u8 r)

Type:int

Parameter:

TypeParameterName
struct sw842_param *p
u8r
310  If Not r || --r > REPEAT_BITS_MAX Then Return -EINVAL
313  ret = add_bits(p, special templates , additional bits of each op param )
314  If ret Then Return ret
317  ret = add_bits(p, r, REPEAT_BITS)
318  If ret Then Return ret
321  If sw842_template_counts Then atomic_inc( & template_repeat_count)
324  Return 0
Caller
NameDescribe
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