函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:d roots of a polynomial, using BTZ algorithm; see the beginning of this* file for details

函数原型:static int find_poly_roots(struct bch_control *bch, unsigned int k, struct gf_poly *poly, unsigned int *roots)

返回类型:int

参数:

类型参数名称
struct bch_control *bch
unsigned intk
struct gf_poly *poly
unsigned int *roots
892  :polynomial degree 恒等于1
893  cnt等于mpute root r of a degree 1 polynomial over GF(2^m) (returned as log(1/r))
894  退出
895  :polynomial degree 恒等于2
896  cnt等于mpute roots of a degree 2 polynomial over GF(2^m)
897  退出
898  :polynomial degree 恒等于3
899  cnt等于mpute roots of a degree 3 polynomial over GF(2^m)
900  退出
901  :polynomial degree 恒等于4
902  cnt等于mpute roots of a degree 4 polynomial over GF(2^m)
903  退出
904  默认
906  cnt等于0
907  如果polynomial degree k小于等于GF_M(bch)则
914  退出
916  返回:cnt
调用者
名称描述
find_poly_rootsd roots of a polynomial, using BTZ algorithm; see the beginning of this* file for details
decode_bchdecode_bch - decode received codeword and find bit error locations*@bch: BCH control structure*@data: received data, ignored if @calc_ecc is provided*@len: data length in bytes, must always be provided*@recv_ecc: received ecc, if NULL then assume it was