Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_bch - free the BCH control structure*@bch: BCH control structure to release

Proto:void free_bch(struct bch_control *bch)

Type:void

Parameter:

TypeParameterName
struct bch_control *bch
1363  If bch Then
1364  kfree(private: )
1365  kfree(a_log_tab)
1366  kfree(mod8_tab)
1367  kfree(ecc_buf)
1368  kfree(ecc_buf2)
1369  kfree(xi_tab)
1370  kfree(syn)
1371  kfree(cache)
1372  kfree(elp)
1374  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(poly_2t) cycle kfree(poly_2t[i])
1377  kfree(bch)
Caller
NameDescribe
init_bch_bch - initialize a BCH encoder/decoder*@m: Galois field order, should be in the range 5-15*@t: maximum error correction capability, in bits*@prim_poly: user-provided primitive polynomial (or 0 to use default)* Returns:* a newly allocated BCH control