函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:释放BCH控制结构

函数原型:void free_bch(struct bch_control *bch)

返回类型:void

参数:

类型参数名称
struct bch_control *bch
1363  如果bch
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 i小于ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(poly_2t)循环kfree(poly_2t[i])
1377  kfree(bch)
调用者
名称描述
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